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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.