I am trying to figure out how to return the amount of minutes passed from open – but i just cant get a hold of it.
The aim of this code is to retrieve the average minutes passed of each candle when using Tick Charts (just to get q quick hum about timeframe).
Does anyone have a suggestion? This is what ive come up with so far and it gives an OK estimate of average minutes, but would be more precise if i could get the (exact) amount of minutes passed since open.