OPEN-SOURCE SCRIPT
Nilesh MTF Liquidity Levels

Overview
This indicator plots multi‑timeframe liquidity levels (highs and lows) on the chart and removes them once price sweeps the level. It is designed to help traders see where liquidity may be resting above or below current price.
How it works
The script tracks the previous candle’s high and low on several higher timeframes (15m, 30m, 1H, 4H, Daily) and draws horizontal lines from those levels into the future. When price makes a wick or close beyond a level (depending on the user setting), that level is considered swept and its line is removed from the chart.
Inputs & customization
Toggle each timeframe: Show 15m, 30m, 1H, 4H, Daily
Max levels per timeframe to control how many lines stay on the chart
Separate line width settings for each timeframe
Individual colors for each timeframe
Optional “Require close beyond level” to use candle close instead of wick for sweeps
Usage notes
These levels are not signals on their own. They are intended to be used together with your own price action, liquidity or S/R strategy. Always manage your risk and test on replay or demo before using in live trading.
This indicator plots multi‑timeframe liquidity levels (highs and lows) on the chart and removes them once price sweeps the level. It is designed to help traders see where liquidity may be resting above or below current price.
How it works
The script tracks the previous candle’s high and low on several higher timeframes (15m, 30m, 1H, 4H, Daily) and draws horizontal lines from those levels into the future. When price makes a wick or close beyond a level (depending on the user setting), that level is considered swept and its line is removed from the chart.
Inputs & customization
Toggle each timeframe: Show 15m, 30m, 1H, 4H, Daily
Max levels per timeframe to control how many lines stay on the chart
Separate line width settings for each timeframe
Individual colors for each timeframe
Optional “Require close beyond level” to use candle close instead of wick for sweeps
Usage notes
These levels are not signals on their own. They are intended to be used together with your own price action, liquidity or S/R strategy. Always manage your risk and test on replay or demo before using in live trading.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.