Limiter nombres de positions proorder

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #113132 quote
    Julien SoulaliouJulien Soulaliou
    Participant
    New

    Bonjour Nicolas

     

    Petite question :

    Peut-on  limiter le nombre de position avec un système de  trading automatique simplifié ?

     

    Cordialement

    Julien

    #113136 quote
    NicolasNicolas
    Keymaster
    Legend

    Pas à ma connaissance, il faudra le coder. Limiter le nombre de positions à une période donnée ou .. ?

    #113971 quote
    Julian Arias LopezJulian Arias Lopez
    Participant
    Average

    Hello,

    je voulais savoir si il était possible d’avoir un code avec un

    defparam cumulateorders = true

    et dans le même temps limiter le nombre de position maximum cumulées a 10 disons?

    Merci d’avance 🙂

    #113984 quote
    NicolasNicolas
    Keymaster
    Legend

    Oui, il faut faire un test avec COUNTOFPOSITION par exemple:

    if abs(COUNTOFPOSITION) <= 10 then 
     //orders
    endif
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

Limiter nombres de positions proorder


ProOrder : Trading Automatique & Backtests

New Reply
Author
Summary

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

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 11/19/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...