Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Trail stop is stopping at breakeven
Collapse
X
-
Trail stop is stopping at breakeven
I have a very simple strategy that triggers once a day. I want to test the strategy with a trail stop instead of a fixed stop. I adjusted the fixed stop in Strategy Builder to a trailing stop, however, in each instance the trail stop is appearing at my entry price instead of a true trailing stop. I adjusted strategy builder to calculate on price change but it is still happening. Any suggestions?Tags: None
-
Hello rmhollon,
Welcome to the NinjaTrader forums!
The trailing action will update when the bar updates. In historical this will always be OnBarClose.
Using Calculate.OnPriceChange should update the trail distance in real-time.
Below is a link to a quick video i've recorded demonstrating.
In historical for trailing to update for each price change, the script would need to be unlocked and 1-tick intra-bar granularity implemented by hand with TickReplay enabled.
Below is a link to a support article on 1-tick intra-bar granularity and TickReplay.
And an example that implements 1-tick intra-bar granularity and does trailing action.
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
128 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
117 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