Hello,
When generating a new chart using e.g. a 3 day time frame, the open of new bar 0 corresponds to bar 0 in the daily chart and the new close of bar 0 to bar 2 in the original daily chart etc.
My question: Is there a way to shift the beginning of bar 0 of the new 3d interval chart by 1 day, so that the first new open corresponds to bar 1 of the original daily chart and the first new close to bar 3 of the original daily chart?
I will then use the new (shifted) time series to calculate some indicators.
The reason I am trying to do this is because e.g. a 3d interval bar is only completed every 3d day on the current/last day.Since I need the last 3d bar always to be completed on the current/last day, I want to shift the beginning of the 1st bar by 0, 1 or 2 bars.
I have unsuccessfully been trying to do this for some time now and any help would be greatly appreciate.
Thank you.