Impostazione stop loss e target

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19934 quote
    Luigi5192Luigi5192
    Participant
    Average

    Salve a tutti, avrei bisogno di un’aiuto nella configurazione dello stop loss e target.

    Vorrei mettere uno stop loss sotto la candela precedende + 3 pips, è un target che è ugauale a: max della candela precedente + 3 volte la differenza tra il max e min della candela precedente.

    come dovrei impostare il codice affinchè avrò questa situazione?

    #20060 quote
    NicolasNicolas
    Keymaster
    Legend

    Per impostare un StopLoss 3 punti al di sotto della candela precedente, questo è il codice:

    set stop loss (close-low[1])+3*pointsize

    Ma questa linea deve essere integrata nella condizione che lanciare l’ordine, in caso contrario, il stoploss sarà cambiato ogni nuova candela.

    Circa le dimensioni di destinazione, qui è il calcolo corretto:

    set target profit range*3

    Ancora una volta deve essere integrata nella condizione di dichiarazione che initiliaze il trade.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

Impostazione stop loss e target


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
Luigi5192 @luigi5192 Participant
Summary

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

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 01/05/2017
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...