Event on changing server? - page 2

 
DeepThought:

You can check it anywhere, but I am sure you will never see REASON_ACCOUNT in indicators. This bug has been sitting there since I remember the MT4. I am surprised it is discussed for the first time in years, probably not many indicators depend on the server data directly.


Yep, I didn't check that.

:(

Here's the workaround, assign the account number to MT Global Variable and then later we can compare it again.