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 NullPointStrategies, Today, 05:17 AM
|
0 responses
44 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
124 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment