Perhaps a silly question but if using Bars.FirstBarOfSession in a strategy, is that going to look at the first bar since the strategy was started or the first bar of the new Session Templates?
I'm looking at using the sample code from your SamplePnL strategy in NT7and am wondering what the expected behavior would be if I want the PnL to start at zero each day if;
1. I'm using the default 24/7 Template
2. I'm using a template like CBOT Ag RTH
And the strategies themselves run;
a) 24/5
b) 23/5 with a restart of NT daily.
Just trying to get my head around the logic before I go too deep...
Thanks!
EDIT: Perhaps asking when the counter for Performance.AllTrades.TradesPerformance.Currency.C umProfit etc starts is a better question... and how/when is it reset. Thanks.

Comment