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が提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。