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 kinfxhk, 07-14-2026, 09:39 AM
|
0 responses
15 views
0 likes
|
Last Post
by kinfxhk
07-14-2026, 09:39 AM
|
||
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
59 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
42 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
47 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
38 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|

Comment