Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Calling in multiple strategies under one "Master strategy"
Collapse
X
-
Calling in multiple strategies under one "Master strategy"
Hey computer guru's my computer code is getting pretty long and some what of a pain to comb through everything. So I'd like to create multiple separate strategies that i can call from a master script. Therefore I wouldn't have to enable multiple strategies and I can test each one individually. Any idea if this is possible? I would think you could use this like a new "class", but my only experience is with C++ before this, so I've no idea how to really do this, any recommendations?Tags: None
-
Hello RISKYBUSINEZZ,
Thank you for your post.
Unfortunately, this would not be possible, as there is no supported/documented way to programmatically enable strategies (i.e. enable a strategy from another strategy's code).
Strategies are designed so that they must be manually enabled by the user either in the Strategies window from a chart where the strategy is applied or from the Strategies tab of the Control Center.
Please let us know if you have any further questions.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
87 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
128 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
65 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
117 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
67 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment