For a strategy that I am attempting to write I need to reference the custom bars history along with 1 minute data. The custom previous bars that I need to reference are just high/low from the first 300 minutes of trading day of the 5 previous days. What is the best/fastest way to create these custom price time frames to reference?