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