Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
managing more than 1 ATM strategy
Collapse
X
-
managing more than 1 ATM strategy
Let's say I buy manually using an atm strategy that has a stop loss of 50 ticks. If the ATM strategy is filled and the price goes against me, I dollar cost average and enter the same ATM strategy at a lower price. I notice that Ninjatrader will combine the second stop loss with the first stop loss instead of setting the second stop loss 50 ticks below the new entry price. I like it this way. How is that implemented in code? Currently, my code enters two atm orders; the second order being 10 dollars below the first. if the second order gets filled, the second stop loss isn't combined with the first stop loss. meaning if the price continues to go against me, i'd take 100 tick loss. Do i need to use the same atmStrategyID for the second order? thanks.Tags: None
-
Hello only_nq,
Thanks for your post.
The ATM Strategy code is not open source so we would not be able to provide specific details on the internal code used to do this.
That said, are you using Atm Strategy Methods in a custom NinjaScript strategy?
Are you referring to the behavior when you manually submit orders using the same Atm Strategy Template in Chart Trader? For example, manually submit an order with an Atm Strategy Template, then select the active Atm Strategy Template and place another order to scale into position?
We look forward to assisting further.<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>
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
52 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
29 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
194 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
355 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
274 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment