Yasin İPEK
Yasin İPEK

Reputation: 70

How to stop the expert working in mql4/mql5 language

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

Upvotes: 0

Views: 382

Answers (1)

PaulB
PaulB

Reputation: 1383

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.

Upvotes: 1

Related Questions