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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。