Skip to content
All library documents

Modified Soldiers Pattern for Base-Candle Breakouts

Article TradingView scripts

Summary

This strategy identifies a configurable run of candles whose highs and lows remain inside the range of a preceding base candle. Users can set the run length and require the candles to share a color. An optional filter also requires their real bodies to fit inside the base candle’s body. The indicator marks the setup and proposes entering on a break of the base candle’s high or low, with the opposite boundary used as a stop and a stated 1:2 risk-reward ratio.

The description frames the pattern as related to modified three soldiers, NR4, or an extended harami. Its source code exposes the pattern rules and configurable inputs, but the document supplies no performance results or market-specific evidence. The setup is presented as applicable across instruments and timeframes; that broad claim is not supported by comparative testing here. The signal labels mark both sides of the setup, so execution and validation would require additional interpretation.

Key ideas

  • A configurable number of candles must stay within the preceding base candle’s high-low range.
  • The same-color requirement can be enabled or disabled.
  • A separate option checks whether the soldiers’ bodies fit within the base candle’s body.
  • The described approach trades a breakout of the base candle with the opposite edge as the stop.
  • The document gives no backtest results to establish profitability.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.