Hi
I am trying to develop an indicator that calculates the average range of a 3 minute bar (or any time period) for that same time of day over the last 20 days. So if it is 10:30 am I would like to be able to find the average range of all bars at 10:30 am on the previous 20 days.
I have been able to do this using a csv. file in Python with for loops etc. but am not sure how to do it in Quantopian. Any help or guidance would be greatly appreciated.
Thanks
Tim