auto equity calculation
-
i made an ea that stops trading after account gained 1% ( equity > value = close trades )
ea will not open trades after target or 18h00 .
what i want to know is ,
how can i tell ea to calculate new equity target for the next day ?
-
You will need a variable that should be reset every day. Then try this:

-
@l-andorrà thank you . but how do i tell it to only do it the next day
-
@jaap One approach would be to do so on the on Timer tab like that (might work on on Tick maybe as well)

-
Another one is resetting that same variable to 0 at the end of every day through a time filter block.