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 nuobo, Today, 07:43 PM
|
0 responses
1 view
0 likes
|
Last Post
by nuobo
Today, 07:43 PM
|
||
Started by ETFVoyageur, Today, 02:04 PM
|
3 responses
21 views
0 likes
|
Last Post
by ETFVoyageur
Today, 07:04 PM
|
||
Started by cre8able, Today, 06:18 PM
|
0 responses
5 views
0 likes
|
Last Post
by cre8able
Today, 06:18 PM
|
||
Started by ETFVoyageur, Today, 06:05 PM
|
0 responses
7 views
0 likes
|
Last Post
by ETFVoyageur
Today, 06:05 PM
|
||
Started by TAJTrades, 04-28-2024, 09:46 AM
|
2 responses
18 views
0 likes
|
Last Post
by TAJTrades
Today, 05:35 PM
|
Comment