come posso limitare il numero delle posizioni aperte a mercato?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #86384 quote
    davidx78davidx78
    Participant
    New

    Buongiorno a tutti , volevo chiedere un aiuto poichè ho riscontrato la seguente difficoltà:

    impostata la strategia, quando si verificano le condizioni di entrata long o short, il sistema mi apre più posizioni, come posso limitare il numero massimo di posizioni aperte a mercato per andare in backtest? c’è un codice che posso inserire in fase di creazione del sistema di trading?  grazie ,

    David

    #86411 quote
    NicolasNicolas
    Keymaster
    Legend

    Aggiungi questa riga nella parte superiore del tuo codice:

    defparam cumulateorders=false

    Impedirà al sistema di aggiungere più di 1 ordine allo stesso tempo e per la stessa strategia.

    davidx78 thanked this post
    #86447 quote
    davidx78davidx78
    Participant
    New

    ok grazie Nicolas provo a vedere come si comporta  🙂

Viewing 3 posts - 1 through 3 (of 3 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

come posso limitare il numero delle posizioni aperte a mercato?


ProOrder: Trading Automatico & Backtesting

New Reply
Author
author-avatar
davidx78 @davidx78 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by davidx78davidx78
7 years, 10 months ago.

Topic Details
Forum: ProOrder: Trading Automatico & Backtesting
Language: Italian
Started: 12/06/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...