The price of gold carries on an interesting relationship with the exchange rate of the Japanese yen versus the dollar. Most of the time, the two move together, but they occasionally disagree. When that happens, it is usually the chart plot of the yen which ends up being “right” about where both are headed.
That is relevant at the moment because the dollar price of gold is making lower highs and lower lows, but the yen is showing a bullish divergence. The yen is not yet making higher highs, but it is making at least a higher low, and that is different from what the price of gold is doing.
Technical analysts speak of pattern “correlation”, which is an inherently loose term. Data series which correlate with each other are thought of as doing generally the same thing. But with time series data, correlations can be hard to quantify.
Many analysts turn to Pearson’s Correlation Coefficient as a means of applying a numerical rating to show how well to sets of data are correlated. Developed by statistician Karl Pearson, this statistical methodology is great for analyzing the relationship of properties among members of a population group. So for example, if you wanted to see how well people’s height and weight are correlated (hint: really a lot), then Pearson’s Correlation Coefficient is a great way to quantify that.
It loses effectiveness, however, when people apply it to time series data. The reason is that a trending move in a time series can throw off the calculations, and make an uncorrelated pair of data sets seem to be well correlated.
I discussed this point back in 2010 with a Chart In Focus article, Correlations May Not Be What They Seem, featuring these two charts to make the point about how Pearson’s Correlation Coefficients can mislead:
Just adding an uptrend to obviously inversely correlated data changes the correlation coefficient from perfectly negative to almost perfectly positive. This is why Pearson’s Correlation Coefficient is the wrong tool for quantifying correlation between two sets of time series data. There are other statistical tools which do that task better, but they are computationally much more complicated. And people get used to calling up a Pearson’s number easily in Excel or other programs, so they go with what is easy because it gets them a number, rather than doing the harder work to get something that is right.
Now, having said all of that, I am going to go back on my own point to note that in a very limited circumstance, Pearson’s can still be useful sometimes. The key is to look at it over a short enough time frame to allow its weaknesses to become a strength. I have found that 10 trading days is a useful lookback period for this purpose.
I previously examined a 10-day Correlation Coefficient between the VIX Index and the SP500, finding that the rare instances of a positive number marked telling turning points for stock prices. Usually those negative correlation readings mark price tops for the SP500.
The same technique can be used for the Japanese yen and gold, as shown in this next chart:
Usually the yen and gold are in positive correlation with each other, and so most of the time this indicator is above zero, as it should be. When it goes below zero, it can sometimes have important information to convey, especially if it is the first such voyage below zero in a long time.
On June 14, as gold was making a little spike top before dropping sharply, this indicator went negative to -0.45, and thus marked that minor top. But now it is back negative again as the yen is making a bullish divergence and disagreeing with the lower low that gold prices are making.
Using such a short lookback period avoids the inherent problem of having a trending move in either or both data series create an artificially high Correlation Coefficient. What it does instead is tune into those rare episodes when the yen and gold are doing opposite actions over a short period, which is more typically associated with signaling a turning point. As noted above, those signals usually mark price tops for gold, but in this current case it seems more likely to be a message of a gold price bottom.