Kuna Shoo / Publications
Forum
MQL5 EA lifecycle ordering during account change/reconnect
We need clarification on the documented ordering guarantees for an already-running Expert Advisor when the trading account changes or a REASON_ACCOUNT reconnect occurs. Assume an EA uses a two-event protocol: Event handler A: - reads AccountInfo*/TerminalInfo* data - prepares a response in private