% Daily profit achieved .. EA disactivate
-
starting from broker server time till end day ... if EA achieved 3% of account balance when EA start operated at beginning of server broker time .. EA will deactivate till next day
lets say .. when server broker time is 00:00 .. at this time account balance was 500$
EA will operate normally till achieved 3% of same account balance at early server broker time which is 500$ .. when target % achieved will disactivate till next day
is there a way to have such a condition ?
thanks alot in advance
-

as per attached picture ,, EA achieved more than 3% of account balance .. i need EA to deactivate after that till next day
( check profit period of time block ) looks more close to the solution but how to apply the connection
thanks in advance
-

-
@saeed-2 You can use a boolean variable. By default its value is false. When the EA hits is profit target move it to true. Then you use a new condition block above both buy/sell block trees where the variable needs to be false. Finally reinitialize the variable to false at teh beginning of every day.
-
i will try to do that .. thanks man you are alwyz here to assist everyone
-
@saeed-2 You're welcome.