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 Max238, Today, 01:28 AM
|
1 response
22 views
0 likes
|
Last Post
by CactusMan
Today, 06:18 AM
|
||
Started by giulyko00, Yesterday, 12:03 PM
|
2 responses
10 views
0 likes
|
Last Post
by giulyko00
Today, 06:11 AM
|
||
Started by r68cervera, Today, 05:29 AM
|
0 responses
4 views
0 likes
|
Last Post
by r68cervera
Today, 05:29 AM
|
||
Started by geddyisodin, Today, 05:20 AM
|
0 responses
6 views
0 likes
|
Last Post
by geddyisodin
Today, 05:20 AM
|
||
Started by JonesJoker, 04-22-2024, 12:23 PM
|
6 responses
38 views
0 likes
|
Last Post
by JonesJoker
Today, 05:14 AM
|
Comment