I noticed this behavior because in the past I had modified rollover dates and values in some instruments and had added missing holidays in templates (e.g. US equities RTH missing Martin Luther King Day 01/16/2017) and these changes seem disappeared after update
To be brief I omit to explain in details what led to me to investigate but I enclose some screenshots and information as evidence of this statement.
First of all I noticed that modified holidays were still in xml templates in documents folder (see TH_InDocumentsFolder.jpg enclosed) but not used I chart.
So I wrote un indicator to print all holidays in the TH in use in the chart (see TestIndicatorOutputInV8040.jpg).
here is code snippet
else if (State == State.DataLoaded) { Print("Instrument = " + Instrument.FullName + " chart interval = " + Bars.BarsPeriod.BaseBarsPeriodValue + " " + Bars.BarsPeriod.BarsPeriodType); Print("Trading Hour Template in use is " + TradingHours.Name); foreach(KeyValuePair<DateTime, string> holiday in TradingHours.Holidays) { Print(holiday); } }
As it regards ninjatrader.sdf seems that NT 8.0.4.0 uses the one in c:\program files (x86) (similarly to TH) because all rollovers were reset to default after the update to 8.0.4.0 (see GCRollovers_InV8040.jpg where GC rollovers values are missing and GC 03-17 is present and it should not) but again present as modified by me after uninstall of version 8.0.4.0 and reinstall of version 8.0.3.1 (see GCRollovers_inV9031.jpg) without further actions
Please could you take a look at this problem?
Thank You very much
Comment