Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
strategy reference custom atm
Collapse
X
-
strategy reference custom atm
can i make a strategy's entry conditions trigger a custom atm strategy i have saved?Tags: None
-
Hello SteveReiza,
Thanks for your post.
Yes, to accomplish this you would need to use Atm Strategy Methods, such as AtmStrategyCreate(), in your script to submit an entry order that uses an ATM Strategy template to control stop loss and profit target orders.
Note that Atm Strategy Methods can only be used in an unlocked script. They are not accessible in a Strategy Builder strategy.
See the SampleAtmStrategy script that comes default with NinjaTrader for an example of using ATM Strategy templates in a custom NinjaScript strategy. To view the script, open a New > NinjaScript Editor window, open the Strategies folder, and double-click on the SampleAtmStrategy file.
See this help guide page for more information about Atm Strategy Methods and sample code: https://ninjatrader.com/support/help...gy_methods.htm
<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
-
thanks for the reply. cool cool. i'm going to stick with the strategy builder. i think i have the stop losses keyed in now - finally.
Comment
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
134 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
67 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment