PROTECTED SOURCE SCRIPT
Gold Z-Score Dashboard - 100-Bar Label Cleanup

📌 Indicator Name:
Gold Z-Score Dashboard — 100-Bar Label Cleanup
🧾 Description:
This indicator leverages a statistical approach to detect overbought and oversold conditions using the Z-Score, a measure of price deviation from its moving average. It intelligently combines trend, volume, and volatility filters to reduce false signals and improve trading precision.
✅ Key Features:
Z-Score Logic: Highlights extreme price moves by comparing current price to its recent average, normalized by standard deviation.
Trend Filter (Optional): Uses a higher-timeframe EMA to confirm signals only in the trend direction.
Volume Filter (Optional): Confirms signals only when current volume exceeds its average, avoiding low-activity noise.
ATR Filter (Optional): Ensures signals occur during sufficient market volatility.
Label Cleanup: Each signal label is automatically removed after 100 bars to keep your chart organized.
Built-In Alerts: Get notified instantly when the market enters overbought or oversold zones.
🧠 How It Works:
The Z-Score is calculated as:
(Price−EMA)/StandardDeviation
When the Z-Score crosses below -threshold, an oversold (long) signal is generated.
When it crosses above +threshold, an overbought (short) signal is triggered.
Signals are filtered based on user settings:
✅ Trend must be aligned with higher timeframe EMA
✅ Volume must be above its moving average
✅ ATR must indicate adequate market movement
📈 Best Used For:
Spotting mean reversion opportunities
Avoiding false reversals with smart filters
Cleaner signal visualization via automatic label expiry
Gold Z-Score Dashboard — 100-Bar Label Cleanup
🧾 Description:
This indicator leverages a statistical approach to detect overbought and oversold conditions using the Z-Score, a measure of price deviation from its moving average. It intelligently combines trend, volume, and volatility filters to reduce false signals and improve trading precision.
✅ Key Features:
Z-Score Logic: Highlights extreme price moves by comparing current price to its recent average, normalized by standard deviation.
Trend Filter (Optional): Uses a higher-timeframe EMA to confirm signals only in the trend direction.
Volume Filter (Optional): Confirms signals only when current volume exceeds its average, avoiding low-activity noise.
ATR Filter (Optional): Ensures signals occur during sufficient market volatility.
Label Cleanup: Each signal label is automatically removed after 100 bars to keep your chart organized.
Built-In Alerts: Get notified instantly when the market enters overbought or oversold zones.
🧠 How It Works:
The Z-Score is calculated as:
(Price−EMA)/StandardDeviation
When the Z-Score crosses below -threshold, an oversold (long) signal is generated.
When it crosses above +threshold, an overbought (short) signal is triggered.
Signals are filtered based on user settings:
✅ Trend must be aligned with higher timeframe EMA
✅ Volume must be above its moving average
✅ ATR must indicate adequate market movement
📈 Best Used For:
Spotting mean reversion opportunities
Avoiding false reversals with smart filters
Cleaner signal visualization via automatic label expiry
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.