Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

managing more than 1 ATM strategy

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.

    #2
    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>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    56 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    133 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    73 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X