OPEN-SOURCE SCRIPT

Inside Bar/Outside Bar/Mother Bar Box By SmartTrader888

This Indicator shows:
1. Inside Bar
2. Outside Bar
3. Mother Bar box (Box the mother bar and all subsequent inside bars)

This indicator handles correctly the edge conditions such as:
1. bar close = bar open
2. current bar low equals to mother bar low or current bar high equals mother bar high
Candlestick analysisInside Barmotherbaroutsidebar

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