OPEN-SOURCE SCRIPT
Simple Liquidity Zones [Supertrade]

🔎 What this indicator does
This indicator is designed to highlight liquidity sweep zones on the chart.
• A liquidity sweep occurs when price briefly breaks above a recent swing high or below a recent swing low, but fails to close beyond it.
• Such behavior often indicates that price has taken liquidity (stop orders resting above highs or below lows) and may reverse.
The indicator marks these events as bullish or bearish liquidity zones:
• Bullish Zone (green) → Price swept a swing low and closed back above it (possible bullish reversal area).
• Bearish Zone (red) → Price swept a swing high and closed back below it (possible bearish reversal area).
These zones are drawn as shaded horizontal bands that extend forward in time, providing visual areas where liquidity grabs occurred.
________________________________________
⚙️ How calculations are made
The indicator does not use moving averages or smoothing.
Instead, it works with raw price action:
1. Swing Detection → It checks the highest high and lowest low of the past N bars (swing length).
2. Sweep Logic →
o A bearish sweep happens if the high breaks above the previous swing high, but the close returns below that level.
o A bullish sweep happens if the low breaks below the previous swing low, but the close returns above that level.
3. Zone Creation → When a sweep is detected, a shaded zone is drawn just above/below the swing level.
4. Persistence → Zones extend into the future until replaced by new ones (or optionally until price fully trades through them).
This makes the calculations simple, transparent, and responsive to actual market structure without lag.
________________________________________
📈 How it helps traders
This tool helps traders by:
• Visualizing liquidity areas → Shows where price previously swept liquidity and may act as support/resistance.
• Identifying reversals → Helps spot potential turning points after liquidity grabs.
• Risk management → Zones highlight areas where stops may be targeted, useful for positioning stop-loss orders.
• Confluence tool → Works best when combined with other strategies such as order blocks, trendlines, or volume analysis.
⚠️ Note: Like all indicators, this should not be used in isolation. It provides context, not guaranteed trade signals.
________________________________________
🏦 Markets & Timeframes
• Works across all markets (crypto, forex, stocks, indices, commodities).
• Particularly effective in high-liquidity environments where stop-hunting is common (e.g., forex majors, BTC/ETH, S&P500).
• Timeframes:
o Lower timeframes (1m–15m) → Scalpers can spot intraday liquidity sweeps.
o Higher timeframes (1H–1D) → Swing traders can identify major liquidity pools.
________________________________________
This indicator is designed to highlight liquidity sweep zones on the chart.
• A liquidity sweep occurs when price briefly breaks above a recent swing high or below a recent swing low, but fails to close beyond it.
• Such behavior often indicates that price has taken liquidity (stop orders resting above highs or below lows) and may reverse.
The indicator marks these events as bullish or bearish liquidity zones:
• Bullish Zone (green) → Price swept a swing low and closed back above it (possible bullish reversal area).
• Bearish Zone (red) → Price swept a swing high and closed back below it (possible bearish reversal area).
These zones are drawn as shaded horizontal bands that extend forward in time, providing visual areas where liquidity grabs occurred.
________________________________________
⚙️ How calculations are made
The indicator does not use moving averages or smoothing.
Instead, it works with raw price action:
1. Swing Detection → It checks the highest high and lowest low of the past N bars (swing length).
2. Sweep Logic →
o A bearish sweep happens if the high breaks above the previous swing high, but the close returns below that level.
o A bullish sweep happens if the low breaks below the previous swing low, but the close returns above that level.
3. Zone Creation → When a sweep is detected, a shaded zone is drawn just above/below the swing level.
4. Persistence → Zones extend into the future until replaced by new ones (or optionally until price fully trades through them).
This makes the calculations simple, transparent, and responsive to actual market structure without lag.
________________________________________
📈 How it helps traders
This tool helps traders by:
• Visualizing liquidity areas → Shows where price previously swept liquidity and may act as support/resistance.
• Identifying reversals → Helps spot potential turning points after liquidity grabs.
• Risk management → Zones highlight areas where stops may be targeted, useful for positioning stop-loss orders.
• Confluence tool → Works best when combined with other strategies such as order blocks, trendlines, or volume analysis.
⚠️ Note: Like all indicators, this should not be used in isolation. It provides context, not guaranteed trade signals.
________________________________________
🏦 Markets & Timeframes
• Works across all markets (crypto, forex, stocks, indices, commodities).
• Particularly effective in high-liquidity environments where stop-hunting is common (e.g., forex majors, BTC/ETH, S&P500).
• Timeframes:
o Lower timeframes (1m–15m) → Scalpers can spot intraday liquidity sweeps.
o Higher timeframes (1H–1D) → Swing traders can identify major liquidity pools.
________________________________________
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
Trade forex, indices, stocks and metals with up to US$100.000 in company's funding.
Complete a challenge to access funding or go for instant deposit.
Trading involves substantial risk. Not financial advice
Complete a challenge to access funding or go for instant deposit.
Trading involves substantial risk. Not financial advice
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
Trade forex, indices, stocks and metals with up to US$100.000 in company's funding.
Complete a challenge to access funding or go for instant deposit.
Trading involves substantial risk. Not financial advice
Complete a challenge to access funding or go for instant deposit.
Trading involves substantial risk. Not financial advice
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。