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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน