Originally Posted By: Spirit
Your code makes not really sense, why not using dayOpen and dayClose of the previous day?


you can help me to find dayClose and dayOpen on previous day?

You must consider that the prices on my broker are UTC and I want to calculate open and close of previous day at UTC+2

Thanks