OPEN-SOURCE SCRIPT
Aktualisiert Price Action Indicator

This indicator is based on Price Action
- Trend bar would be filled with Red/Green
- Reversal bar would be tagged
Versionshinweise
- Enhance Trend Bar accuracy
- Enhance Reversal Bar accuracy
- Three EMA 20 in 5m, 15m and 60m respectively
Versionshinweise
Al Brooks Price Action Indicator – Bar-by-Bar Analysis for Serious TradersThis indicator faithfully implements the core price action concepts from Al Brooks’ legendary four-book series:
- Reading Price Charts Bar by Bar
- Trading Price Action Trends
- Trading Price Action Ranges
- Trading Price Action Reversals
No moving averages. No oscillators. Just pure bar-by-bar logic — exactly as Al Brooks teaches.
---
Core Features (100% Book-Accurate)
[anchor=trend]Trend Bars (Strong Bull/Bear)[/anchor]
- Close above open (bull) / below open (bear)
- Body ≥ 50% of range (Trends, p.27)
- Closes in top 40% (bull) / bottom 40% (bear) (Trends, p.28)
- Must be 50% larger than average of prior 3 bars → ensures it "stands out" (Trends, p.29)
[anchor=rev]Reversal Bars (Single Bar Reversals)[/anchor]
- Creates new low (bull) / new high (bear) vs prior bar
- Closes in upper half (bull) / lower half (bear) (Reversals, p.312)
- Long tail on reversal side, short tail on close side (Reversals, p.314–315)
- Blocked in trading ranges — only valid when overlap with prior bar ≤ 50% (Ranges, p.112)
[anchor=patterns]Inside/Outside Patterns[/anchor]
- ii: Two inside bars — second smaller than first
- oo: Two outside bars — second larger than first + strong body
- ioi: Inside → Outside → Inside (highlighted with blue polyline)
- Visual polyline boxes connect all bars in pattern
[anchor=ema]Multi-Timeframe EMA 20[/anchor]
- 5m (orange), 15m (teal), 60m (blue) — step lines for context
---
Why This Indicator Is Different
- No EMA filters on bar size — uses relative bar strength (prior 3-bar avg × 1.5)
- No volume, no RSI, no MACD — pure price action
- Reversals disabled in ranges — avoids 70% traps (Ranges, p.89)
- ii/oo/ioi drawn bar-by-bar with polylines — exactly how Al draws on charts
---
How to Use (Al Brooks Style)
- Trend Bar in Trend → Add to position
- Reversal Bar at EMA or Range Extreme → Enter with stop beyond tail
- ii in Pullback → Anticipate continuation
- ioi at Support/Resistance → High-probability reversal setup
---
Settings
- Toggle patterns & reversals
- Adjust label size, line style, fill opacity
- Max consecutive inside/outside bars (2–10)
---
Philosophy
> “Every bar is a battle between buyers and sellers. The shape tells you who won — and how strongly.”
> — Al Brooks, Reading Price Charts Bar by Bar
This indicator doesn’t predict.
It translates the battle — bar by bar — just like Al does.
---
For Serious Traders Only
If you’ve read the books, this is your live annotation tool.
If you haven’t — start with the books. This indicator won’t make sense without them.
---
Versionshinweise
Update NotesTrend Bars now require the bar to be 50% larger than the average range of the prior 3 bars — directly implementing Al Brooks' "stand out" rule (Trends, p.29).
Reversal Bars are disabled inside trading ranges (overlap with prior bar > 50%) — avoids 70% traps as taught in Ranges (p.89, p.112).
Removed volume condition from reversals — volume is helpful but not required (Reversals, p.89).
Reversal logic simplified to single bar only: new extreme, close in opposite half, long tail/short tail — 100% per Reversals (p.312–315).
ii/oo/ioi patterns preserved with bar-by-bar polyline drawing; ioi uses strict size ratios (0.5 / 1.2) as practical extension of Brooks’ "larger/smaller" concept.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.