OPEN-SOURCE SCRIPT
Liquidity Levels (Fractal)

📊 Liquidity Levels (Fractal) – Indicator Explanation
Liquidity Levels (Fractal) is a lightweight, visual indicator designed to highlight key buy-side and sell-side liquidity zones on the chart using Williams Fractals.
These levels often act as price magnets, areas of stop-loss clustering, and reaction zones for reversals, breakouts, or continuations.
Liquidity Levels
🔍 What the Indicator Does
The script automatically detects swing highs and swing lows using a configurable fractal length, and then plots horizontal liquidity lines that extend to the right of the chart.
🔴 Sell-Side Liquidity (Red Lines)
Drawn at fractal highs
Represents areas where:
Short sellers placed stops
Breakout traders entered late
Smart money may seek liquidity above highs
🟢 Buy-Side Liquidity (Green Lines)
Drawn at fractal lows
Represents areas where:
Long traders placed stop-losses
Panic selling may occur
Institutions may accumulate positions
⚙️ Indicator Settings
1️⃣ Fractal Length
Controls how significant a swing must be to qualify as a liquidity level
Higher value → fewer but stronger levels
Lower value → more frequent levels
Recommended:
Intraday (1m–15m): 21–51
Swing / Positional: 51–101
2️⃣ Max Levels Per Side
Limits how many liquidity levels are shown on each side (highs and lows)
Keeps the chart clean and uncluttered
📈 How to Use This Indicator
✅ Best Use Cases
Identifying liquidity grabs
Anticipating fake breakouts
Locating high-probability reversal zones
Confluence with:
VWAP
EMA / Trend filters
Market structure (HH / LL)
Session highs & lows
🔁 Common Trading Observations
Price often sweeps liquidity before reversing
Multiple liquidity levels close together indicate high interest zones
Strong trends tend to consume liquidity, ranges tend to respect it
⚠️ Important Notes
This is a visual liquidity map, not a buy/sell signal generator
Works best when combined with trend context
No repainting beyond standard fractal confirmation logic
🎯 Who This Indicator Is For
✔ Smart Money Concept traders
✔ Intraday & Swing traders
✔ Traders using structure-based analysis
✔ Users who want clean, minimal, non-laggy visuals
🧩 Summary
Liquidity Levels (Fractal) helps you see where the market is likely to move next, not because of indicators — but because of where liquidity rests.
Price moves to liquidity. This indicator helps you see it.
Liquidity Levels (Fractal) is a lightweight, visual indicator designed to highlight key buy-side and sell-side liquidity zones on the chart using Williams Fractals.
These levels often act as price magnets, areas of stop-loss clustering, and reaction zones for reversals, breakouts, or continuations.
Liquidity Levels
🔍 What the Indicator Does
The script automatically detects swing highs and swing lows using a configurable fractal length, and then plots horizontal liquidity lines that extend to the right of the chart.
🔴 Sell-Side Liquidity (Red Lines)
Drawn at fractal highs
Represents areas where:
Short sellers placed stops
Breakout traders entered late
Smart money may seek liquidity above highs
🟢 Buy-Side Liquidity (Green Lines)
Drawn at fractal lows
Represents areas where:
Long traders placed stop-losses
Panic selling may occur
Institutions may accumulate positions
⚙️ Indicator Settings
1️⃣ Fractal Length
Controls how significant a swing must be to qualify as a liquidity level
Higher value → fewer but stronger levels
Lower value → more frequent levels
Recommended:
Intraday (1m–15m): 21–51
Swing / Positional: 51–101
2️⃣ Max Levels Per Side
Limits how many liquidity levels are shown on each side (highs and lows)
Keeps the chart clean and uncluttered
📈 How to Use This Indicator
✅ Best Use Cases
Identifying liquidity grabs
Anticipating fake breakouts
Locating high-probability reversal zones
Confluence with:
VWAP
EMA / Trend filters
Market structure (HH / LL)
Session highs & lows
🔁 Common Trading Observations
Price often sweeps liquidity before reversing
Multiple liquidity levels close together indicate high interest zones
Strong trends tend to consume liquidity, ranges tend to respect it
⚠️ Important Notes
This is a visual liquidity map, not a buy/sell signal generator
Works best when combined with trend context
No repainting beyond standard fractal confirmation logic
🎯 Who This Indicator Is For
✔ Smart Money Concept traders
✔ Intraday & Swing traders
✔ Traders using structure-based analysis
✔ Users who want clean, minimal, non-laggy visuals
🧩 Summary
Liquidity Levels (Fractal) helps you see where the market is likely to move next, not because of indicators — but because of where liquidity rests.
Price moves to liquidity. This indicator helps you see it.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.