PROTECTED SOURCE SCRIPT

Gold Z-Score Dashboard - 100-Bar Label Cleanup

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

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.