Unfortunately you will just have to change your condition logic if you do not wish this to happen. You could try adding something like if (BarsSinceEntry() > 1) to the other conditions. Now of course you would want to change it back when you bring this strategy live though.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Stop Loss Method
Collapse
X
-
When using Set() methods it is a little different. You can't do it via regular Enter() and Exit() methods because you can't submit the orders on the bar yet, but Set() methods take into account that you want the stop/target immediately after you have submitted your order. If the bar has the stop price anywhere in it it will just stop out the position right there. This is a conservative approach to fill algorithm and it is necessary to prevent overestimates of your strategy performance. There is little that will be changed in this regards.
Unfortunately you will just have to change your condition logic if you do not wish this to happen. You could try adding something like if (BarsSinceEntry() > 1) to the other conditions. Now of course you would want to change it back when you bring this strategy live though.Josh P.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
61 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
148 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
98 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
286 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment