OPEN-SOURCE SCRIPT
Inside / Outside Bars

This indicator highlights Inside Bars and Outside Bars directly on the chart, helping identify consolidation and expansion phases in price action.
Key Features:
Inside Bar Detection
An Inside Bar is a candle whose high and low are fully contained within the range of the previous candle.
This typically signals consolidation, reduced volatility, and potential buildup before a breakout.
Outside Bar Detection
An Outside Bar is a candle whose high is higher than the previous high and whose low is lower than the previous low.
This reflects range expansion, increased volatility, and possible reversal or continuation momentum.
Visual Highlighting
Inside and Outside Bars are clearly marked on the chart with customizable colors, allowing quick recognition without manual analysis.
Clean and Minimal Design
-The indicator is designed to avoid clutter, focusing only on key price action signals.
-Works on Any Market
-Can be applied to crypto, forex, stocks, and indices.
Use Cases:
-Identify breakout setups after consolidation (Inside Bars)
-Spot volatility expansion and potential reversals (Outside Bars)
-Combine with higher timeframe levels and liquidity concepts for improved decision-making
This tool is built for traders who rely on pure price action and want a clear, automated way to track key candle patterns.
Key Features:
Inside Bar Detection
An Inside Bar is a candle whose high and low are fully contained within the range of the previous candle.
This typically signals consolidation, reduced volatility, and potential buildup before a breakout.
Outside Bar Detection
An Outside Bar is a candle whose high is higher than the previous high and whose low is lower than the previous low.
This reflects range expansion, increased volatility, and possible reversal or continuation momentum.
Visual Highlighting
Inside and Outside Bars are clearly marked on the chart with customizable colors, allowing quick recognition without manual analysis.
Clean and Minimal Design
-The indicator is designed to avoid clutter, focusing only on key price action signals.
-Works on Any Market
-Can be applied to crypto, forex, stocks, and indices.
Use Cases:
-Identify breakout setups after consolidation (Inside Bars)
-Spot volatility expansion and potential reversals (Outside Bars)
-Combine with higher timeframe levels and liquidity concepts for improved decision-making
This tool is built for traders who rely on pure price action and want a clear, automated way to track key candle patterns.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.