Store value at close of 1min candle in a variable?

Reason: