Editing Indicator Alert (or modifying indicator)
Hi all, first time poster.
Looking for some assistance here. I have an indicator (Attached)
Essentially an alert goes off after three consecutive bull or bear candles, provided the price action exceeds the previous close low or high.
What ends up happening, is that the price action of the next candle moves above and below these levels triggering multiple alerts, (which is very obnoxious on a 5 minute chart.)
I am wondering if it is possible to fix this setting so that ideally once the price action breaks the previous H/L close the alert triggers once and is done.
Less ideally would be to negate the current bar price action influence.
Thanks in advance and I look forward to more posting!
| You are triggering on a level | bool isSignal = Bid > somelevel if (isSignal) Alert() // obnoxious |
| Instead trigger on a change of signal: | static bool isSignal = true; bool wasSignal = isSignal; isSignal = Bid > somelevel if(issignal && !wasSignal) Alert() |
Hi all, first time poster.
Looking for some assistance here. I have an indicator (Attached)
Essentially an alert goes off after three consecutive bull or bear candles, provided the price action exceeds the previous close low or high.
What ends up happening, is that the price action of the next candle moves above and below these levels triggering multiple alerts, (which is very obnoxious on a 5 minute chart.)
I am wondering if it is possible to fix this setting so that ideally once the price action breaks the previous H/L close the alert triggers once and is done.
Less ideally would be to negate the current bar price action influence.
Thanks in advance and I look forward to more posting!