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 zstheorist, Today, 07:52 PM
|
0 responses
3 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
149 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
5 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
||
Started by tkaboris, Today, 05:13 PM
|
0 responses
5 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
Comment