You can set up an array that has prices every 5 minutes, e.g., and can be as many rows as you like.
=qlink|bars!'es02z,5,90,dto,headers'
This array formula gives you the Z e-minis every 5 minutes, 90 rows long with the date, time, and open.
Then just run your BB formula off the data in...