How to stop the expert working in mql4/mql5 language

Viewed 26

Is there an easier way to have 2 experts installed on mt4/mt5 and 1 expert stop the other expert from running?

1 Answers

Easiest way is to use GlobalVariables. Use the expert that will stop the other to set a GlobalVariable. Make the other EA check for the presence of the global variable and if found, it can be set to pause operations.

Related