Hello mrtools, please edit this indy as i have tried the alert but it does not come up. Thanks in advance
Take a look at this post : https://www.mql5.com/en/forum/180648/page334
That will help you clarify how to set up the indicator in order to get alerts (since the alerts are working OK in that indicator)
Hello Mladen still tried it on two different mt4 platforms yet no alerts. Please kindly look into it to make sure
Samuelkanu, please don't take this in a bad way but was noticing that by default the alerts are off, and its something i've forgotten more than once is to make sure they are on.
Yes mrtools the alerts are off by default but i reset the following parameters and was still getting no alerts:alerts on =true,alerts on current=true,alerts message=true,alerts notification=true,alerts sound=true,alerts email=true. Just dont know what can be wrong
That indicator will never show a dot (and that way alert) on a current bar. It is due to the fact that it looks for future values of +DI and -DI and they will always be 0 for the current bar. Set the alertsOnCurrent to false
Thanks mladen it is working now after changing it
Glad that it is solved
Would you please add the sound and popup alert
Would you please help me to add the sound and popup alert for this indicator? I tried several times, but it’s still not functioning properly.
I’d like to reach that when the price crosses one of the lines let a sound give alarm and one
popup window ( for example: ATR Channels cross (+ or -) 2. line.
Thanks in advance.
ATR Channels - MQL4 Code Base
Dear Mladen. Where is calculateValue for your indicators?