## Instructions

The algorithm identifies waves in the price of gold to forecast its trajectory. Every day the algorithm analyzes raw data to generate various gold predictabilities and signals. The predictability is the “strength” of the prediction and the signal is the movement direction (increase/decrease). The predictability is the historical correlation between the algorithmic prediction of gold and its actual movement.The signal is the strength of the current gold prediction. Each cell represents a different commodity and gold is part of the commodities table. The commodities table is organized by signal strength. The strongest up signals are at the top of the table, down signals at the bottom.

We include both the ETF version of gold (GLD) and the physical version of gold (XAU) even though their stock prices are identical, because the algorithm analyzes each one independently; therefore, when the algorithm predicts that both will move in the same direction, there is greater confidence in the predictions.
However, when the algorithm predicts that each will move in a different direction, it means that the algorithm is uncertain about the movement of gold and we advise investors to sit out and wait for a more confident prediction. If one insists on investing he should follow the prediction with the stronger signal/predictability combination. Predictability (P) is obtained by calculating the correlation between the current prediction and the actual gold movement  for each discrete time period. The algorithm then averages the results of all the prediction points, while giving more weight to recent performance. As the machine keeps learning, the values of P generally increase.

Predictability ranges from negative 1 to positive 1; this metric is an adaptation of the Pearson correlation coefficient.
P=-1 means the actual price of gold moved in the opposite direction than the algorithm predicted.
P=0 means that there is no correlation between the prediction and the actual gold movement.
P=1 means that there is perfect correlation between the actual gold movement and its predicted movement.

Any value of P above zero indicates a positive predictability, the higher the better. We give the most importance to predictabilities ranging between P=0.2 and P=0.7.