OPEN-SOURCE SCRIPT
已更新 Overnight Z/VolRatio Signal

This indicator highlights overnight setups where both volatility expansion and prior-day range deviation suggest directional opportunity at the RTH open.
It calculates:
• Overnight Z-Score (Z_long): how far the overnight session’s range tilts from the 20-day overnight mean, standardized by its standard deviation.
• VolRatio: ratio of the current RTH session volume to the 20-day average, a proxy for participation and conviction.
Signal Logic (LONG bias)
A long-bias condition triggers when:
• Z_long ≥ 0.40 (overnight tilt strongly positive)
• VolRatio ≥ 1.30 (above-average RTH volume)
• Optional filters: R1/R4 region alignment, YDH/YDL proximity, and other context flags.
Visuals mark qualifying days with colored labels and session highlights.
It is intended as a context signal — not an auto-trading system — for SPY/SPX/ES or correlated large-cap indices.
Usage Notes
• Works best when applied to daily or intraday 5m chart with extended hours enabled.
• Typical exit: ~150 minutes after 09:30 ET.
• Fridays are optionally excluded to avoid expiration-related distortions.
It calculates:
• Overnight Z-Score (Z_long): how far the overnight session’s range tilts from the 20-day overnight mean, standardized by its standard deviation.
• VolRatio: ratio of the current RTH session volume to the 20-day average, a proxy for participation and conviction.
Signal Logic (LONG bias)
A long-bias condition triggers when:
• Z_long ≥ 0.40 (overnight tilt strongly positive)
• VolRatio ≥ 1.30 (above-average RTH volume)
• Optional filters: R1/R4 region alignment, YDH/YDL proximity, and other context flags.
Visuals mark qualifying days with colored labels and session highlights.
It is intended as a context signal — not an auto-trading system — for SPY/SPX/ES or correlated large-cap indices.
Usage Notes
• Works best when applied to daily or intraday 5m chart with extended hours enabled.
• Typical exit: ~150 minutes after 09:30 ET.
• Fridays are optionally excluded to avoid expiration-related distortions.
發行說明
This indicator highlights overnight setups where both volatility expansion and prior-day range deviation suggest directional opportunity at the RTH open.It calculates:
• Overnight Z-Score (Z_long): how far the overnight session’s range tilts from the 20-day overnight mean, standardized by its standard deviation.
• VolRatio: ratio of the current RTH session volume to the 20-day average, a proxy for participation and conviction.
Signal Logic (LONG bias)
A long-bias condition triggers when:
• Z_long ≥ 0.40 (overnight tilt strongly positive)
• VolRatio ≥ 1.30 (above-average RTH volume)
• Optional filters: R1/R4 region alignment, YDH/YDL proximity, and other context flags.
Visuals mark qualifying days with colored labels and session highlights.
It is intended as a context signal — not an auto-trading system — for SPY/SPX/ES or correlated large-cap indices.
Usage Notes
• Works best when applied to daily or intraday 5m chart with extended hours enabled.
• Typical exit: ~150 minutes after 09:30 ET.
• Fridays are optionally excluded to avoid expiration-related distortions.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。