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 • 2 days ago #

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

  2. Ciccarelli Franco • 2 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?

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Iván
3 months ago
Madrosat Bonjour Ivan je ne sais pas si je dois écrire en Français ,anglais ,espagnol ,il y a les 3 ...
Iván Bonjour, la vérité est que ce n'est pas aussi facile qu'il n'y paraît.... Un indicateur peut...
Madrosat Merci Ivan j'espère que ce jour viendra bientôt , je sais que ce n'est pas facile car les in...
adeelq79 Hi Ivan, thank you for this indicator. Is it possible to include the volume of buys and sell...
achel J'ai la même erreur sur ligne 1 avec une importation dans les règles de l'art. Comment faire?
Iván Cela est probablement dû au fait que vous avez une ancienne version de l'outillage. Vérifi...
Razz Hello, thank you for your indicator. Can you please tell me how I can change the text size,...
Iván Hi! you have all information about it here (https://www.prorealcode.com/documentation/drawte...
Miro Mis felicitaciones por este indicador. Funciona muy bien en el corto plazo. Gracias gracias ...
Ciccarelli Franco Ciao Ivan, ti faccio ancora una domanda e precisamente "Quanti blocchi visualizzare per aver...
Iván Buongiorno. In genere lavoro con la configurazione predefinita, 3 supporti e 3 resistenze, ...
Dron Gracias por su valiosa aportacion
Iván
10 months ago
Iván Hi, Sorry, but what do you mean?
luiskohnen Hola, queria saber si el indicador repinta, porque a mi me parecio que si. Saludos y gracias...
Diamant Bonsoir, L'un d'entre vous peut-il me donner les définissions de LL-HH-LH et HL. Merci d'av...
MrMagic This is amazing work. Well done, Ivan!
Regisnew Bonjour Ivan serait il possible de proposer un screener pour détecter les zones de support v...
lee Thank you!
Iván Hi We could find stocks with sweep on: //PRC_Sweep Institucional //version = 0 //28.0...
inverse Like the way you think Ivan ... :)
ar Bonjour Ivan et merci pour ton partage, Est-il possible d'avoir ce code en ITF
pintris Hi, same request. Could someone help in creating a screener for this great indicator that sc...
gaby IDE merci beaucoup, je l'ai mais il se place en bas avec le rsi, comment le placer au dessus sur...
Dron Gracias
YvesRobert Hi smp, how should I configure this indicator because everything is at zero -> High, Clos...
smp Hi, this is an end of day pivots indicator, so you need to find the end of day pivot info; t...
YvesRobert Thank you smp.
smp I also have an End Of Day (EOD) cash pivot indicator for use on cash markets; this indicator...
cdc.andersson Hej! Jag försöker lära mig att koda PRT. Jag vill testa en strategi med RSI-värde, ATR-värde...
Swingforfortune Du kan väl jämföra om open > close (röd) eller open < close (grön)
IV Mcm I don't speak English and the translation is not clear. Do you have a different turn of ...
IV Mcm stonk ?
avatar
Anonymous Thanks very much for sharing, look forward to testing this idea out.
Noobywan (My apologies for unformatted code, the formatting only works in forum or library posts not ...
Noobywan Hi FXTT, no problem for requests (as long as no one requests me singing), just usually it’s ...
JC_Bywan Bug fix at line 38, should be: if changebarre or (opentime[1]=start) then (same as in ...
Nicolas Oui le code est correct et il fonctionne, j'ai de bons résultats sur la liste NASDAQ par exe...
pincherman Bonjour :-) J'ai coller le script dans prorealtime pour jouer avec le supertrend et j'ai un...
Nicolas Vous l'avez sans doute collé au mauvais endroit, dans l'éditeur de code pour les stratégies,...
Bard Very interesting approach Vonasi! I'm getting a 404 error when trying to download though?
Vonasi I just tested and I was able to download with no error.
Psari Hi Vonasi, I am a newbie and was wondering whether you could possibly help me with this pro...
Juanjo Hola?. Exactamente cuál es su utilización?.
bolsatrilera Hola Juanjo, su principio esparecido a las bandas de Bollinguer.Las lineas de las bandas son...
Vonasi The indicator code can easily be adapted for use as a filter in strategies as well. For exam...
AVT Tested today in manual DAX trading (transcripted to MT and changed look into aka oszillator)...
Vonasi I think that short time frame charts will be too noisy for this indicator. One blue bar real...
Vonasi I forgot to mention in the description that Sunday pivot lines are ignored and Monday's pivo...
AVT Like that, simple and clear!
Vonasi Thanks AVT. I like simple - some people would say that I do simple very well! Sometimes you ...
Nicolas Please open a new forum topic, and respect the posting rules. Add a precise description of w...
FXTT ok will do, apologies, as I said I am new here. many thanks
Noobywan Version v2 including requested additions: https://www.prorealcode.com/prorealtime-indicators...

Top