INVITE-ONLY SCRIPT

Brooks Bar Type: Trend Bar vs Doji (Visual)

14
📊 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.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.