Thank you.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Automated Order Entry and Management question
Collapse
X
-
Automated Order Entry and Management question
I have already designed and coded the way I would like my automated strategy to compute data from an instrument, now I need to figure out how my orders will be handled in the market. I have 2 questions: 1. does NinjaTrader have automated stop-loss and trailing-stop capability? 2. What sort of methods/classes will I need to know to code this part of the strategy?
Thank you.Tags: None
-
milemke08, there would be several available, easist to get started with would be the Set() methods - a good reference on working with those would be found here - http://www.ninjatrader.com/support/f...ead.php?t=3222
For more control and flexibility the Exit() methods would be recommended, they would also further allow you access to all order properties via the IOrder interface - http://www.ninjatrader.com/support/h...nt7/iorder.htm
To get started with those more advanded techniques, please check into this sample's content -
The OnOrderUpdate() and OnExecution() methods are reserved for experienced programmers. Instead of using Set() methods to submit stop-loss and profit target orders, you can submit and update them manually through the use of IOrder and IExecution objects in the OnOrderUpdate() and OnExecution() methods. The OnOrderUpdate()
Generally this documentation on all order methods in NinjaTrader would be good background as well for your work - http://www.ninjatrader.com/support/h...er_methods.htm
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
65 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
35 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
59 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
51 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|
Comment