Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Date Picker Code for Strategies

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Date Picker Code for Strategies

    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
    Last edited by sgordet; 01-12-2011, 04:48 PM.

    #2
    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.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    56 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    143 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    160 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    96 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X