if (ToTime(Time[0]) >= ToTime(5, 30, 0) && (ToTime(Time[1]) <= ToTime(16, 0, 0))
if (ToTime(Time[0]) >= ToTime(5, 30, 0)) { if (ToTime(Time[1]) <= ToTime(16, 0, 0)) { ...
Anyways, from 12 to 5, the code is executing fine, no trades are placed. However, the afternoon condition is not met at all until midnight/new day. Trades execute from 16:00:00 right through 23:59. Running latest Ninjatrader7, and running through the Data replay feed.
Anyone else experience this, or know what might be going on??
Comment