stop lossl e take profit

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

    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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 FrancoCiccarelli Franco
    Participant
    Senior

    GRAZIE , SEMPRE GENTILISSIMO.

    #214051 quote
    GraHalGraHal
    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.
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 lossl e take profit


ProOrder: Trading Automatico & Backtesting

New Reply
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by GraHalGraHal
3 years, 4 months ago.

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