OPEN-SOURCE SCRIPT
Currency Relative Strength Index

Currency Relative Strength Index
This scripts show current RSI value and histogram of 7 Currency index on 3 time frame: 4H, 1H, 15M
//=== RSI Function ===\\
rsi_period=input(14)
M15_RSI( sym ) =>
M15_RSI = security( sym , "15", rsi (close,rsi_period))
H1_RSI( sym ) =>
H1_RSI = security( sym , "60", rsi (close,rsi_period))
H4_RSI( sym ) =>
H4_RSI = security( sym , "240", rsi (close,rsi_period))
//=== Currency Index ===\\
1. DXY - USD Index - U.S. Dollar Index
2. EXY - EUR Index - Euro Currency Index
3. JXY - JPY Index - Japanese Yen Index
4. BXY - GBP Index - British Pound Index
5. AXY - AUD index - Australian Dollar Index
6. CXY - CAD Index - Canadian Dollar Index
7. SXY - CHF Index - Swiss Franc Currency Index
This scripts show current RSI value and histogram of 7 Currency index on 3 time frame: 4H, 1H, 15M
//=== RSI Function ===\\
rsi_period=input(14)
M15_RSI( sym ) =>
M15_RSI = security( sym , "15", rsi (close,rsi_period))
H1_RSI( sym ) =>
H1_RSI = security( sym , "60", rsi (close,rsi_period))
H4_RSI( sym ) =>
H4_RSI = security( sym , "240", rsi (close,rsi_period))
//=== Currency Index ===\\
1. DXY - USD Index - U.S. Dollar Index
2. EXY - EUR Index - Euro Currency Index
3. JXY - JPY Index - Japanese Yen Index
4. BXY - GBP Index - British Pound Index
5. AXY - AUD index - Australian Dollar Index
6. CXY - CAD Index - Canadian Dollar Index
7. SXY - CHF Index - Swiss Franc Currency Index
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。