dimo70: Hi, wenn I test sending a notfication from my MT5 Terminal on Windows to my mobile MT5 on Android, it works without problems. When I try this via mql5 code, I get 4014 error code. Does anyone have idea where the problem is? [ . . . ]
I never tested it in a MT5 EA, but the function works fine in an mql5 indicator
Hi
When you use this function on mql5, you need to still have all data for mobile version set in te platform tools window and you need to have allow sending those notifications on the mt5 (Enable push notifications on the Options window (Notifications tab).
Have a nice weekend
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
Hi,
wenn I test sending a notfication from my MT5 Terminal on Windows to my mobile MT5 on Android, it works without problems. When I try this via mql5 code, I get 4014 error code. Does anyone have idea where the problem is?
MQL5 code:
bool result = SendNotification("test");
if (result) Print ("notification sent");
else {
int error_code = GetLastError();
Print ("notification failed ", error_code);
}
Thanks in advance.
Dimo