OPEN-SOURCE SCRIPT
Zen IB v OB Bar Count v1

Inside/Outside Bar Distribution Tool (Daily Timeframe Research)
✅Description
- Counts inside bars, outside bars, and regular bars on the daily chart.
- Displays total and percentage breakdown.
- Helps traders study price range expansion and daily breakout probabilities.
- This tool is designed for research purposes to support day traders studying daily behavior.
✅ Use Case
Many day traders base their intraday bias on whether the market opens inside or outside the previous day’s range. This tool provides clear historical data on how often price extends beyond the prior day’s range, which may help assess the statistical edge of range breakout trades.
For example, if price opens within yesterday’s high/low, historical data shows that in ~75–80% of cases, price will eventually break out of that range. This has implications for directional bias, risk management, and trade planning.
✅ Important Notes
This tool is for research and educational use only.
It does not generate signals or trade recommendations.
It does not constitute financial advice.
✅ Compliance Statement
It does not issue buy/sell signals, does not recommend trades, and does not promise future performance. It is a research utility to help traders analyze historical price behavior on daily charts.
✅Description
- Counts inside bars, outside bars, and regular bars on the daily chart.
- Displays total and percentage breakdown.
- Helps traders study price range expansion and daily breakout probabilities.
- This tool is designed for research purposes to support day traders studying daily behavior.
✅ Use Case
Many day traders base their intraday bias on whether the market opens inside or outside the previous day’s range. This tool provides clear historical data on how often price extends beyond the prior day’s range, which may help assess the statistical edge of range breakout trades.
For example, if price opens within yesterday’s high/low, historical data shows that in ~75–80% of cases, price will eventually break out of that range. This has implications for directional bias, risk management, and trade planning.
✅ Important Notes
This tool is for research and educational use only.
It does not generate signals or trade recommendations.
It does not constitute financial advice.
✅ Compliance Statement
It does not issue buy/sell signals, does not recommend trades, and does not promise future performance. It is a research utility to help traders analyze historical price behavior on daily charts.
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.