OPEN-SOURCE SCRIPT

Real Interest Rate Differential

The Real IRD is a simple indicator built for forex trades that need a long-term view and want to compare currencies in search of high yield. The indicated interest rate maturity is 2 years, since shorter maturities may not price central banks' monetary policy decisions.

Example:
- You need to do an analysis of the AUDUSD
- In the Interest Rate 1 field, we put the interest rate for the base currency, in this case the AUD
- In the Interest Rate 2 field, the interest rate of the other currency, in this case the USD
- In the CPI 1 field, inflation referring to base currency
- In the CPI 2 field, inflation for another currency

CPI Codes:
QUANDL:RATEINF/INFLATION_USA < USD
QUANDL:RATEINF/INFLATION_EUR < EUR
QUANDL:RATEINF/INFLATION_JPN < JPY
QUANDL:RATEINF/INFLATION_CHE < CHF
QUANDL:RATEINF/INFLATION_GBR < GBP
QUANDL:RATEINF/INFLATION_CAN < CAD
QUANDL:RATEINF/INFLATION_RUS < RUB
QUANDL:RATEINF/INFLATION_AUS < AUD
QUANDL:RATEINF/INFLATION_NZL < NZD
CPIForexinflationinterestratesTrend Analysisyields

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明