OPEN-SOURCE SCRIPT
MACD-V (Volatility-Normalised Momentum) — Spiroglou, 2022

Volatility-normalized MACD per Alex Spiroglou (2022):
MACD-V = (EMA12 − EMA26) / ATR26 × 100, so momentum is expressed in ATR units and stays comparable across assets/timeframes.
What you get
• Trend-colored line: green when price ≥ EMA200, red otherwise.
• Guides: ±50 / ±100 / 0; Extremes: ±140 (editable).
• Regime shading: OB ≥ +140 shaded red; OS ≤ −140 shaded green.
• Clean, on-curve markers: small circles on the MACD-V line at the four edge events — OB (enter ≥ +threshold), OBX (cross back down), OS (enter ≤ −threshold), OSX (cross back up).
• Text labels are off by default; optional toggle only for OB/OBX.
• Signal & histogram: EMA(9) of MACD-V and (MACD-V − Signal) columns.
• Alerts: OB/OS entries & exits included.
How to use
• Favor longs when MACD-V > 0 (ideally > +50); respect OB for possible exhaustion.
• Favor shorts when MACD-V < 0 (ideally < −50); respect OS for possible exhaustion.
• Because it’s ATR-normalized, thresholds transfer well across symbols and timeframes.
MACD-V = (EMA12 − EMA26) / ATR26 × 100, so momentum is expressed in ATR units and stays comparable across assets/timeframes.
What you get
• Trend-colored line: green when price ≥ EMA200, red otherwise.
• Guides: ±50 / ±100 / 0; Extremes: ±140 (editable).
• Regime shading: OB ≥ +140 shaded red; OS ≤ −140 shaded green.
• Clean, on-curve markers: small circles on the MACD-V line at the four edge events — OB (enter ≥ +threshold), OBX (cross back down), OS (enter ≤ −threshold), OSX (cross back up).
• Text labels are off by default; optional toggle only for OB/OBX.
• Signal & histogram: EMA(9) of MACD-V and (MACD-V − Signal) columns.
• Alerts: OB/OS entries & exits included.
How to use
• Favor longs when MACD-V > 0 (ideally > +50); respect OB for possible exhaustion.
• Favor shorts when MACD-V < 0 (ideally < −50); respect OS for possible exhaustion.
• Because it’s ATR-normalized, thresholds transfer well across symbols and timeframes.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。