Correlation Tool
Correlation Tool - Heatmap and Matrix - allows you to check the correlation between selected instruments tradeable in your region.
With a choice of two modes, either heatmap or matrix, the Correlation tool allows you to check the correlation between selected instruments available to trade in your region.
Note that the prices and instruments in this tool refer to the product offerings of OANDA Global Markets self-funded trading account. The data can be used by OANDA Prop Trader Challengers and Signal Providers for educational purposes only.
The values displayed in the tool are calculated based on the correlation coefficient. They are expressed in the numeric value in the range (-1,1) where:
- -1 = strong negative correlation
A value of -1 represents a strong negative correlation, meaning if the price of one instrument increases, the price of the other instrument will decrease. In most situations, having open positions that are strongly negatively correlated by price is a more risk-averse strategy. - 1 = strong positive correlation
A value of 1 represents a strong positive correlation, meaning if the price of one instrument increases, the price of the other instrument will also increase. With all variables remaining the same, holding open positions of instruments that are strongly correlated by price exposes the trader to a higher level of risk. - 0 = no correlation
A value of 0 means that price movements between the two instruments are entirely uncorrelated, meaning either an increase or decrease in the value of one instrument will not have any effect on the value of the other.
Mode 1: Correlation Heatmap
The Correlation Heatmap has a single reference instrument, with nine other instruments used to compare different levels of correlation, in both the short and long-term.
We use close mid-pricing for calculations with granularity dependent on the time period:
5-minute closing mid-price | 1-hour closing price | Daily closing price |
---|---|---|
Time Period | ||
1-hour mode | 1-week mode | 1-month mode |
4-hours mode | 3-months mode | |
24-hours mode | 6-months mode | |
1-year mode |
As the example, if you see the reference instrument EUR/USD, compare it to GBP/USD for the 24-hour time period, here is what the value of 0.93 means:
As an example, when comparing EUR/USD to GBP/USD using the 24-hour time period, the returned value is 0.93. This value is calculated by the following method:
First, we extract close mid-prices from all 5-minute candles within the last 24 hours for EUR/USD and GBP/USD.
- First, data is collected from all 5-minutes candles within the last 24 hours for both EUR/USD and GBP/USD.
- Then, using Pearson correlation coefficient method, we calculate the correlation between EUR/USD and GBP/USD.
- A value of 0.93 is returned.
Mode 2: Correlation Matrix
The correlation matrix has a single hardcoded time period of 1 year and gives you a wider range of instruments for comparison (10 instruments versus 10 for comparison). The calculation method is exactly the same as for the heatmap, described above.
Instead of a choice of time frame, the Correlation Matrix has a hardcoded period of 1 year, but offers a wider range of currencies for comparison. All major currencies are available.