PROTECTED SOURCE SCRIPT
Forex PPP Divergence Mapping Tool

Forex PPP Divergence Mapping Tool
This indicator applies a Purchasing Power Parity (PPP)–based Smart Money Technique (SMT) divergence framework to Forex pairs. It compares price action between mapped currency components on a higher timeframe, highlighting divergences where one leg of a pair creates a new high/low while the other does not.
How it works:
- The script automatically maps the selected Forex pair to its PPP-related components.
- For each higher timeframe candle, the tool checks if one component makes a new high or low while the other fails to confirm.
- When a divergence is detected, it is displayed on the chart with:
A line connecting divergence points.
A colored box marking the price range.
An optional label ("Divergence") above the signal.
How to use:
- Apply on Forex pairs that are supported by the PPP mapping logic.
- Use divergences as potential signals of inefficiencies or shifts in intermarket alignment.
- Combine with your own trade confirmation methods for entries or exits.
Customization:
- Enable or disable labels and boxes.
- Adjustable box transparency.
- Selectable higher timeframe for analysis (from intraday to monthly).
Alerts:
- Bullish PPP Divergence detected.
- Bearish PPP Divergence detected.
Notes:
- Works only on mapped Forex pairs (error message is displayed otherwise).
This indicator applies a Purchasing Power Parity (PPP)–based Smart Money Technique (SMT) divergence framework to Forex pairs. It compares price action between mapped currency components on a higher timeframe, highlighting divergences where one leg of a pair creates a new high/low while the other does not.
How it works:
- The script automatically maps the selected Forex pair to its PPP-related components.
- For each higher timeframe candle, the tool checks if one component makes a new high or low while the other fails to confirm.
- When a divergence is detected, it is displayed on the chart with:
A line connecting divergence points.
A colored box marking the price range.
An optional label ("Divergence") above the signal.
How to use:
- Apply on Forex pairs that are supported by the PPP mapping logic.
- Use divergences as potential signals of inefficiencies or shifts in intermarket alignment.
- Combine with your own trade confirmation methods for entries or exits.
Customization:
- Enable or disable labels and boxes.
- Adjustable box transparency.
- Selectable higher timeframe for analysis (from intraday to monthly).
Alerts:
- Bullish PPP Divergence detected.
- Bearish PPP Divergence detected.
Notes:
- Works only on mapped Forex pairs (error message is displayed otherwise).
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.