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.JimNinjaTrader Customer Service
-
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.JimNinjaTrader Customer Service
- 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.JimNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by usazencort, Today, 01:16 AM
|
0 responses
1 view
0 likes
|
Last Post
by usazencort
Today, 01:16 AM
|
||
Started by kaywai, 09-01-2023, 08:44 PM
|
5 responses
603 views
0 likes
|
Last Post Today, 12:32 AM | ||
Started by xiinteractive, 04-09-2024, 08:08 AM
|
6 responses
22 views
0 likes
|
Last Post Today, 12:31 AM | ||
Started by Pattontje, Yesterday, 02:10 PM
|
2 responses
21 views
0 likes
|
Last Post
by Pattontje
Yesterday, 11:49 PM
|
||
Started by flybuzz, 04-21-2024, 04:07 PM
|
17 responses
230 views
0 likes
|
Last Post
by TradingLoss
Yesterday, 11:45 PM
|
Comment