TCL Auto Supply and Demand Oscillator
- Indicatori
- Stratos Digital (PVT) Ltd
- Versione: 1.4
Auto Supply and Demand Oscillator is an indicator for MetaTrader 4 and MetaTrader 5 that detects supply and demand zones automatically and displays them as a single oscillator value at the bottom of the chart, instead of drawing rectangles directly on price.
Concept
Supply zones are price areas where strong selling created a sharp downward move away from a balance area. Demand zones are price areas where strong buying created a sharp upward move. Traditional implementations draw boxes on the chart for every detected zone, which can result in cluttered visuals.
This indicator identifies the same zones using Average True Range (ATR) volatility analysis, then converts the relationship between current price and the nearest unbroken zone into an oscillator value between 0 and 100.
Output Interpretation
Oscillator value 80 or above — current price is at or near an unbroken supply zone
Oscillator value 20 or below — current price is at or near an unbroken demand zone
Oscillator value between 20 and 80 — price is between active zones
Zone Lifecycle
When a zone is broken (price closes through it with sufficient force), the indicator removes it from the active set. Only zones that have not yet been tested or broken contribute to the oscillator output. This avoids accumulating stale levels over time.
Inputs
ATR Period — volatility lookback for zone detection (default 14)
Zone Sensitivity — controls how aggressively new zones are added (default 1.5)
Max Active Zones — limits memory load by capping the active zone list (default 50)
Supply Threshold — oscillator level for the supply boundary (default 80)
Demand Threshold — oscillator level for the demand boundary (default 20)
Popup Alert — enable MetaTrader popup notifications when the oscillator crosses a threshold
Push Notification — enable mobile push notifications
Email Alert — enable email notifications
Sound Alert — enable sound notifications
Compatibility
The indicator works on MetaTrader 4 and MetaTrader 5. It is compatible with all instruments and all timeframes from M1 to MN. The output values are not redrawn after candle close.
Installation
1. Download the file from MQL5 Market
2. Restart MetaTrader if needed
3. Drag the indicator onto any chart
For questions about parameters or behavior, please use the Comments tab.
