OPEN-SOURCE SCRIPT
Structural Liquidity Framework (Corrected Box Final)

Structural Liquidity Framework (SLF) is an original market structure and liquidity indicator designed to help traders identify high-probability reversal and continuation setups using external (higher-timeframe) structures. It combines concepts from market structure shifts (BOS/CHOCH), order blocks, and inducements, providing a clear framework for pullback entries and institutional-style analysis.
Key Features and Logic:
External Structure (HTF)
Uses a configurable number of candles (default 500) to define high and low boundaries.
Helps identify long-term support/resistance and the overall market bias.
Break of Structure (BOS)
Detects shifts in structure: bullish BOS occurs when price breaks above the high of the external range; bearish BOS occurs when price breaks below the low.
Change of Character (CHOCH)
Highlights the first reversal movement that signals a potential market bias change.
Visualized directly on the chart for easy identification.
Order Blocks
Identifies the last opposing candle before a BOS as a potential institutional order block.
Bullish order block: last bearish candle before bullish BOS.
Bearish order block: last bullish candle before bearish BOS.
Inducement Markers
Highlights failed break attempts or liquidity grabs (spikes beyond structure with a reversal) to anticipate potential traps set by larger market participants.
Entry Signals
Pullback entries are plotted when price interacts with the identified order blocks in the direction of the external structure.
Prevents premature entries and filters false breaks.
How to Use:
Observe the external structure range for the current bias.
Watch for BOS and CHOCH signals to detect potential shifts.
Look for bullish or bearish order blocks as zones of interest for pullback entries.
Use inducement markers to confirm the potential trap and entry.
Enter trades when price respects the order block in the direction of the external bias.
This indicator is designed for higher-timeframe structural analysis, making it suitable for traders seeking institutional-style confirmations on any timeframe chart.
Key Features and Logic:
External Structure (HTF)
Uses a configurable number of candles (default 500) to define high and low boundaries.
Helps identify long-term support/resistance and the overall market bias.
Break of Structure (BOS)
Detects shifts in structure: bullish BOS occurs when price breaks above the high of the external range; bearish BOS occurs when price breaks below the low.
Change of Character (CHOCH)
Highlights the first reversal movement that signals a potential market bias change.
Visualized directly on the chart for easy identification.
Order Blocks
Identifies the last opposing candle before a BOS as a potential institutional order block.
Bullish order block: last bearish candle before bullish BOS.
Bearish order block: last bullish candle before bearish BOS.
Inducement Markers
Highlights failed break attempts or liquidity grabs (spikes beyond structure with a reversal) to anticipate potential traps set by larger market participants.
Entry Signals
Pullback entries are plotted when price interacts with the identified order blocks in the direction of the external structure.
Prevents premature entries and filters false breaks.
How to Use:
Observe the external structure range for the current bias.
Watch for BOS and CHOCH signals to detect potential shifts.
Look for bullish or bearish order blocks as zones of interest for pullback entries.
Use inducement markers to confirm the potential trap and entry.
Enter trades when price respects the order block in the direction of the external bias.
This indicator is designed for higher-timeframe structural analysis, making it suitable for traders seeking institutional-style confirmations on any timeframe chart.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.