cryptadels:
Good day gurus, pls am trying to design a signal indicator but seems not giving desire result.
It only shows the arrow on the chart, it doesn't popup alert at current price.
Kindly help me out. Thanks
Change this code
if(i == 0 && Time[0] != time_alert) { myAlert("signal", "Buy"); time_alert = Time[0]; }
to
if(Time[i] != time_alert) { myAlert("signal", "Buy"); time_alert = Time[i]; } // this is only for buy signal and for sell signal please replace itu your self
Roberto Jacobs:
Change this code
to
Thanks for your response.
After changing the code as instructed, it actually gives popup alert but it the alerts are messed up. Instead of given alert once par bar, it gives on those previous one concurrently.
Files:
if(i == 0You are alerting on bar zero (the forming one.) Why do you think you wouldn't get an alert per tick?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Good day gurus, pls am trying to design a signal indicator but seems not giving desire result.
It only shows the arrow on the chart, it doesn't popup alert at current price.
Kindly help me out. Thanks