conditions de sortie d'un trade valable pendant x periodes

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #78771 quote
    AlexMarlierAlexMarlier
    Participant
    Average

    Bonjour,

     

    Je tente de programmer, sans succès jusqu’à maintenant, une cloture d’un trade en cours:

    -qui se clotura sous la “condition 1” dans les “X” premères périodes

    -au délà de ses “X” première périodes, il se clotura sous la “condition 2”

     

    Un grand merci par avance pour vos contrbutions

    #78799 quote
    NicolasNicolas
    Keymaster
    Legend

    Il faut pour cela enregistrer l’instant (soit le BARINDEX) qui a vu cette condition se produire. Ensuite faire une soustraction entre le BARINDEX courant et cette variable pour ainsi savoir la quantité de chandeliers révolus depuis.

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

conditions de sortie d'un trade valable pendant x periodes


ProOrder : Trading Automatique & Backtests

New Reply
Author
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
8 years, 2 months ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 08/22/2018
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...