I was thinking to code an addon from where i can quickly enable and disable strategies. Is there an example of it that you know of?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Addon to disable enable strategy within a strategy
Collapse
X
-
Addon to disable enable strategy within a strategy
Hi I have a strategy that uses different strategies within a strategy that are activated by the bool.
I was thinking to code an addon from where i can quickly enable and disable strategies. Is there an example of it that you know of?Tags: None
-
Hello tkaboris,
Thank you for your post.
There is no supported/documented way to programmatically enable/disable strategies. Strategies must be 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. You may select multiple strategies on the Strategies tab while holding down the Ctrl button on your keyboard and then right-click and select "Enable" or "Disable" to enable/disable multiple strategies at once. Here is a video example:Please let us know if we may be of further assistance.
-
Hello tkaboris,
Thank you for the clarification.
There is a publicly available strategy on our NinjaTrader Ecosystem website that uses toolbar buttons to toggle a bool within the strategy:
Here is a basic guideline of how to import NinjaScript add-ons in NinjaTrader 8:
Note — To import NinjaScripts you will need the original .zip file.
To Import:- Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
- From the Control Center window select the menu Tools > Import > NinjaScript Add-on...
- Select the downloaded .zip file
- NinjaTrader will then confirm if the import has been successful.
Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'
Once installed, you may add the indicator to a chart by:- Right-click your chart > Indicators... > Select the Indicator from the 'Available' list on the left > Add > OK
Here is a short video demonstration of the import process:
Please let me know if I can be of further assistance.
The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
24 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
120 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
63 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
45 views
0 likes
|
Last Post
|

Comment