You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am developing an EA to take over when signal copying run into trouble. I need to disable the copying to do this but I keep getting error 4060 (Function not confirmed). Below are the lines I used to try it. Any help will be appreciated.
long Flag = SignalInfoGetInteger(SIGNAL_INFO_SUBSCRIPTION_ENABLED);
Alert (Flag);
bool Flag2 = SignalInfoSetInteger(SIGNAL_INFO_SUBSCRIPTION_ENABLED, 0);
Alert ("Flag2 =", Flag2);
Alert ("Error ", GetLastError());