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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    79 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    63 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    54 views
    0 likes
    Last Post CarlTrading  
    Working...
    X