Announcement
Collapse
No announcement yet.
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.
-
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.
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.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
77 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
63 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment