More importantly, how can I work around this problem?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
EnterShortStop at Close[0]
Collapse
X
-
EnterShortStop at Close[0]
I want to EnterShortStop(Close[0]), but in simulation this is rejected with the following error:
There is no guarantee that the next price will meet the stop condition, so why is this an error?A SellShort stop order placed at '4/29/2015 09:35:16' has been ignored since the stop price is greater than or equal to close price of the current bar. This is an invalid order and subsequent orders may also be ignored. Please fix your strategy.
More importantly, how can I work around this problem?Tags: None
-
Hello dbooksta,
Thank you for your post.
You would need a Short Stop below the current market price. In addition, market could move before this order is received and thus reject it if at an invalid price.
You can try Close[0] - (1 * TickSize), or any variation to try to ensure the Stop is submitted below the current price or at it's price level.
Please let me know if you have any questions.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
633 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment