Current program,
set 1
"other indicators"
(Times[0][0].TimeOfDay == new TimeSpan(8, 0, 0))) I have it set to enter long.
Set 2
(Times[0][0].TimeOfDay == new TimeSpan(15, 0, 0)) In order to exit the long.
The problem I am running into is it is buying at 4PM one day and exiting the trade the next day at 4PM according to the strat analyzer. This makes it skip days it could have traded on I have attempted to link the buy and close into the input variables as well as making time region over a hour or so and STILL no dice.... I cannot figure out why it can't buy in the morning and sell in the afternoon of the same day. I have set a few other times on other programs and they work just as indented on smaller time frames. I've tried building it exactly as shown in the NinjaTrader time set-up page but cannot figure out why it is not working. Any help would be appreciated.
Thanks
Comment