Hello,
How can I add an Alert for an indicator ?
Example - I want to receive an email once the Stochastic has reached a certain threshold. (eg: 80 or 20)
Dan
First you need to have a minimum understanding of the MQL5 language.
Then, over the indicator of your choice, read the code and add the SendMail() function wherever you think it is appropriate.
Do not forget to enable the Notifications on your MT5 terminal (TOOLS > OPTIONS > NOTIFICATIONS).
;)
![Documentation on MQL5: Common Functions / SendMail Documentation on MQL5: Common Functions / SendMail](https://c.mql5.com/36/21/documentation-on-mql5-common-functions.png)
- www.mql5.com
First you need to have a minimum understanding of the MQL5 language.
Then, over the indicator of your choice, read the code and add the SendMail() function wherever you think it is appropriate.
Do not forget to enable the Notifications on your MT5 terminal (TOOLS > OPTIONS > NOTIFICATIONS).
;)
Is this also possible with if I am using MT4 ?
Is this also possible with if I am using MT4 ?
Sure! Sorry. Here it is:
;)
![SendMail - Common Functions - MQL4 Reference SendMail - Common Functions - MQL4 Reference](https://c.mql5.com/36/21/sendmail-common-functions-mql4.png)
- docs.mql4.com
Sure! Sorry. Here it is:
;)
thanks.
I'll look into it
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
How can I add an Alert for an indicator ?
Example - I want to receive an email once the Stochastic has reached a certain threshold. (eg: 80 or 20)
Dan