I've tried a couple different approaches to make this happen. For one, I've tried to add the 5 min data series in my strategy as such
Add(PeriodType.Minute, 5);
When I run my strategy on a 1 tick default data series (BarsInProgress = 0), with the 5 min bar data series added, I get the results that I expect. However, the problem with this approach is that the chart created in the backtest report is a 1-tick chart. I want to be able to view the 5 min chart in the backtest report in order to verify the accuracy of the entry mechanism.
I've also tried to add the 1 tick data series like such:
Add(PeriodType.Tick, 1);
and running the strategy on a 5 min default data series. In this case, I see all kinds of weird stuff such as trades being exited before they were even entered (with like a 5 minute difference). I'm assuming additional time frames specified in a strategy need to be smaller than the default time frame specified.
Is there a more elegant way of accomplishing what I'm going for? Can we do tick-level back testing while being able to see back-test chart reports for another time frame?
Comment