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.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.