SuperCharting
Sign in Get started Account Open charts

Order Block Scanner [SuperCharting]

A Pine Script indicator by jayadev.

Finds the last opposite candle before each break of structure and draws it as an order block that extends right. Bull blocks in green, bear blocks in purple, with triangles on the break. Only the most recent blocks are kept so the chart stays clean.

Settings: structure length, blocks to keep, colours. Alerts on bullish and bearish breaks.

Test it free on supercharting.com