I moved my Ninja Trader installation to a different computer and now something kind of stop working in my script. I have a strategy with an instrument set for every 30 minutes CalculateOnBarClose = false.
I'm treating every tick on the method OnBarUpdate, since my instrument frequency on the strategy is set every minutes, for example, at 9:20am the method ToTime(Time[0]) would show 9:30am. Another example, if right now was 10:16am, the ToTime(Time[0]) would show 10:30am.
Thing is , now that I installed NT on another computer, even making sure I set it up everything as it was before, right now ToTime(Time[0]) is always showing 18:30. On every bar update it alwas shows that.
I can't seem to find where the problem is? Based on the description above, would you guys recommend me anything? What settings do typically affect ToTime(Time[0]) ..
Many Thanks in Advance,
Rodrigo
Comment