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提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。