Brooks Bar Type: Trend Bar vs Doji (Visual)

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.
Script sur invitation seulement
Seuls les utilisateurs approuvés par l'auteur peuvent accéder à ce script. Vous devrez demander et obtenir l'autorisation pour l'utiliser. Celle-ci est généralement accordée après paiement. Pour plus de détails, suivez les instructions de l'auteur ci-dessous ou contactez directement luaysakr.
TradingView ne recommande PAS d'acheter ou d'utiliser un script à moins que vous ne fassiez entièrement confiance à son auteur et que vous compreniez son fonctionnement. Vous pouvez également trouver des alternatives gratuites et open source dans nos scripts communautaires.
Instructions de l'auteur
Clause de non-responsabilité
Script sur invitation seulement
Seuls les utilisateurs approuvés par l'auteur peuvent accéder à ce script. Vous devrez demander et obtenir l'autorisation pour l'utiliser. Celle-ci est généralement accordée après paiement. Pour plus de détails, suivez les instructions de l'auteur ci-dessous ou contactez directement luaysakr.
TradingView ne recommande PAS d'acheter ou d'utiliser un script à moins que vous ne fassiez entièrement confiance à son auteur et que vous compreniez son fonctionnement. Vous pouvez également trouver des alternatives gratuites et open source dans nos scripts communautaires.