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. اقرأ المزيد في شروط الاستخدام.