When coding an indicator, how can I code it to where it only paints one arrow per directional bias, instead of making multiple buy or sell signals in that one direction?
OR
Is there any way to refrain from painting a signal of the same directional bias within a designated number of candles after the first arrow signal of the same direction has been painted?
(In other words, I'd be okay with it if it painted 2 buy arrows 10 candles apart, but not if they're only 5 candles apart.)
OR
Is there any way to refrain from painting a signal of the same directional bias within a designated number of candles after the first arrow signal of the same direction has been painted?
(In other words, I'd be okay with it if it painted 2 buy arrows 10 candles apart, but not if they're only 5 candles apart.)