Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Cant fix this error :'(...Stop price cant be placed above market order
Collapse
X
-
Tags: None
-
Hello rickyblah12,
Thank you for your post.
This error is made when a strategy tries to place a stop market order, in this case, your stop loss, to a price that is above the current market price.
Be sure to always check the current market price before you submit the stop-loss order to a new price to avoid this problem.
Could you please export your script and post it here so I can see about reproducing the issue?
I look forward to your reply.Chris L.NinjaTrader Customer Service
-
-
Hello,
Thanks for your reply.
If a strategy caused this error, it would be running on one of your charts or through the Strategies tab of the Control Center. The name of the strategy can be found through the strategies menu of your chart or through the strategies tab. Is there an automated strategy running in your workspace or are you getting this error while manually trading?
I look forward to your reply.Chris L.NinjaTrader Customer Service
Comment
-
auto strategy this is the error message
4/1/2019 12:52:00 PM Order Order='ae9f7474741b4e5dbf6d2589c9949e26/Sim101' Name='Trail stop' New state='Accepted' Instrument='NQ 06-19' Action='Sell' Limit price=0 Stop price=7481.5 Quantity=1 Type='Stop Market' Time in force=GTC Oco='b5f1d1ac1bce49019f5eb7b602a7c1d3' Filled=0 Fill price=0 Error='Unable to change order' Native error='Stop price can't be changed above the market.'
Comment
-
-
-
Hello,
Thanks for your reply.
You should get an error in the Log tab of your Control center that says "Strategy 'MyStrategyName/######' submitted an order that generated the following error 'Order rejected'."
Can you find anything like this in the log tab of the Control Center?
I look forward to your reply.Last edited by NinjaTrader_ChrisL; 04-02-2019, 07:22 AM.Chris L.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Aviram Y, Today, 05:29 AM
|
0 responses
2 views
0 likes
|
Last Post
by Aviram Y
Today, 05:29 AM
|
||
Started by quantismo, 04-17-2024, 05:13 PM
|
3 responses
25 views
0 likes
|
Last Post Today, 05:23 AM | ||
Started by ScottWalsh, 04-16-2024, 04:29 PM
|
7 responses
34 views
0 likes
|
Last Post Today, 05:15 AM | ||
Started by cls71, Today, 04:45 AM
|
0 responses
6 views
0 likes
|
Last Post
by cls71
Today, 04:45 AM
|
||
Started by mjairg, 07-20-2023, 11:57 PM
|
3 responses
217 views
1 like
|
Last Post
by PaulMohn
Today, 04:22 AM
|
Comment