I am developing indicator that uses more than one time frame, let' s say that my main time frame is 5 minutes, and I added second time frame 60 minutes.
Let's say that current time is 141000, if I want to access HLC for the second time frame I would use Highs[1][0] etc. However, this value will correspond to high value achieved between 130000 and 135900.
My question is how I can access current HLC for 60 minute bar from 140000 until 141000 (current time), is there a way to use Highs[1][-1]?
Thank you
Sergey.
Comment