I am trying to convert an NT7 strategy to NT8. The strategy uses 240 minute (4hr) dataseries.
I've found, for example, that bar times on the NT7 240 min. chart do not match the same instrument (CL ##-##) using an NT8 chart, BUT they should be identical.
The converted NT8 strategy produces completely different results than the NT7 equivalent since the bar times are completely different.
For example, when I print values for Time[0] and SMA()
NT7 chart bar Time[0] and SMA() are:
9/22/2016 6:00:00 AM 45.213
9/22/2016 10:00:00 AM 45.414
9/22/2016 2:00:00 PM 45.568
9/22/2016 5:00:00 PM 45.687
9/22/2016 10:00:00 PM 45.768
9/23/2016 2:00:00 AM 45.864
9/23/2016 6:00:00 AM 45.967
etc...
NT8 chart bar Time[0] and SMA() are:
9/22/2016 9:00:00 AM 45.398
9/22/2016 1:00:00 PM 45.538
9/22/2016 5:00:00 PM 45.661
9/22/2016 9:00:00 PM 45.758
9/23/2016 1:00:00 AM 45.845
etc...
The NT8 chart bar intervals are correct at 4 hrs, but the bar start times are NOT the same. They don't match, but should.
I've uploaded 2 NT export zip packages. 1 from NT7 and another from NT8 so that you can reproduce and see the error at your end.
Both scripts show the error using the standard NT SampleMACrossOver strategy.
I've repackaged SampleMACrossOver into script MyCustomStrategy to include Print statements.
I've also uploaded screen scrapes of NT Analyzer Output, Instrument Mgr settings and Session settings for both NT7 & NT8, for instrument CL.
Both NT7 and NT8 are at the most recent release levels.
Can you please tell me what I should change in NT8 to make chart bar times be the same as NT7 ?
OR is this a NT8 bug.
Please let me know.
Thank you
Comment