OPEN-SOURCE SCRIPT

Soldiers Pattern Modified

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.
breakoutbreakoutsignalbreakouttradingCandlestick Analysishighlowtrading

Open-source script

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer