DIFERENTE TP PARA CORTOS O LARGOS

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #50370 quote
    deleted_account
    Member
    New

    No se si es sitio adecuado pero como podría poner un take profit diferent para cortos que para largos(si se puede)..gracias

    #50710 quote
    Nicolas
    Keymaster
    Master

    Tema trasladado al foro de trading automática (ProOrder).
    Para establecer un takeprofit diferente y stoploss dependiendo de la dirección de su operación, puede hacerlo de la siguiente manera:

    if longonmarket then 
     set target pprofit 30
     set stop ploss 60
    endif 
    
    if shortonmarket then 
     set target pprofit 50
     set stop ploss 90
    endif
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

DIFERENTE TP PARA CORTOS O LARGOS


ProOrder: Trading Automático y Backtesting

New Reply
Author
Summary

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

Topic Details
Forum: ProOrder: Trading Automático y Backtesting
Language: Spanish
Started: 10/24/2017
Status: Active
Attachments: No files
Logo Logo
Loading...