Bonjour,
J’aimerais avoir le code permettant de changer mon stoploss quand ma position open<close
c’est à dire le bloquer à 0 s’il devient positif, ( pour pas qu’il puisse redevenir négatif).
Merci pour votre aide.
IF c1 and c2 and c3 and c4 and timeEnterBefore AND timeEnterAfter AND not daysForbiddenEntry THEN
BUY 1 CONTRACT AT MARKET
ENDIF
// Stops et objectifs
SET STOP pLOSS 135
SET TARGET pPROFIT 36
if open<close then
set target ploss 0
endif