Bonjour à tous.
—
Je sollicite votre aide suite à plusieurs recherches infructueuses.
Je suis certain que mon problème pourra aider beaucoup de personnes dans le futur alors je le propose à la communauté afin d’être aidé et qu’il aide d’autres personnes.
—
Pour une prise de position (1 et -1).
Je souhaite par rapport à un capital limiter les pertes déterminées par une variable que je détermine.
capital=somme de départ+gains (réinvestissement).
J’ai qu’il existe une formule “positionperf”… Il faut bien que la perte corresponde à une seule position (non au chiffre de la journée, non au chiffre total des positions fermées).
Par exemple, j’aimerai ajouter ce bout de code dans la stratégie DAX 15mn discuté dans ce forum. Pouvez-vous me corriger? (Je débute)
capital=2000+strategyprofit
IF (capital>6250 AND capital<15625 ) THEN
SET STOP $TRAILING -171
ENDIF
Merci beaucoup par avance de votre aide. 🙂
ENGLISH
—
Good morning all.
–
I seek your help following several unsuccessful searches.
I am sure that my problem will help many people in the future so I offer it to the community for help and help of others.
–
For a position taking (1 and -1).
I wish in relation to a capital to limit the losses determined by a variable that I determine.
capital = starting sum + earnings (reinvestment).
I have that there is a formula “positionperf” … It is necessary that the loss corresponds to only one position (not to the number of the day, not to the total number of closed positions).
For example, I would like to add this piece of code in the DAX 15mn strategy discussed in this forum. Can you correct me? (I begin.)
capital=2000+strategyprofit
IF (capital>6250 AND capital<15625 ) THEN
SET STOP $TRAILING -171
ENDIF
Thank you very much in advance for your help 🙂