My algorithm depends on looking at several different bar resolutions: 15minute, daily, weekly, and monthly.

How would I go about building an algorithm like this that needs all this data? I need to select assets that have certain patterns on those resolutions, so it seems inevitable that I need to consolidate every asset.

I have other basic filters like average trading volume is above a million, but I can't set just that as the filter in the CoarseFilter because if an asset passes that criteria I would then need all of its consolidation bars.

 

Any ideas?