I developed an indicator that draws a dot below a candle (for a long signal) if certain conditions are met.
In case two consecutive candles in a row meet the criteria, I want to avoid that the indicator draws two dots in a row in order to keep my chart clean.
How can I do that? (It comes down to checking if the conditions were met for the prior bar and if they're met again in the current bar, then no dot should be drawn).
Thanks
Comment