How can I do this using ninjascript in my strategy? SetTrialStop doesn't have trigger and Frequency?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Trailing Stop with increment (frequency)
Collapse
X
-
Trailing Stop with increment (frequency)
To really take advantage of the trailing stop, I would like to have an increment to it, like is possible in the ATM, as shown in the image below from the NT Blog.
How can I do this using ninjascript in my strategy? SetTrialStop doesn't have trigger and Frequency?
Tags: None
-
Hello Shai Samuel,
If you wanted to use ATMs specifically you can see the SampleATMStrategy that comes with NinjaTrader, that shows how to use an atm. If you otherwise wanted to trail at a frequency you would have to make logic for that. There is a strategy builder sample that shows how to do that here:
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
88 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
135 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment