sell at limit

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10048 quote
    AleX
    Participant
    Senior

    Forse è una domanda banale ma non riesco a trovare soluzione.

    Voglio che se sono long, l’uscita venga fissata al minimo della barra precedente il che mi fa sia da stop che da take profit, e che questa uscita si aggiorni ad ogni barra successiva.

    Ho provato con questo:

    if longonmarket then
     sell 1 contract at low[1] limit
    endif

     

    Ma non funziona affatto come pensavo e le uscite sembrano quasi casuali. Qualcuno sa aiutarmi?

    Grazie

    #10051 quote
    Nicolas
    Keymaster
    Master

    Se vuoi vendere il tuo ordine BUY al di sotto del prezzo effettivo, è necessario utilizzare un ordine STOP e non un LIMIT uno:

    if longonmarket then
     sell at low[1] STOP
    endif
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

sell at limit


ProBuilder: Indicatori & Strumenti Personalizzati

New Reply
Author
author-avatar
AleX @bidolia Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
9 years, 7 months ago.

Topic Details
Forum: ProBuilder: Indicatori & Strumenti Personalizzati
Language: Italian
Started: 06/30/2016
Status: Active
Attachments: No files
Logo Logo
Loading...