Stop loss e Take Profit

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #213639 quote
    Alessandro FurlaniAlessandro Furlani
    Participant
    Senior

    Buonasera a tutti, avrei l’esigenza di settare il Take Profit e lo Stop Loss a valori predefiniti che rappresentano il target calcolato in un indice e passato allo script che fa gli ordini tramite return.

    Le normali istruzioni :

    SET TARGET PROFIT xxx
    SET STOP LOSS yyy

    Non sono funzionali perchè chiedono solo il gap (in pips, percentuale o valuta) tra il prezzo di acquisito ed il target. Io invece voglio passargli proprio il target a cui devono scattare Stop Loss e Take Profit. Come faccio ?

     

    Grazie

    #213654 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Devi usare il prezzo esatto di uscita:

    SET TARGET PRICE xxx
    SET STOP   PRICE yyy
    Alessandro Furlani thanked this post
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

Stop loss e Take Profit


ProOrder: Trading Automatico & Backtesting

New Reply
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
3 years, 5 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 04/23/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...