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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
474 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
315 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
253 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
340 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
305 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment