Market structure · Pine Script v6
Downloads —
LIT Framework
Maps liquidity sweeps, breaks of structure, protected swings and candidate order blocks.

Inspired by how UrsusNQ marks up LIT on his yt. It maps liquidity, marks the sweep, and shows where structure breaks back. Short lines, protected swing arcs, and shaded POIs keep the markup tied to price.
What it draws
- A? marks the price span before the sweep. Accumulation can trend or range, so this mark is a visual reference.
- IDM / FBOS marks where price took a tracked liquidity level.
- RBOS starts as a dashed line while the break is pending. It turns solid when a candle closes through the opposing swing.
- PROT H / L marks the protected high or low. It becomes WEAK when price takes the other side of the range.
- Blue and red POI boxes mark candidate order blocks with a dashed 50% line. Full view can also show MSNR and OTE context.
Defaults use 30-minute liquidity and a 3-minute RBOS. Start on a standard 1-minute chart with Minimal view. Settings control labels, prices, pending marks, context, and visible history.
The framework helps you read structure and follow how a sweep develops. It gives no signals.
I personally do not trade LIT, the higher timeframe. So if this isnt accurate, lmk so I can fix it.
