Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Moving Limit Order
Collapse
X
-
Moving Limit Order
How do I keep a limit order from moving? I have a strategy that submits a limit order at the bid/ask price -1/+1; since the strategy recalculates at each tick, the limit orders are also recalculated which cause them to move, and in some instances, a popup is received informing me that i cannot move a limit order. Is there a way to include in the strategy builder something to the effect of Pending Orders == 0?Tags: None
-
Hello Renorail,
Thanks for your post.
The limit order is moving because your entry conditions remain true which continues resubmitting the limit order.
What you could do is to create a bool variable in the "Inputs and Variables" page of the strategy builder. Set the bool's default to true. In the set where you place the limit order, add the condition to check that the bool is true and in the "do the following" section, set the bool to false. This way the order is placed one time only. You will need to likely add another set and create a new condition to reset the bool to true when you want to again place the limit order.
Please note that if a limit order is not filled on the entry bar, it will be automatically cancelled as this is an automatic function in the "Managed approach" that the strategy builder must use, here is a link to further information on the Managed Approach: https://ninjatrader.com/support/help...d_approach.htm
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
164 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
319 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
246 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
350 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
179 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment