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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。