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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    128 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    74 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    116 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    110 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    89 views
    0 likes
    Last Post CarlTrading  
    Working...
    X