//if (IsIndicatorPeak(shift) && TimeStamp != Time [ 0 ]) if (shift==1 && IsIndicatorPeak(shift) && TimeStamp != Time [ 0 ]) { ......... }
Since these alerts were issued in response to past data, I corrected it to sound only with the latest confirmed candle.
Naguisa Unada:
Since the alerts were issued in response to past data, I corrected it to sound only with the latest confirmed candle.
This works!!! 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
Why when I use this code to sound an alert it behaves okay and sounds only when the statement is true.
But when I use this 2nd code it displays an alert on chart as soon as its placed onto chart?