OPEN-SOURCE SCRIPT
Updated

Order Blocks

113 242
This is experimental Indicator is to help identifying Order Blocks.

It uses not confirmed higher order pivots as Higher Highs (HH) and Lower Lows (LL), finds high/lows that created most recent LL/HH and in case if this high/low are broken it notes candle that broke structure, market structure broke line (MSB) and demand box (candle that created liquidity for the move that broke structure).

Concepts and parts of code used in this study:
1) rumpypumpydumpy - Higher Order Pivots
tradingview.com/v/x2LlRvBe/
2) MarkMiddleton2020 - Order Blocks
tradingview.com/v/GecN34Qq/
Release Notes
- added labels for pivots
- added ability to select the msb trigger - close&open or high&low

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.