Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
SetStopLoss reflected in historical bars?
Collapse
X
-
SetStopLoss reflected in historical bars?
I am trying to utilize the SetStopLoss () to set the stop loss to break even after X ticks in profit. I do not see that being reflected on the chart. Is this to be expected? Is it only durring actual live trades that this function will be reflected? Thanks in advance!Tags: None
-
Hello connorlmarble,
The execution markers would show for historical executions including stop losses. Is the strategy applied to the chart you are viewing?
Do you see the execution in the strategy performance window on the Executions display?
For real-time working orders, these would appear when chart trader is enabled and set to the same account as selected for the strategy.
If you are asking about changing the price of Set method from OnBarUpdate(), this would update when the bar closes.
If you would like intra-bar price movements, this would require intra-bar granularity and tick replay.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
87 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
132 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
65 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
118 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
67 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment