Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM template use for both LONG/SHORT ORDER without flatten opposite trade help

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

    ATM template use for both LONG/SHORT ORDER without flatten opposite trade help

    NinjaTrader_Emily- Hi Emily, u have been amazing to guide thru during previous issues. Thanks for that. I need another guidance in my code/strat developement

    Read example:

    Trading Instrument- NQ 03-2024

    Entry method - VIA ATM Template

    Example:

    I enter in trade LONG NQ @13500 at 10:00 AM. 1 Lot Long with 30 pts take profit and 50 pts Stop loss.

    Now, at 10:10 AM, I get short signal. So, I go short via ATM template with same 30 pts TP and 50 pts SL.

    -----
    Problem is: when I get opposite signal (means when my long trade is open and then i get short signal), via ATM template- my current long is flatten/closed.

    --
    WHAT I WANT IS- I WANT TO KEEP MY BOTH LONG AND SHORT NQ positions opened at the same time. AND I ALSO WANT TO KEEP ATM TEMPLATE'S ACTIVE TP/SL ACTIVE FOR BOTH SIDES Long and short.


    --

    How can i achieve this?

    how can I ensure that, when opposites signal comes, ATM Template WILL NOT FLATTEN MY current trade. and my Both ATM TEMPLATES and its TP/SL - BOTH STAYS ACTIVE AT THE SAME TIME?







    #2
    Hello manitshah915,

    Thanks for your post.

    It is not possible to have a long position and short position opened on the same instrument/account combination in NinjaTrader.

    If you are in a long position and then place a short order, the long position will be closed.

    Similarly, if you are in a short position and place a long order, the short position will be closed.

    Further, NinjaTrader does not support hedging.

    To have a long position and a short position opened on the same instrument, you would have to use two different account. One account to place the long position on, and a second account to place the short position on.

    See this forum thread for more information on this: https://ninjatrader.com/support/foru...tures-contract
    <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, Today, 05:17 AM
    0 responses
    24 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    120 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    63 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    45 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X