OPEN-SOURCE SCRIPT
CBR - USD Correlation

Fundamentals
The idea for this script is based on Fundamentals.
I wanted to verify the strength/weakness of the US dollar against other major economies
This will keep me on the right side of the "trend" .. bullish or bearish ?
In short, because Fundamentals Analysis are reflected via economic updates which influences what the price will be doing for the next couple of days
I think it is fair to have an "Indy" that will look at the moving averages across these pairs, because if the dollar sentiment changes, this will be reflected across the major economies
How to use it
This is not a buy/sell entry "Indy", nor a RSI type "Indy" where I tried to calculate overbought/oversold areas..
In fact, when this indy hits anything over 5 to max ( which is 12 ) ..that is a very strong signal and should be seen as such..bearish or bullish
If you want to test it out, I would suggest use a plain chart ( naked chart ) with a 20 or 50 MA ( depending on your TF) and see how the currency pair e.g EUR/USD correlates with this indy. The default pairs are AUD/USD, NZD/USD, GBP/USD and USD/JPY, with a main chart on EUR/USD
Timeframes
1m and 5m charts, change the MA values to 3 ( short), 20 ( medium), 50 ( long) or even more, else there are too many false positives.
1H and higher timeframes works well with the current default values.
I
The idea for this script is based on Fundamentals.
I wanted to verify the strength/weakness of the US dollar against other major economies
This will keep me on the right side of the "trend" .. bullish or bearish ?
In short, because Fundamentals Analysis are reflected via economic updates which influences what the price will be doing for the next couple of days
I think it is fair to have an "Indy" that will look at the moving averages across these pairs, because if the dollar sentiment changes, this will be reflected across the major economies
How to use it
This is not a buy/sell entry "Indy", nor a RSI type "Indy" where I tried to calculate overbought/oversold areas..
In fact, when this indy hits anything over 5 to max ( which is 12 ) ..that is a very strong signal and should be seen as such..bearish or bullish
If you want to test it out, I would suggest use a plain chart ( naked chart ) with a 20 or 50 MA ( depending on your TF) and see how the currency pair e.g EUR/USD correlates with this indy. The default pairs are AUD/USD, NZD/USD, GBP/USD and USD/JPY, with a main chart on EUR/USD
Timeframes
1m and 5m charts, change the MA values to 3 ( short), 20 ( medium), 50 ( long) or even more, else there are too many false positives.
1H and higher timeframes works well with the current default values.
I
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.