void OnStart() { Print((bool)TerminalInfoInteger(TERMINAL_NOTIFICATIONS_ENABLED)); }


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
Hello,
I am trying to send notifications to smartphone but the terminal on computer says:
"Error. The client terminal does not have permissions to send notifications." it is the print that the test expert gives back after it queries for TerminalInfoInteger(TERMINAL_NOTIFICATIONS_ENABLED).
I think I have set all notifications "allow":
-InSmartphone "Settings/Apps/Metatrader5"
-In Metatrader5 Mobile Settings Notifications On
-on mql5.com website Profile/Security I have put my MQID in the little box and it shows Samsung Phone and I enabled the little bell icon.
What else am I missing?
It is Sunday Afternoon so I am trying it on BTCUSD, because there are Ticks there.
I know in the documentation it says that the function can be withdrawn if you abuse it but I haven't used it for a year and even back then I tried it some times but I never had an issue.
Here is the code, it is derived from the example code script. It even has safeguarding against spamming, as in it allows to send notifications every ten seconds max: