protected override void Initialize()
{
VendorLicense("xxxx");
this.Name=" xxx";
CalculateOnBarClose=false;
Overlay = true;
gv=new GVManagerClass();
Add(PeriodType.Day, 1);
}
protected override void OnStartUp()
{
folder = Path.Combine(folder,"NinjaTrader 7");
folder = Path.Combine(folder,"bin");
folder = Path.Combine(folder,"Custom");
helpfile = Path.Combine(folder, "xxxx.chm");
helper.instrumentName = Instrument.MasterInstrument.Name+Instrument.Expiry +BarsArray[0].BarsType.PeriodType;
AddMenuAndItems();
RegisterInstance();
GlobalVariables.Subscribe("xxxx",this);
}
I am a bit confuse about how to rearrange these methods with the new OnStateChange NT 8 method.
I need guidance
Thanks
Comment