Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Auto Trail ATM to NinjaScript
Collapse
X
-
Auto Trail ATM to NinjaScript
Hi, I was trying to incorporate this strategy( please see the image) into a script, but I couldn't figure out the Auto-Trail part. If someone can share an example script that mainly shows the Auto-Trail (Stop loss, Profit Trigger, Frequency) logic, that would be a great help. Thank you so much!
Tags: None
-
Yes, mainly the trailing stop loss part. I have added the image as an attachment now. Please check. I am looking for an example script to follow. Is there particular commands for Auto Trail- Frequency or do we have to write the logic around the trail function?Originally posted by NinjaTrader_Jesse View PostHello rajm1,
Unfortunately an image was not included so I was unable to view it.
Are you asking how to recreate different features of an atm strategy or are you trying to use an atm from NinjaScript?
I am new to all these, thank you for your time.
Comment
-
Thank you, I will check that out.Originally posted by NinjaTrader_Jesse View PostHello rajm1,
You can find a sample strategy that does trailing in the following post, that will trail similar to how an ATM does. It uses a frequency of price movement before trailing similar to an atm.
https://forum.ninjatrader.com/forum/...rategy-builder
Comment
-
Hello Jesse, that was helpful. I was able to get it done. Now I have another request. How do you run synchronized trades on 2 instruments with one NinjaScript strategy? Please share if you have some helpful hints for that. Examples files are welcome. Thanks in advance.
Comment
-
Hello rajm1,
While using the strategy builder that is not possible, in manual coding you can add additional series that can be used to execute trades on. I would suggest reviewing the multi series documentation before trying that concept, there are samples of how to use multiple series including submitting orders to other series in the following link.
Comment
-
Ok, let me check it out. ThanksOriginally posted by NinjaTrader_Jesse View PostHello rajm1,
While using the strategy builder that is not possible, in manual coding you can add additional series that can be used to execute trades on. I would suggest reviewing the multi series documentation before trying that concept, there are samples of how to use multiple series including submitting orders to other series in the following link.
https://ninjatrader.com/support/help...nstruments.htm
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
113 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
60 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
40 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
43 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
81 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment