Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Possible to create limit order from exit signal?
Collapse
X
-
Possible to create limit order from exit signal?
I was wondering if it's possible set up a limit order based off of an exit signal? For example, if I wanted to create a limit order when the current bid price is 20 ticks below the exit signal of my last order.Tags: None
-
Hello gdoering,
Yes, this would be possible.
When the exit order fills, save the execution price (or the orders AverageFillPrice) to a double variable. Then supply this double variable as the limit price for the new order.
You can get the execution price from OnExecution() or get the order's AverageFillPrice from OnOrderUpdate().
Chelsea B.NinjaTrader Customer Service
-
Great, I will give it a shot. Thanks for your help!Originally posted by NinjaTrader_ChelseaB View PostHello gdoering,
Yes, this would be possible.
When the exit order fills, save the execution price (or the orders AverageFillPrice) to a double variable. Then supply this double variable as the limit price for the new order.
You can get the execution price from OnExecution() or get the order's AverageFillPrice from OnOrderUpdate().
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
44 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
65 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 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