Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
adding time calander
Collapse
X
-
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:
Removing the TimeEditorKey will have the parameter pull up a calendar to select the date.[NinjaScriptProperty]
[PropertyEditor("NinjaTrader.Gui.Tools.TimeEditorKe y")]
[Display(ResourceType = typeof(Custom.Resource), Name="MyTime", Order=1, GroupName="NinjaScriptStrategyParameters")]
public DateTime MyTime
{ get; set; }
Please let me know if I may be of further assistance.[NinjaScriptProperty]
[Display(ResourceType = typeof(Custom.Resource), Name="MyDate", Order=1, GroupName="NinjaScriptStrategyParameters")]
public DateTime MyDate
{ get; set; }
-
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
-
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.
Comment
-
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
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment