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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
48 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment