I want to be able to turn off an EA under certain circumstances.

 

How can you code an EA to turn itself off say after it has exited all trades?


Thanks
C

 
conshus wrote >>

How can you code an EA to turn itself off say after it has exited all trades?

Thanks
C

You have to use some kind of condition i.e. profits, time day, bars etc.

Reason: