INVITE-ONLY SCRIPT
Brooks Bar Type: Trend Bar vs Doji (Visual)

📊 Brooks-Style Bar Classification (Trend Bar vs Doji)
This indicator visually classifies every candlestick into Trend Bars and Doji Bars, inspired by classic bar-by-bar price action reading.
Instead of memorizing candle names or relying on indicators, it focuses on what matters most:
who controlled the bar — buyers, sellers, or neither.
🔍 What the Indicator Shows
✅ Trend Bars
Bars showing directional conviction:
Large body relative to the full range
Close near the high (bullish) or near the low (bearish)
Visuals
🟢 Green candles → Bull trend bars
🔴 Red candles → Bear trend bars
Triangle markers highlight trend bars
These bars suggest momentum and follow-through potential.
⚪ Doji Bars
Bars showing indecision or balance:
Small body relative to the total range
Often overlapping with surrounding bars
Visuals
⚪ Gray candles
“D” marker above the bar
A doji does not mean reversal by default — it signals uncertainty or pause, especially important inside ranges or before breakouts.
🟨 Doji Clusters (Compression)
When multiple doji bars appear within a short lookback window, the background is highlighted:
🟨 Yellow background = price compression
Common before breakouts or failed breakout attempts
This helps identify trading ranges vs trending conditions at a glance.
⚙️ Key Inputs
Doji body % – controls how small a body must be to count as a doji
Trend bar body % – minimum body size for trend bars
Close near extreme % – how close price must close to high/low
ATR filter (optional) – ignore insignificant bars
Doji cluster settings – control compression detection
All parameters are adjustable to fit stocks, forex, or crypto, across any timeframe.
🎯 How to Use It
Trade with trend bars, not against them
Expect pauses, not reversals, after dojis in strong trends
Watch doji clusters for upcoming expansion
Combine with support/resistance, market structure, or higher-timeframe context
This indicator is not a signal generator — it is a decision-support tool for traders who read price action seriously.
🧠 Philosophy
“Most bars are noise. The skill is knowing when they are not.”
This tool is designed to train your eye to read charts bar by bar, focusing on probability, not prediction.
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
It does not provide financial advice or trade signals.
Always manage risk appropriately.
This indicator visually classifies every candlestick into Trend Bars and Doji Bars, inspired by classic bar-by-bar price action reading.
Instead of memorizing candle names or relying on indicators, it focuses on what matters most:
who controlled the bar — buyers, sellers, or neither.
🔍 What the Indicator Shows
✅ Trend Bars
Bars showing directional conviction:
Large body relative to the full range
Close near the high (bullish) or near the low (bearish)
Visuals
🟢 Green candles → Bull trend bars
🔴 Red candles → Bear trend bars
Triangle markers highlight trend bars
These bars suggest momentum and follow-through potential.
⚪ Doji Bars
Bars showing indecision or balance:
Small body relative to the total range
Often overlapping with surrounding bars
Visuals
⚪ Gray candles
“D” marker above the bar
A doji does not mean reversal by default — it signals uncertainty or pause, especially important inside ranges or before breakouts.
🟨 Doji Clusters (Compression)
When multiple doji bars appear within a short lookback window, the background is highlighted:
🟨 Yellow background = price compression
Common before breakouts or failed breakout attempts
This helps identify trading ranges vs trending conditions at a glance.
⚙️ Key Inputs
Doji body % – controls how small a body must be to count as a doji
Trend bar body % – minimum body size for trend bars
Close near extreme % – how close price must close to high/low
ATR filter (optional) – ignore insignificant bars
Doji cluster settings – control compression detection
All parameters are adjustable to fit stocks, forex, or crypto, across any timeframe.
🎯 How to Use It
Trade with trend bars, not against them
Expect pauses, not reversals, after dojis in strong trends
Watch doji clusters for upcoming expansion
Combine with support/resistance, market structure, or higher-timeframe context
This indicator is not a signal generator — it is a decision-support tool for traders who read price action seriously.
🧠 Philosophy
“Most bars are noise. The skill is knowing when they are not.”
This tool is designed to train your eye to read charts bar by bar, focusing on probability, not prediction.
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
It does not provide financial advice or trade signals.
Always manage risk appropriately.
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系luaysakr。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Thanks for your interest! This script is invite-only.
To request access, please comment on this script with:
your TradingView username
the market & timeframe you’ll use (e.g., BTC 15m / SPY 1D)
how you plan to use it (training / analysis / trading plan
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系luaysakr。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
Thanks for your interest! This script is invite-only.
To request access, please comment on this script with:
your TradingView username
the market & timeframe you’ll use (e.g., BTC 15m / SPY 1D)
how you plan to use it (training / analysis / trading plan
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。