JPY RSCJPY Relative Strength Comparison to the basket of other major currencies.
jpy = (1/usdjpy + 1/cadjpy + 1/chfjpy + 1/eurjpy + 1/gbpjpy + 1/audjpy + 1/nzdjpy)/0.07
Currencystrength
GBP RSCGBP Relative Strength Comparison to the basket of other major currencies.
gbp = (gbpusd + gbpjpy/100 + gbpcad + 1/eurgbp + gbpchf + gbpaud + gbpnzd)/7
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
Test for IQoption chat by Noah NThe script uses the average price of Major currencies to show their relative strength. Choose which currencies you wish to see in the format options. The script works based off of RSI so the currency with a higher value is stronger than the currency with the lower value. If for example USD is at 65 and CAD is at 30 then USD is stronger than CAD and buying USDCAD is better idea than selling it.
Sourcecode is open to see.
Currency StrengthRepublished: The original script violated house rules by including an external link to Backtest Rookies.
Background
The currency strength indicator takes up to 4 forex pairs and calculates the average strength across all pairs. The indicator uses the pair's daily percentage change to calculate the overall strength. For flexibility, it can accept any instrument as an input. This means you can use multiple instances to track various currency strengths. It was designed with the major pairs in mind but there is no reason why it cannot be used for other FX pairs.
Note: The indicator defaults to GBP. When setting it up for other currencies, be sure to flag whether the currency is a counter currency or not.
The code is provided free and open source. Please modify it as you see fit.
Screenshots
Defaults with Annotation
Yen strength beating pound strength
Opposing Trends
8 Pair Strength R2.0 updated by JustUncleLThis is an updated script Originally written by @glaz
Description:
This study is a version of Currency Strength Meter, that utilises TradingView's built-in "True Strength Index" (TSI) function. The TSI uses moving averages of the underlying momentum of a financial instrument.
Modifications:
10-Nov-2017 by JustUncleL
Corrected the weighting on JPY pairs, by dividing their close values by 100 to bring them within 1.0 range of the other pairs.
Added option to use different Data Source, eg hl2, hlc3, ohlc4 etc.
Updated to PineScript version 3.
Updated variable names to reflect their origin.