Hi,
I would like to acumulate the volume of the intraday (5 min) across many days. For instance, I would like to be able to choose wether to acumulate from 2, 5, 10 days back and show that in a graph.
For one day is quite easy, I just zero the volume at the beggining of the day and acumulate the volume inside this day.
I've browsed around the help and guessed that I should build a loop looking back on each min bar until I find 2 days back. That would required the used ot Barinterval and Date function.
Any guesses on how to solve it in a smart and fast way?
Thanks for sharing.
regards,
Marcus