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
Nt8
Collapse
X
-
Hello Emma1,
Thank you for the post.
NinjaScript is C# programming language so you would have the general features of C# here. C# has a switch statement, you can find more details and samples in the following public resource:
The `if` and `switch` statements provide branching logic in C#. You use `if, `else` and `switch` to choose the path your program follows.
I look forward to being of further assistance.JesseNinjaTrader Customer Service
-
Hello Emma1,
This would not be found in any NinjaTrader documentation or samples, this is a C# concept. You can find a sample in the page I linked. This would otherwise not be able to be generated using any of the built in wizards, this is something you would manually code.
I look forward to being of further assistance.JesseNinjaTrader Customer Service
Comment
-
Hello Emma1,
I am not certain I understand the question as it was written, can you provide more detail on what you are trying to do or what you are looking for?
You can find the documentation for BarsTypes in the help guide here: https://ninjatrader.com/support/help.../bars_type.htm
I look forward to being of further assistance.
JesseNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
26 views
0 likes
|
Last Post
by wzgy0920
Today, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Today, 10:33 PM
|
||
Started by wzgy0920, Yesterday, 09:53 PM
|
2 responses
49 views
0 likes
|
Last Post
by wzgy0920
Today, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
192 views
0 likes
|
Last Post
by Hasadafa
Today, 10:19 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,235 views
0 likes
|
Last Post Today, 08:07 PM |
Comment