ordini oco in trading sistem

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #191123 quote
    Gabriele Battista
    Participant
    Senior

    e’ possibile inserire un ordine OCO in un un trading sistem: se si verifica  una condizione entro e “cancello” l’altra.

    grazie

    #191160 quote
    robertogozzi
    Moderator
    Master

    E’ automatico, ad ogni candela TUTTI gli ordini ancora pendenti vengono CANCELLATI. Quindi vanno piazzati di nuovo, se t’interessa.

    L’unico caso in cui potrebbero entrare ambedue a mercato (indipendentemente da DEFPARAM CumulateOrders = FALSE) è se, nella stessa candela, sia l’entrata Long che quella Short vengono raggiunte entrambe. In tal caso apre una posizione, poi per un ritracciamento la chiude ed entra nell’altra direzione). Non si può evitare in modo CERTO al 100%, però se tra le due entrate c’è una distanza significativa rispetto al timeframe usato (ad esempio, 40 punti possono essere molti su 1 secondo o anche 1 minuto, ma pochissimi sul giornaliero).

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

ordini oco in trading sistem


ProOrder: Trading Automatico & Backtesting

New Reply
Summary

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

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