How do I get the values from the previous candlestick of a given timeframe in MT5?

 
How do I get the values from the previous candlestick of a given timeframe in MT5?
 
Start reading here.
Reason: