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
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Toutefois, vous pouvez l'utiliser librement et sans aucune restriction - en savoir plus ici.
Clause de non-responsabilité
Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.