OPEN-SOURCE SCRIPT
ที่อัปเดต: Order Block Support Resistance Candle by Algedo

ORDER BLOCK CANDLE BY ALGEDO
This indicator is built to help you spot potential support & resistance areas using order blocks with impulse candles.
---------------------------------------------------------------------------------------------------
CORE IDEA
The logic starts from a basic assumption:
That’s why this indicator filters only strong momentum candles (impulse) using ATR.
Only candles with enough strength are considered relevant.
Once a valid impulse candle is found, the area is marked visually as a zone (box) on the chart.
Wick also plays an important role here.
The indicator identifies valid highest and lowest wicks using pivot logic.
These wicks often act as key resistance and support levels.

HOW IT WORKS

FEATURES :

HOW TO USE
---------------------------------------------------------------------------------------------------
NOTES
Use this as a supporting and educational tool, not your only decision maker.
Hope it helps 🙌
Feel free to drop a comment if you have questions or feedback!
This indicator is built to help you spot potential support & resistance areas using order blocks with impulse candles.
---------------------------------------------------------------------------------------------------
CORE IDEA
The logic starts from a basic assumption:
- Every bullish candle can act as a bearish order block
- Every bearish candle can act as a bullish order block
That’s why this indicator filters only strong momentum candles (impulse) using ATR.
Only candles with enough strength are considered relevant.
Once a valid impulse candle is found, the area is marked visually as a zone (box) on the chart.
Wick also plays an important role here.
The indicator identifies valid highest and lowest wicks using pivot logic.
These wicks often act as key resistance and support levels.
HOW IT WORKS
- Detects impulse candles using ATR: (high - low) ≥ ATR × multiplier
- Looks back at previous consecutive bear/bull candle, to define the order block zone
- Builds support & resistance zones :
- Extend to the right (optional)
- Adjust when price interacts with it
- Automatically disappear once the level is broken
FEATURES :
- ATR Period : Controls the ATR calculation length
- ATR Multiply : Defines how strong a candle needs to be to count as an impulse
- Pivot Left : Number of candles to the left to determine local highs/lows
- Pivot Right : for high/low wick validation
- Extend Active Zone : Keeps zones extending while they are still valid
- Show Impulse Candle : Highlights impulse candles directly on the chart
HOW TO USE
- Identify key support & resistance levels
- Find potential reaction or reversal areas
- Add confluence to your strategy (price action, SMC, etc.)
---------------------------------------------------------------------------------------------------
NOTES
Use this as a supporting and educational tool, not your only decision maker.
Hope it helps 🙌
Feel free to drop a comment if you have questions or feedback!
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน