Hi everyone, is there a good example out there of updating an indicator that requires a TradeBar for update (like Average True Range) but doesn't require calling History every time? I'm using ATR as a filter in my coarse universe selection, but I don't have access to all the elements of a TradeBar (ie, high, open, low) in the universe data in CoarseFilterFunction. Hence, I'm calling History for every security to get 1 row of historical data in order to create a TradeBar to send to the Update method to get the current ATR for each security. This looks to be very costly and is slowing down my backtests. I'm thinking a RollingWindow could be a solution, but can't figure it out. If there is an example out there or some sample code that could illustrate how this is done, please share.

Thanks,

Chetan