OPEN-SOURCE SCRIPT
20-Day & 60-Day Disparity Index (Base 100%)

**Disparity Index with 100% Baseline for 20-day & 60-day Moving Averages**
This indicator shows how far the current price is from its 20-day and 60-day simple moving averages, expressed as a percentage with 100% as the baseline. It helps traders visually identify overbought or oversold conditions relative to key moving averages.
How to Use:
- A value above 100% means the price is above the moving average.
- A value below 100% means the price is below the moving average.
- For example, 105% means the price is 5% above the moving average.
- Common buy zone: when the disparity drops below 95% (price is 5% or more below the MA).
- Use in combination with RSI, volume, or candlestick patterns for confirmation.
Settings:
- Uses 20-day and 60-day **Simple Moving Averages (SMA)**.
- You can edit the script to change these periods or switch to EMA if desired.
Useful for swing traders, mean-reversion strategies, or identifying stretched price conditions.
Created by ChartJay
This indicator shows how far the current price is from its 20-day and 60-day simple moving averages, expressed as a percentage with 100% as the baseline. It helps traders visually identify overbought or oversold conditions relative to key moving averages.
How to Use:
- A value above 100% means the price is above the moving average.
- A value below 100% means the price is below the moving average.
- For example, 105% means the price is 5% above the moving average.
- Common buy zone: when the disparity drops below 95% (price is 5% or more below the MA).
- Use in combination with RSI, volume, or candlestick patterns for confirmation.
Settings:
- Uses 20-day and 60-day **Simple Moving Averages (SMA)**.
- You can edit the script to change these periods or switch to EMA if desired.
Useful for swing traders, mean-reversion strategies, or identifying stretched price conditions.
Created by ChartJay
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.