stop lossl e take profit

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #214040 quote
    Ciccarelli Franco
    Participant
    Junior

    Vi chiedo se quanto in oggetto, conviene metterlo unico alla fine del codice o metterlo uno sul long e uno sullo short e nel secondo casa quali sono le istruzioni.

    Grazie

    #214042 quote
    robertogozzi
    Moderator
    Master

    Non si può dire se è meglio unico in entrambi i casi o distinto, è una scelta personale, io a volte uso un modo, a volte l’altro. Diciamo che forse un pò più spesso lo uso distinto.

    Le istruzioni sono le stesse in ambedue i casi, la differenza la fa DOVE le metti.

    SL e TP unici:

    IF MieCondizioniLong THEN
       BUY AT MARKET
    ENDIF
    IF MieCondizioniShort THEN
       SELLSHORT AT MARKET
    ENDIF
    SET TARGET pPROFIT 100
    SET STOP   pLOSS   50

    SL e TP diversi tra Long e Short:

    IF MieCondizioniLong THEN
       BUY AT MARKET
       SET TARGET pPROFIT 100
       SET STOP   pLOSS   50
    ENDIF
    IF MieCondizioniShort THEN
       SELLSHORT AT MARKET
       SET TARGET pPROFIT 120
       SET STOP   pLOSS   40
    ENDIF
    #214044 quote
    Ciccarelli Franco
    Participant
    Junior

    GRAZIE , SEMPRE GENTILISSIMO.

    #214051 quote
    GraHal
    Participant
    Master

    SL e TP diversi tra Long e Short:

    Il 98% delle volte, uso sopra … Trovo che sopra dia risultati migliori> 75% delle volte (sensazione istintiva, non un’analisi). 

    robertogozzi thanked this post
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

stop lossl e take profit


ProOrder: Trading Automatico & Backtesting

New Reply
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by GraHal
2 years, 9 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 05/03/2023
Status: Active
Attachments: No files
Logo Logo
Loading...