PROTECTED SOURCE SCRIPT

Gold Z-Score Dashboard - 100-Bar Label Cleanup

97
📌 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

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.