NT 8.0.6.0 64-bit (Multi-Broker). I've been testing a strategy on Sim account in real time since yesterday night (Utc). There was an erroneous "exit on session close" today at about 4 AM (Utc). Please, look at the pictures with my settings. Note, that I have 'Tools-Options-General-Time zone' set to UTC. No other specific settings. And have a look at the Excel file with the Strategy Performance exported data.
Just in case, my strategy code settings are standard:
if (State == State.SetDefaults)
{
Name = "NGenicClientStrategy";
Calculate = Calculate.OnPriceChange;
EntriesPerDirection = 1;
EntryHandling = EntryHandling.AllEntries;
IsExitOnSessionCloseStrategy = true;
ExitOnSessionCloseSeconds = 60;
IsFillLimitOnTouch = false;
MaximumBarsLookBack = MaximumBarsLookBack.TwoHundredFiftySix;
OrderFillResolution = OrderFillResolution.Standard;
Slippage = 0;
StartBehavior = StartBehavior.AdoptAccountPosition;
TimeInForce = TimeInForce.Gtc;
TraceOrders = false;
RealtimeErrorHandling = RealtimeErrorHandling.StopCancelClose;
StopTargetHandling = StopTargetHandling.PerEntryExecution;
BarsRequiredToTrade = 0;
}
I think there is a bug in NT related to general time zone settings. Please check it.

Comment