Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Cancelled orders and strategy errors
Collapse
X
-
Cancelled orders and strategy errors
I keep getting this error and I need to know how to fix it because it is pausing my strategy. How do I fix this?
1 PhotoTags: None
-
Hello dylanbower,
Thanks for your post.
The error message is advising that a buy stop order was placed below the current market price and needs to be placed above the current market price.
What specific order methods are you using in your strategy for both entry and exit?
What is the "Calculate" setting of the strategy? (OnBarClose, OnPriceChange, or, OneachTick)
Where are you testing the strategy? (Live, Market replay, strategy analyzer?)
What instrument, bar type and bar size are you using?
Is this a multi-timeframe or multi-series strategy?
Are you using the Strategy Builder or the Ninjascript editor?
-
I am using regular market orders for long and short, I am using the OnBarClose calculate, I am testing the strategy live, I am trading NQ futures, I am using the Heiken Ashi candles on the 5 minute time frame and this strategy was built in the Strategy Builder.
Comment
-
For exit orders I am using a stop loss that I put in the strategy builder. I have a SetProfitTarget and SetStopLoss.
Comment
-
Hello dylanbower,
Thanks for your reply.
Please confirm what version of NinjaTrader8 you are using. (Look under Help>About).
Please post a screenshot of your Stops and Target window and any other sets that would have an exit order.
If you prefer not to post in a public forum, you are welcome to write into PlatformSupport[at]NinjaTrader[dot]Com, mark the e-mail Atten: Paul Ticket #3152448. Include a link to this thread in the body of the e-mail.
For a screenshot with Windows 8 or newer I would recommend using the Windows Snipping Tool.
Click here for instructions
Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.
Click here for detailed instruction
Comment
-
-
I am using the 8.0.24.2 64bit version and the stoploss is a user input. The stoploss is never set to a negative number.
Comment
-
-
Hello dylanbower,
Thanks for your reply.
I would like to test your strategy. Please attach the .cs file to your reply (or use the e-mail advised in post #6).
Please advise the specific settings you were using to generate the error.
Please advise the instrument, bar type, and time frame that the strategy was run on to reproduce the error.
The strategy file can be found in documents>NinjaTrader8>bin>Custom>Strategies> and will be as you named it with a .cs file type.
Finally, advise what time zone you are in.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
64 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
139 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment