• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

adding time calander

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

    adding time calander

    Is there a calander clock I can add to my parameters. I want to have the user to press the open session time and close session time instead of manually entering it

    #2
    Hello ballboy11,

    Thanks for opening the thread.

    There is not a calendar clock tool that you can use to display both a date and time in the parameters window.

    You could use two separate parameters to set the desired date and time separately, however.

    You can use a TimeEditorKey to easily set a time in the parameters window:
    [NinjaScriptProperty]
    [PropertyEditor("NinjaTrader.Gui.Tools.TimeEditorKe y")]
    [Display(ResourceType = typeof(Custom.Resource), Name="MyTime", Order=1, GroupName="NinjaScriptStrategyParameters")]
    public DateTime MyTime
    { get; set; }
    Removing the TimeEditorKey will have the parameter pull up a calendar to select the date.

    [NinjaScriptProperty]
    [Display(ResourceType = typeof(Custom.Resource), Name="MyDate", Order=1, GroupName="NinjaScriptStrategyParameters")]
    public DateTime MyDate
    { get; set; }
    Please let me know if I may be of further assistance.
    JimNinjaTrader Customer Service

    Comment


      #3
      Hi NinjaTrader_Jim,

      When using [PropertyEditor("NinjaTrader.Gui.Tools.TimeEditorKe y")] for users to input a time for an indicator, is it possible to configure the Gui widget in 24 hours format?

      So far, I'm only able to get it in AM/PM.

      Thanks

      Comment


        #4
        Welcome to the forums PriceSurfer!

        I wasn't able to change the Time Editor's behavior by changing the region settings on my PC and I have created a feature request for this on your behalf. The ticket ID is SFT-3159. As an alternative, you could use a string for the user input and then convert that string to DateTime object.

        As with other feature requests, we cannot present an ETA as they are fulfilled based on the development team's schedule and priorities. Upon implementation the ticket ID can be found publicly on the Release Notes page of the help guide. I'll provide a link below.

        Release Notes: https://ninjatrader.com/support/help...ease_notes.htm

        If there is anything else we can do to help, please let us know.
        JimNinjaTrader Customer Service

        Comment


          #5
          Thank you Jim for having created a feature request.

          Is there a place we can see all the pending feature requests to be incorporated?

          Comment


            #6
            Hello PriceSurfer,

            Feature Requests are tracked internally, so there isn't a place we could direct you to to reference pending feature requests. We will publish these ticket ID's in the Release Notes page of the help guide when a feature gets implemented to fulfill the request.
            JimNinjaTrader Customer Service

            Comment


              #7
              Hi. I am using this parameter and would also like to see a 24hr option. Thanks.

              Comment


                #8
                Hello DharmaTrader,

                I will forward your vote on this.

                Thank you for your feedback.
                Chelsea B.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by ajsdnyyrr1234DDf, Today, 09:39 AM
                2 responses
                12 views
                0 likes
                Last Post ajsdnyyrr1234DDf  
                Started by Delerium, Today, 10:03 AM
                1 response
                7 views
                0 likes
                Last Post NinjaTrader_JoshG  
                Started by pjsmith, Today, 09:54 AM
                1 response
                4 views
                0 likes
                Last Post NinjaTrader_PatrickG  
                Started by afoschini, Today, 09:18 AM
                2 responses
                6 views
                0 likes
                Last Post afoschini  
                Started by rexsole, Today, 08:02 AM
                1 response
                17 views
                0 likes
                Last Post NinjaTrader_PatrickG  
                Working...
                X