How to stop the expert working in mql4/mql5 language
How to stop the expert working in mql4/mql5 language
Loading saved threads...
Yasin İPEK · External communityPost link
External question — Stack Overflow Stack Exchange
Author: Yasin İPEK
Original post: https://stackoverflow.com/questions/73632264
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
Is there an easier way to have 2 experts installed on mt4/mt5 and 1 expert stop the other expert from running?
Quote
Report
PaulB · External communityPost link
External answer — Stack Overflow Stack Exchange
Author: PaulB
Original post: https://stackoverflow.com/a/73651447
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
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.
Quote
Report
Post Reply
Quoted from Forex.com.bd-Editorial External answer — Stack Overflow Stack Exchange Author: PaulB Source score (net votes, not local likes): 1 Original post: https://stackoverflow.com/a/73651447 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. 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.
Checking account access…