OPEN-SOURCE SCRIPT

USD Relative Strength Comparison (RSC)

Updated
Simple indicator implementing relative strength against the equally weighted basket of major currencies. Perhaps I will coin it the Equally Weighted Index (EWI) and trademark it like ICE did with DXY.

usd = (usdjpy/100 + usdcad + 1/gbpusd + 1/eurusd + usdchf + 1/audusd + 1/nzdusd)/7

DXY is hard to compare against other indices because of it's weightening. Secondly it does not compare against all majors and includes SEK which is not a major currency. Source: Wikipedia.

In this chart it becomes more clear why GU is in an uptrend. From April 25th USD has been consolidating against the basket of majors while GBP has gained in strength against the same basket.

gbp = (gbpusd + gbpjpy/100 + gbpcad + 1/eurgbp + gbpchf + gbpaud + gbpnzd)/7
Release Notes
Upgrade to Pine V5
currencystrengthRelative Strength ComparisonUSD

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer