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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。