Please explain me the situation - I have a couple of strategies runned in strategies tab. I`ve checked it an found that 3 of them were closed with an error: Sell stop or stop limit orders can`t be placed above the market. What is the problem?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Err: order can`t be placed above the market
Collapse
X
-
Err: order can`t be placed above the market
Hello.
Please explain me the situation - I have a couple of strategies runned in strategies tab. I`ve checked it an found that 3 of them were closed with an error: Sell stop or stop limit orders can`t be placed above the market. What is the problem?Tags: None
-
Hello Vitaleg,
You're using calculation mode price, so it's possible to submit at the wrong side of the market, leading to the messages you're getting.
I suggest using print statements to check the value of your stop losses. Variables lower, higher, and trailstop should all be checked to make sure they are what you expect.
Additional debugging help is available here:
Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by arvidvanstaey, Today, 02:19 PM
|
4 responses
11 views
0 likes
|
Last Post Today, 04:08 PM | ||
Started by samish18, 04-17-2024, 08:57 AM
|
16 responses
61 views
0 likes
|
Last Post
by samish18
Today, 03:30 PM
|
||
Started by jordanq2, Today, 03:10 PM
|
2 responses
9 views
0 likes
|
Last Post
by jordanq2
Today, 03:23 PM
|
||
Started by traderqz, Today, 12:06 AM
|
10 responses
18 views
0 likes
|
Last Post
by traderqz
Today, 02:49 PM
|
||
Started by algospoke, 04-17-2024, 06:40 PM
|
5 responses
48 views
0 likes
|
Last Post Today, 02:36 PM |
Comment