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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.