PROTECTED SOURCE SCRIPT
Telah dikemas kini Supply Zone & Demand M15

Supply Zone & Demand M15
This indicator automatically detects and plots supply and demand zones based on 15-minute pivots and impulse strength.
🔎 Features
Multi-timeframe visibility: Zones are detected on M15 pivots but can be viewed on any lower timeframe (M1, M5, etc.).
Zone validation: Zones appear only after a strong impulsive move, measured against ATR.
Retest counting: Each time price retests a zone, a counter is displayed.
Retests can be merged by time window (No merge, 30 minutes, or 1 hour).
Zone merging: Nearby overlapping zones are automatically combined with a tolerance setting.
Configurable display: Choose between immediate display of zones or only after N retests.
Customizable style: Full control over colors, extension to the left, and max number of zones kept.
⚙️ Settings
Pivot strength: Minimum bars for swing highs/lows.
Impulse filter: Require ATR-based momentum before validating a zone.
Zone width: Defined as a multiple of ATR.
Retest merge: Select None, 30 minutes, or 1 hour.
Invalidation: Option to remove zones once broken.
Display mode: Show zones immediately or only after the required number of retests.
✅ Use Cases
Identify high-probability reversal areas.
Track how many times a zone has been retested.
Spot confluence when historical zones align with current price action.
⚠️ Disclaimer: This indicator is a technical tool, not financial advice. Always combine with proper risk management.
This indicator automatically detects and plots supply and demand zones based on 15-minute pivots and impulse strength.
🔎 Features
Multi-timeframe visibility: Zones are detected on M15 pivots but can be viewed on any lower timeframe (M1, M5, etc.).
Zone validation: Zones appear only after a strong impulsive move, measured against ATR.
Retest counting: Each time price retests a zone, a counter is displayed.
Retests can be merged by time window (No merge, 30 minutes, or 1 hour).
Zone merging: Nearby overlapping zones are automatically combined with a tolerance setting.
Configurable display: Choose between immediate display of zones or only after N retests.
Customizable style: Full control over colors, extension to the left, and max number of zones kept.
⚙️ Settings
Pivot strength: Minimum bars for swing highs/lows.
Impulse filter: Require ATR-based momentum before validating a zone.
Zone width: Defined as a multiple of ATR.
Retest merge: Select None, 30 minutes, or 1 hour.
Invalidation: Option to remove zones once broken.
Display mode: Show zones immediately or only after the required number of retests.
✅ Use Cases
Identify high-probability reversal areas.
Track how many times a zone has been retested.
Spot confluence when historical zones align with current price action.
⚠️ Disclaimer: This indicator is a technical tool, not financial advice. Always combine with proper risk management.
Nota Keluaran
Supply & Demand Zone M15This script automatically detects and plots Supply & Demand zones based on 15-minute pivots and impulse moves.
It provides advanced zone management with customizable retest counting, invalidation rules, and merging.
Features:
Pivot strength & impulse filters based on ATR(15).
Automatic detection of Supply (red) and Demand (green) zones.
Configurable zone thickness (× ATR15).
Retest counting with merge window options (None / 30min / 1hr).
Choose between Immediate display or After N retests.
Optional removal of zones after a maximum number of retests.
Invalidation handling: either delete or keep faded invalidated zones.
Left extension controls (bars or minutes).
Full customization of colors and opacity.
Use case:
Helps traders visualize key Supply & Demand zones, track the number of retests per hour, and identify potential liquidity levels with higher precision.
Nota Keluaran
Supply Zone & Demand M15This indicator auto-detects 15-minute Supply (red) and Demand (green) zones and keeps them consistent across any chart timeframe. All logic—pivots, impulse validation, retest counting, and invalidation—runs on the M15 timeframe, so what you see on 1-minute is the same as on 15-minute.
How it works
Pivots (M15): Zones are seeded from 15-minute pivot highs/lows with user-defined pivot strength.
Impulse filter (M15): A move from the pivot must exceed a multiple of ATR(15) within an N-bar window.
Zone size: Thickness is set as a multiple of ATR(15).
Retests (M15 close): Retests are counted only on the closed 15-minute candle that touches a zone. You can merge multiple touches into one retest by time window.
Invalidation (M15): A zone is invalidated when M15 close (or high/low) breaks it—optionally shown faded.
Key features
Timeframe-agnostic: detection, retests, and invalidations all computed on M15.
Adjustable pivot strength, impulse window, and ATR(15) thresholds.
Zone thickness via ATR multiple.
Display mode: show zones immediately or after N retests.
Retest merge window: None / 30 min / 1 hr (at most one retest per civil hour in 1-hr mode).
Ignore zone after N retests: automatically remove zones after a chosen count (set 0 to keep forever).
Invalidation controls: choose to delete or keep invalidated zones faded.
Left-extension options: extend boxes backward by minutes or bars.
Custom Supply/Demand colors (default ~30% opacity).
Inputs (summary)
Pivot strength (15m bars)
Impulse window (bars) & Min impulse (×ATR15)
ATR(15) length & Zone thickness (×ATR15)
Merge tolerance (%) for combining overlapping zones
Display mode: Immediate / After N retests
N retests required
Retest merge window: None / 30mn / 1hr
Ignore zone after N retests (0 = never)
Invalidate when close breaks zone; Show invalidated zones (faded)
Left extension: Minutes / Bars, with durations
Tips
For conservative zones, use a larger pivot strength and impulse multiple.
Use 1 hr merge when you want at most one counted retest per hour.
Turn on “Show invalidated zones (faded)” to keep historical context without clutter.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.