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.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.