Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Trading manually disables strategies
Collapse
X
-
Hello Brillo,
Thanks for your post.
There wouldn't be a way to disable that functionality, but you could add buttons to your strategy so you can manually close out the position and keep the strategy running. An example strategy that implements buttons can be found below.
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.
We look forward to assisting.
-
Hello Brillo,
The UserControlCollection is meant for custom controls added by 3rd party scripts. It is designed to be separate from existing framework elements and it is not intended to modify the main menu toolbar.
More information can be found here - https://ninjatrader.com/support/help...collection.htm
If you want to see other examples for adding buttons and user control's I suggest reviewing NinjaTrader_Chelsea's WPF modification examples.
Modifications to chart WPF elements and tab considerations - NinjaTrader Support Forum
We look forward to assisting.
- Likes 1
Comment
-
Hello DTSSTS,
Adding buttons requires WPF modifications and requires programming by hand. Once a script is unlocked for manual code editing, it cannot be locked again for use in the Strategy Builder. Since the Strategy Builder is designed for simple strategies, the advanced modifications will have to be done with an unlocked strategy.
You could keep a copy of your Strategy Builder strategy, and use it to generate code and copy it into your main strategy which includes the buttons additions. The NinjaScript Editor 401 course goes into this and can help to transition you from Strategy Builder strategies to unlocked strategies.
NinjaScript Editor 401 (publicly available recording) - https://www.youtube.com/watch?v=H7aDpWoWUQs
Live Webinar - https://ninjatrader.com/Webinar/NinjaScript-Editor-401
If you are looking for services to have the buttons added to your script, you could enlist the services of a NinjaScript Consultant. If that is something that interests you, please let me know and we can have a colleague share additional information.
We look forward to assisting.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
37 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
64 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
46 views
0 likes
|
Last Post
|

Comment