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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
60 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
148 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
98 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
286 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
Comment