Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Changing the trailing stop
Collapse
X
-
Changing the trailing stop
I want to change the trailing stop in an automated strategy similar to how it is done in the ATM. After a certain level a profit I want to tighten the trail. Will I need to use an OCO to recreate the trailing parameters? Also, is it possible to backtest OCOs ?Tags: None
-
Asing,
Its possible to use a pre-made ATM strategy for all order entries in a automated strategy. There is a reference sample on how to do this that comes with NinjaTrader accessible by going to Tools > Edit NinjaScript > Strategy > SampleATMStrategy.
Here is a link to our help guide on ATM strategy methods : http://www.ninjatrader.com/support/h...gy_methods.htm
Please let me know if I may assist further.Adam P.NinjaTrader Customer Service
-
Thanks for the quick reply. My impression was that using the pre-made ATM was only as a semi-manual exit option. So you could automate an entry and then manage the exit with the ATM. Also, I thought that you can not test any strategies with the pre-made ATM trailing stops?
Comment
-
Asing,
Yes, you could not test the strategy using the strategy wizard using ATM strategies.
I would suggest that you consider the Unmanaged approach if you want to be able to backtest, as well as have all the functionality of a ATM strategy. The main issue here is you would need to program all the logic yourself.
Here is a link to our help guide on the topic : http://www.ninjatrader.com/support/h...d_approach.htm
Please let me know if I may assist further.Adam P.NinjaTrader Customer Service
Comment
-
I am a little confused about using the ATM methods. If we used the" managed approach" with ATM methods, ( not using the wizard) can I create these trailing stops that tighten through an OCO call? and then back-test?
Or is this only possible with the unmanaged approach?
Comment
-
Asing,
You can use either a trailing stop or a static stop loss in the managed approach as SetStopLoss() will override the trailing stop. If you want to tighten the trailing stop, you can simply use : SetTrailStop() and use whatever logic you want to reset it.
Please let me know if I may assist further.Adam P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
61 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
148 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
98 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
286 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment