OPEN-SOURCE SCRIPT
已更新 Normalized Dist from 4H MA200 + Chart Highlights

Normalized Distance from 4H EMA200 + Highlighting Extremes
This indicator measures the distance between the current price and the 4-hour EMA200, normalized into a z-score to detect statistically significant deviations.
🔹 The lower pane shows the normalized z-score.
🔹 Green background = price far below EMA200 (z < -2).
🔹 Red background = price far above EMA200 (z > 3.1).
🔹 These thresholds are user-configurable.
🔹 On the main chart:
🟥 Red candles indicate overheated prices (z > upper threshold)
🟩 Green candles signal oversold conditions (z < lower threshold)
The EMA200 is always taken from a fixed 4H timeframe, regardless of your current chart resolution.
This indicator measures the distance between the current price and the 4-hour EMA200, normalized into a z-score to detect statistically significant deviations.
🔹 The lower pane shows the normalized z-score.
🔹 Green background = price far below EMA200 (z < -2).
🔹 Red background = price far above EMA200 (z > 3.1).
🔹 These thresholds are user-configurable.
🔹 On the main chart:
🟥 Red candles indicate overheated prices (z > upper threshold)
🟩 Green candles signal oversold conditions (z < lower threshold)
The EMA200 is always taken from a fixed 4H timeframe, regardless of your current chart resolution.
發行說明
Normalized Distance from 4H EMA200 + Highlighting ExtremesThis indicator measures the distance between the current price and the 4-hour EMA200, normalized into a z-score to detect statistically significant deviations.
🔹 The lower pane shows the normalized z-score.
🔹 Green background = price far below EMA200 (z < -2).
🔹 Red background = price far above EMA200 (z > 3.1).
🔹 These thresholds are user-configurable.
🔹 On the main chart:
🟥 Red candles indicate overheated prices (z > upper threshold)
🟩 Green candles signal oversold conditions (z < lower threshold)
The EMA200 is always taken from a fixed 4H timeframe, regardless of your current chart resolution.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。