Hello guys i was wondering whether someone might help me find out how i can make my EA to stop taking trades once a certain condition has been met
how to make bot to stop taking trades after a certain condition has occured
-
Hello guys i was wondering whether someone might help me find out how i can make my EA to stop taking trades once a certain condition has been met
-
I have solved this now i have a new problem how would i restart the bot if a condition has been met
-
@tradingjunkie Usualy you would create a path of blood is for your entry conditions and the order open. You can then switch the first block on or off depending on the conditions to allow taking new trades again.
There is no need to terminate the EA as if you do so, you have to enable it manually again.Typical usage would be a condition block where you allow trading days and trading hours. At the end you'd have a block disabling and one for enabling the trade entry path.