Order-Breaker Blocks (OBB): Identifying Key Zones

Order-Breaker Blocks (OBB): Identifying Key Zones

Introduction

The Order-Breaker Blocks (OBB) indicator is a tool designed to identify significant areas of institutional interest on a price chart. By detecting critical zones of buying and selling pressure, it helps traders pinpoint potential reversal points and validate trend continuations. These blocks, often referred to as Order Blocks and Breaker Blocks, highlight areas where large market players, like banks or hedge funds, are likely making significant trades.

The OBB indicator aims to provide traders with an effective way to spot these areas, making it a valuable addition to any trading strategy involving price action and key support/resistance levels.

What Are Order Blocks and Breaker Blocks?

Order Blocks are areas where institutional traders have executed large orders, leaving visible footprints in the form of price consolidations or sudden price movements. These areas act as potential zones of support and resistance.

  • Bullish Order Blocks: Represent buying pressure, often formed before an upward move.
  • Bearish Order Blocks: Represent selling pressure, usually occurring before a downward move.

Breaker Blocks, on the other hand, signify the invalidation of a previous order block. When price breaks through an order block, it often signals a shift in market sentiment and potential trend continuation.

How the OBB Indicator Works

The OBB indicator automatically detects and plots bullish and bearish order blocks on the chart and monitors for breakouts through these zones. It uses a combination of swing highs and lows to define key points and validate breakouts, highlighting their status using different colors.

Key Parameters of the Indicator:

  • length: The lookback period to detect swing highs and lows.
  • showBull and showBear: Define how many bullish and bearish order blocks are displayed on the chart.
  • useBody: A boolean setting to decide whether the blocks are calculated using the candle bodies (open/close) or wicks (high/low).

Calculation and Internal Logic

  1. Swing Detection:
    • The indicator scans past bars (based on length) to detect significant highs and lows, identifying swing points (topy for highs, btmy for lows).
    • Once a new swing is detected, the corresponding order block construction begins.
  2. Order Block Construction:
    • For a bullish order block, the indicator identifies the highest and lowest price levels preceding the upward breakout.
    • For a bearish order block, it tracks the key levels preceding the downward breakout.
    • The blocks are stored as rectangles for easy visualization.
  3. Validation of Breakouts:
    • The indicator checks whether price breaks through the upper or lower bounds of the order block.
    • If the block is broken, it changes color to represent the breakout’s direction and significance.
  4. Graphical Representation:
    • The blocks are drawn on the chart using drawrectangle, with different colors indicating the block’s current status.
    • Colors include:
      • Blue/orange: Active order blocks.
      • Green: Bullish breakout.
      • Red: Bearish breakout.
      • Yellow: Uncertain state (inside the block).

Indicator Customization

The OBB indicator is fully customizable, allowing traders to adapt it to various trading styles:

  • length: A short length (e.g., 5–10) is suitable for intraday traders, while a longer length (e.g., 20–50) may benefit swing traders.
  • showBull and showBear: Adjust these parameters to control how many historical order blocks are displayed.
  • useBody: Enable this option for more conservative setups by focusing on candle bodies instead of wicks.

Trading Strategies Using the OBB Indicator

  1. Reversal Trades:
    • Look for price rejection at a bullish or bearish order block, confirming the zone’s validity as support or resistance.
    • Enter trades in the direction of the reversal with a stop loss placed just outside the block.
  2. Breakout Continuation:
    • Use breakouts through order blocks as signals of a potential trend continuation.
    • For bullish breakouts, consider long positions, and for bearish breakouts, short positions may be appropriate.

Advantages and Limitations of the OBB Indicator

Advantages:

  • Identifies key zones of price action that reflect institutional interest.
  • Visually clear and intuitive representation of support and resistance.
  • Helps distinguish between valid and invalid breakouts.

Limitations:

  • The effectiveness can be sensitive to the chosen length parameter.
  • Requires additional validation with other indicators (e.g., volume, trend filters).

ProBuilder Code for the OBB Indicator

Conclusion

The Order-Breaker Blocks (OBB) indicator provides traders with a systematic approach to identifying and validating key zones of institutional buying and selling. By combining order blocks and breaker blocks with customizable parameters, traders can better interpret market movements and optimize their trading strategies. As always, it is recommended to test the indicator in simulated environments before applying it in live trading.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. Stenozar • 42 days ago #

    Ciao Ivan, mi dice errore interno linea 1, ordine sconosciuto. Come posso risolvere?

    • Iván • 39 days ago #

      Ciao, forse è perché hai la versione V11 e non la V12?
      Se è così, nelle righe in cui ti viene chiesto di disegnare un rettangolo rimuovi la parte che dice “fillcolor(”colore“)”.

  2. Ciccarelli Franco • 41 days ago #

    I tuoi indicatori sono sempre molto interessanti, al riguardo ti chiedo chiarimenti: I colori delle barre sono misti e non singoli come da te descritti, inoltre lo trovo simile al PRC INVERSION FAIR VALUE CAP , mi puoi indicare le differenze?

  3. Iván • 39 days ago #

    Salve, grazie.
    I colori cambiano a seconda della posizione del prezzo e se ha superato il livello contrassegnato.
    La differenza con l’indicatore precedente è il calcolo del “order block”. Non ha nulla a che fare…

  4. okeus • 37 days ago #

    Ciao Ivan, sia su questo indicatore che su quello precedente mi dice come errore “ciclo infinito o troppe interazioni” come posso risolvere, grazie

    • Iván • 37 days ago #

      È possibile che siano state caricate troppe barre nel grafico.

  5. NicoGB67 • 37 days ago #

    Hola Iván, en primer lugar agradecerte el trabajo que haces, y comentarte algo sobre este indicador, nos es muy parecido al que publicaste hace 6 meses SMC, (dinero inteligente)?, si te tuvieras que quedar con uno de los dos?, y hay alguna posibilidad de poder usar en él proScreener alcista y bajista?, gracias

  6. okeus • 37 days ago #

    ok fatto avevi ragione, grazie

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Trading_En_El_Ibex35 Para calcular el punto pivote y los niveles de soporte y resistencia para operar durante la ...
supertiti Hola mis disculpas, creia que tu eres Jose Antonio Madrigal ! gracias por las explicaci...
Trading_En_El_Ibex35 espero que las explicaciones te hayan sido de ayuda saludos
Paul Thanks for posting. I was currently searching how to improve day-trading based on support an...
Jessar Könntest du im Forum etwas öffnen und später darüber zu sprechen?
arahussein Hi All, I am new to trading and i find this indicator very logicail! Hence my (dumb?) quest...
juju333 Merci Nicolas, j'utilisais avec bonheur ce code dans la 10.3, il ne tourne plus dans la v11....
Nicolas Remplacer les lignes 11 et par 12 avec: yearlyHigh = Highest[max(1,BarIndex - lastYearBarI...
juju333 merci !!!
rajiwas Hello Nicolas, With Daily Pivot, it easy for me to show current day pivot e.g. if Date = T...
Nicolas You'll find many other pivots points indicators in the library, just use the search box of t...
rajiwas Thanks for the suggestion.
Doctrading Thanks, man !
rajiwas How is it possible to add currentWeekHigh and currentWeekLow, currentWeekOpen and currentWee...
Takeshi Totally don't match the PRT basic pivots on weekly
Grantx When I add this code, the indicator appears in the panel below price. How do I get it to dis...
Patrik72 Hello, thank you very much for the great indicator. One question, is it possible just have l...
datageek is it possible to add Mid pivot points (midR1 and MidS1)?

Top