OPEN-SOURCE SCRIPT
ที่อัปเดต: Price Action Indicator

This indicator is based on Price Action
- Trend bar would be filled with Red/Green
- Reversal bar would be tagged
เอกสารเผยแพร่
- Enhance Trend Bar accuracy
- Enhance Reversal Bar accuracy
- Three EMA 20 in 5m, 15m and 60m respectively
เอกสารเผยแพร่
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.
---
เอกสารเผยแพร่
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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน