How would I state bars 3, 2 had their highs above and lows less than a line but none of these bars were dependent on closing greater or lower than the previous bar? Meaning bar 2 just needs to have a close higher and close lower than a line but shouldn't mean close is greater or lower than previous bar. I can code 2 bars ago to close higher and lower than the line but I don't want the candle to be a specific color. I might still be confusing a lot of folks. The idea is to look for three candles that have their highs above a line and lows below a line but are not dependent on the close of the previous bar. So I can have three red bars meet this condition, 2green bars and 1 red, all green bars etc.
Thank you
Titli

Comment