Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Profit Target and Stop Loss not honored
Collapse
X
-
I suspect what you think should happen is really not what you coded. You will have to debug your strategy. Make sure that that the actual profit target prices are really at a lower price than the executed exit on close price. You could also verify this in a backtest by looking at the Orders Tab as you will see your profit target orders cancelled and the last price of the order.
Debug tip located here - http://www.ninjatrader-support.com/v...ead.php?t=3418RayNinjaTrader Customer Service
-
What reasons might there be for cancelling PT/SL orders. I'm seeing this happen in the Orders Tab. It seems to happen at the same second the order is placed. So when price comes to the point where they should be hit they aren't there.
I followed the suggestion to debug the strategy. There is little to debug. There are 2 Conditions relating to an EMA, a Market Entry and the PT/SL's. What seems to be happening is something about how NT handles orders that I don't understand.
Thanks for the help.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
27 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
117 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
69 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
226 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
417 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|

Comment