Thanks!
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
Current Time
Collapse
X
-
Hello Gregorio,
Do you have a time object and you want to format this with a format string?
Below is a link to the microsoft C# documentation on date and time format strings.
Learn to use custom date and time format strings to convert DateTime or DateTimeOffset values into text representations, or to parse strings for dates & times.
For example:
Print(Time[0].ToString("HH:mm:ss"));Chelsea B.NinjaTrader Customer Service
-
How can I script, that I want to have the chart always on top! I know I can do it in the right click menu, but can I do this at all in script? I have an add-on to NT8 that opens in a new window but the right click menu doesn't show up! Can I just enter a line in the script to permanently make it "always on top"?
The same with "Show Tabs"! The right click menu doesn't work so I want to know if I can make it "turned off" in the script!
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mongo, Today, 11:05 AM
|
0 responses
1 view
0 likes
|
Last Post
by Mongo
Today, 11:05 AM
|
||
Started by Tim-c, Today, 10:58 AM
|
0 responses
1 view
0 likes
|
Last Post
by Tim-c
Today, 10:58 AM
|
||
Started by traderqz, Yesterday, 09:06 AM
|
3 responses
23 views
0 likes
|
Last Post Today, 10:36 AM | ||
Started by f.saeidi, Today, 10:19 AM
|
1 response
5 views
0 likes
|
Last Post Today, 10:31 AM | ||
Started by kujista, Today, 06:23 AM
|
5 responses
18 views
0 likes
|
Last Post
by kujista
Today, 10:26 AM
|
Comment