Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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:
[NinjaScriptProperty]
[PropertyEditor("NinjaTrader.Gui.Tools.TimeEditorKe y")]
[Display(ResourceType = typeof(Custom.Resource), Name="MyTime", Order=1, GroupName="NinjaScriptStrategyParameters")]
public DateTime MyTime
{ get; set; }
[NinjaScriptProperty]
[Display(ResourceType = typeof(Custom.Resource), Name="MyDate", Order=1, GroupName="NinjaScriptStrategyParameters")]
public DateTime MyDate
{ get; set; }JimNinjaTrader Customer Service
-
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.JimNinjaTrader Customer Service
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
-
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
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by sidlercom80, 10-28-2023, 08:49 AM
|
168 responses
2,262 views
0 likes
|
Last Post
by sidlercom80
Today, 12:05 AM
|
||
Started by Barry Milan, Yesterday, 10:35 PM
|
3 responses
10 views
0 likes
|
Last Post Yesterday, 11:58 PM | ||
Started by WeyldFalcon, 12-10-2020, 06:48 PM
|
14 responses
1,429 views
0 likes
|
Last Post
by Handclap0241
Yesterday, 10:43 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
2 responses
9 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:31 PM
|
||
Started by jeronymite, 04-12-2024, 04:26 PM
|
3 responses
41 views
0 likes
|
Last Post
by jeronymite
Yesterday, 10:10 PM
|
Comment