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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
47 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment