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 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