rockymount932:
hey, how to add alert on condition of indicators?
thanks for response
I use void function to create an alert
Example
//--
input yes_or_no Enable_Alerts= Yes;
void Alert()
{
double Something=_____
double Something1=_____
if(Something>Something1&&Enable_Alerts==Yes)
{
Alert("BUY NOW");
}
}

Documentation on MQL5: Constants, Enumerations and Structures / Named Constants / Predefined Macro Substitutions
- www.mql5.com
//| Expert initialization function | //| Expert deinitialization function | //| Expert tick function | //| test1 |...
I will try, thanks!

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
hey, how to add alert on condition of indicators?
thanks for response