Any ideas?
You cannot do that withing MQL5 without using some 3rd party API.
hi
" without using some 3rd party API. " ?!!!
what do you mean ?
can you please explain ?
One of recently added features is a possibility of receiving notifications on a mobile device based on iOS or Android.
In you Profile->Contacts, you can find a new field - MetaQuotes ID. Here is its description:
MetaQuotes ID is used to receive messages from MetaQuotes services in
your MetaTrader 5 mobile terminal (currently for iPhone only).
These messages have several benefits against SMS. They are delivered instantly, they are never lost on their way
and they come directly to the MetaTrader 5 mobile terminal installed on your device.
You can download MetaTrader 5 mobile terminal from App Store (iPhone version) or from Google Play (Android version).
In order to obtain MetaQuotes ID, go to the Messages section of your MetaTrader 5 mobile terminal (currently for iPhone only).
In one of the nearest build, a new function for sending notifications will be added to MQL5. So a trader will be able to send notifications to a mobile device from a MQL5 application (EAs or scripts).
The problem with metatrader is that the feature does not yet exist in MT5
I also have the financial calendar results already by notification
Download gammu
http://wammu.eu/download/gammu/win32/
see what command line options it needs(I can't remember, I ended up writing my sms program in C#)
And in metatrader 5 use
#import "shell32.dll"
int ShellExecuteA(int hWnd,int lpVerb,string lpFile,string lpParameters,int lpDirectory,int nCmdShow)
ShellExecuteA(0,0,"gammu.exe","gammu options",SW_SHOW);
Call gammu and pass it parameters
- Michal Čihař
- wammu.eu
And to make it easier use gammu-smsd
http://wammu.eu/docs/pdf/smsd.pdf
Configure gammu as a windows service, it will look for text files in a folder to send as sms and it will read sms from another folder and write them to a text file.
That way you only have to focus on reading/writing files
This required a gsm modem though.
I use a 3g dongle for sms, because they can send and receive.
you can use an old phone as well
thank all

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
hi , every body
i want to write an indicator :
if price reach a value then ,
send SMS to mobile phone
can you please guideline ?
thank you