This can be perceived as modified 3 soldiers, relaxed NR4 or even extended harami candlestick pattern. Works for any instrument and any timeframe. The idea is to find out any number of candles having their individual highs and lows, all within high and low range of base candle. The count of soldiers and if they must be of same color, both can be configured. Additional configurable settings is to add further check of having body of soldiers as well within body of base candle. Trading strategy: Trade high or low breakout of base candle, having other as stop loss, for a risk reward ratio of 1:2.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publications is governed by House rules. You can favorite it to use it on a chart.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.