Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM Challenges: Resting Multiple Buy and Sell Orders with Stops

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

    ATM Challenges: Resting Multiple Buy and Sell Orders with Stops

    Hi,

    As part of my mean reversion strategy, I need to be able to rest 4 orders at the same time in the market, two to buy at two separate prices, and two to sell at two separate prices (i.e. 2 x long and 2 x short orders). I want to be able to set stop losses on all orders if any/all get triggered.

    When I try to place these orders using the simple ATM strategy for each, I get an error to indicate that I can't do this: "You can't submit an exit order to a strategy until any of its entry orders has been filled". It appears to confuse my sell short orders with the exit orders, rather than treating them all as distinctly separate buy and sell short orders for which I would like the ATM strategy to apply to individually.

    Is there a solution to this please? Sorry if I'm missing something obvious, I am relatively new to ATMs via NinjaTrader8.

    Many thanks!

    #2
    Hello adamdominikneil,

    Thanks for your post.

    Do you want to code a NinjaScript strategy that uses Atm Strategy Methods to control the Profit Target and Stop Loss tied to an entry order?

    Or, are using the ATM Strategy Template drop-down menu on Chart Trader or the SuperDOM and manually placing your entry orders on the chart?

    Note that NinjaScript does not support submitting both Long and Short orders on the same account and same instrument at the same time.

    More information about that could be found here: https://ninjatrader.com/support/foru...tures-contract

    I 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
    63 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    139 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    75 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
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X