Consolidation and Breakout (Inside Bars)

Consolidation indicates moments of market indecision when there is no shift in price. It is neither positive nor negative. Usually, after a price burst or strong trend movement that market falls back into a phase when traders are cautious about possible overbought or oversold positions. During this period, market reconciles before another breakout or trend emerges. Once you have identified consolidation, the next step is to keep an eye on a possible breakout.

This indicator would be useful for Breakout traders.

A candle's high and low is marked and if consequent candle fails to close above or below the marked candle, it's considered as an inside bar.

This can help breakout traders in tackling fakeouts since the wick above or below the initial candle are neglected and only the candle close above or below the range are considered as breakout.

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 a publication 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.

Want to use this script on a chart?