There exists an example project Visual Studio Solution for AddOn Development on the following link:
https://ninjatrader.com/support/help...t_overview.htm
I’m using this project to develop some custom code. The example Add On includes a Time-In-Force (TIF) selector just like the one in Chart Trader. The problem is that when I run the example add on, the TIF selector does not show any options like (Day, GTC, GTD). The drop down menu/list of TIF selector is empty. From the NT8 help guide and also from the intellisense I have tried several things (like shown in below code) but could not get the TIF options displayed.
AccountSelector AS;
TifSelector MyTIF;
AS = new AccountSelector();
MyTIF = new TifSelector();
MyTIF.Account = AS.SelectedAccount;
MyTIF.ShowDefaultValues = true;
MyTIF.SelectedTif = TimeInForce.Day;
I have attached a screenshot of Add On window to explain the problem.
Please guide me/give me some clue how can I come out of this bottleneck and be able to display different options in this TIF selector very similar to the one in Chart Trader (screenshot attached)
Best Regards,
Mubeen Haider
Comment