OPEN-SOURCE SCRIPT

Currency Index Comparison on Chart

2 021
I wanted to make this script when I made XY RSI - Relative strength Index

But too many bars make the chart ugly.

Today I found a great script from melihtuna on
Backward Number of Bars


So I can implement this idea now.

This script is for Forex combinations of the following currencies: USD, EUR, GBP, JPY, CHF, AUD, NZD, CAD

It displayed currency index ( DXY , EXY , BXY , JXY , AXY , CXY , SXY , ZXY ) chart based on the currency pairs.

For example, USDJPY chart will automatically display green line US Dollar Index (DXY) and red line Japan Yen index (JXY).

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.