Devo inserire correttamente Stop Loss e Target Profit

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #110585 quote
    cripto
    Participant
    Junior

    nel grafico  si evince che entrano in accumulo tutti gli ordini (vedi settore che riguarda le posizioni in crescita) non chiude nessuna operazione

     

    invece inserendo AND NOT ONMARKET  fa solo una operazione

    avresti tempo di testarlo anche sulla tua PRT? magari la mia non va!

    DAX-4-Ore-2.png DAX-4-Ore-2.png
    #110593 quote
    robertogozzi
    Moderator
    Master

    E’ alle righe 15 e 16, perché tu indichi un prezzo, mentre va indicata un DIFFERENZA di prezzo. ProOrder non accetta un prezzo, come hai messo tu, ma una differenza, in prezzo se usi LOSS e PROFIT come hai fatto tu, in pips se usi PLOSS e PPROFIT.

    Cambia le righe 15 e 16 così:

    SET STOP   LOSS   abs((high + 1 * pipsize) - stoptrade)
    SET TARGET PROFIT abs((high + 1 * pipsize) - profitbuy)
    #110673 quote
    cripto
    Participant
    Junior

    🙂 grazie Roberto, con questa modifica che mi hai scritto ora gira perfettamente, non ci sarei mai arrivato da solo…

    grazie ancora

    Paolo

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

Devo inserire correttamente Stop Loss e Target Profit


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
cripto @cripto Participant
Summary

This topic contains 17 replies,
has 3 voices, and was last updated by cripto
6 years, 3 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 10/17/2019
Status: Active
Attachments: 3 files
Logo Logo
Loading...