OPEN-SOURCE SCRIPT
Two Currency Strength Comparison

Two Currency Strength Comparison
This indicator compares the relative strength of any two major currencies using RSI-based currency strength calculations.
Users can freely select any two currencies from the following:
* EUR
* USD
* GBP
* AUD
* JPY
* CAD
* CHF
The selected currencies are displayed as two strength lines, making it easy to compare their relative momentum.
The area between the two lines is color-coded:
Green– Currency 1 is stronger than Currency 2
Red – Currency 2 is stronger than Currency 1
This provides a clear visual representation of changes in relative currency strength.
Features
* Compare any two major currencies
* RSI-based currency strength calculation
* Adjustable RSI length
* User-selectable calculation timeframe
* Color-filled strength difference
* Strength crossover signals
* Optional alert support
* No repainting on confirmed bars
Supported Currencies
* EUR
* USD
* GBP
* AUD
* JPY
* CAD
* CHF
Typical Uses
* Confirm trend direction
* Compare currency momentum
* Identify strengthening and weakening currencies
* Confirm Forex trade setups
* Analyze relative strength before entering a position
This indicator is intended as a decision-support tool and should be used together with price action and other technical analysis methods rather than as a standalone trading system.
This indicator compares the relative strength of any two major currencies using RSI-based currency strength calculations.
Users can freely select any two currencies from the following:
* EUR
* USD
* GBP
* AUD
* JPY
* CAD
* CHF
The selected currencies are displayed as two strength lines, making it easy to compare their relative momentum.
The area between the two lines is color-coded:
Green– Currency 1 is stronger than Currency 2
Red – Currency 2 is stronger than Currency 1
This provides a clear visual representation of changes in relative currency strength.
Features
* Compare any two major currencies
* RSI-based currency strength calculation
* Adjustable RSI length
* User-selectable calculation timeframe
* Color-filled strength difference
* Strength crossover signals
* Optional alert support
* No repainting on confirmed bars
Supported Currencies
* EUR
* USD
* GBP
* AUD
* JPY
* CAD
* CHF
Typical Uses
* Confirm trend direction
* Compare currency momentum
* Identify strengthening and weakening currencies
* Confirm Forex trade setups
* Analyze relative strength before entering a position
This indicator is intended as a decision-support tool and should be used together with price action and other technical analysis methods rather than as a standalone trading system.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.