Gold prices go up when interest rate goes down, a parameter that is directly proportional to the strength of the economy. So gold is a hedge against a falling economy. It serves the same purpose against inflation too. Here is how its price reacts to these factors.
Source Link