OPEN-SOURCE SCRIPT
Atualizado 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!
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.