PDA

View Full Version : Date Picker Code for Strategies


sgordet
01-12-2011, 03:34 PM
I would like to include a date picker in the General section of one of my strategy input fields. My C# programming ability is minimal, but I have reached the point where I can figure out how to copy and paste fairly well annotated code and I do now understand all of the code in the NT strategy template..
Does anyone have code that he or she could share with me or point me to some code that's already on this site or in one of the provided strategies or indicators?

Thanks,
Stephen

NinjaTrader_Josh
01-12-2011, 03:53 PM
Stephen,

Unfortunately this is not supported, but to give you an idea...

Take a look at how you currently do parameters like integers or doubles. Instead of making public int ____ or public double ____, try making a DateTime object.