There should be some indication when this situation occurs.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Stop Loss and Target at the same Bar Question
Collapse
X
-
Stop Loss and Target at the same Bar Question
I was wondering how trades are counted in the strategy analyzer if the target price and the stop loss fall into the same bar. I ran an optimization on stop loss, target price and data series and got results too good to be true without any warning.
There should be some indication when this situation occurs.Tags: None
-
Hello,
Either the stop or the target will be executed depending on where the bar closes and where those orders were working before the bars closes.
So I may better document your feature request, what type of indication would you like to see in this situation? Is the situation strictly when the stop or target is executed on the same bar?MatthewNinjaTrader Product Management
-
This situtation was strictly when both orders fell into the same bar, two OCO orders executing at the same bar.
My preferred solution would be an entry in the summary screen, with a count of OCO conflicts added.
I added a minute bar for the orders, and the results are now reasonable. (first optimization result was 4 ticks SL, 10 ticks target and 60 min bars)
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, Yesterday, 09:41 PM
|
1 response
21 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, Today, 02:41 AM
|
0 responses
7 views
0 likes
|
Last Post
by CarlTrading
Today, 02:41 AM
|
||
|
Started by CaptainJack, Yesterday, 11:44 PM
|
0 responses
18 views
1 like
|
Last Post
by CaptainJack
Yesterday, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
35 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
33 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment