OPEN-SOURCE SCRIPT

USD Relative Strength Comparison (RSC)

已更新
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
版本注释
Upgrade to Pine V5
currencystrengthRelative Strength ComparisonUSD

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明