Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM/NinjaScript Commission Question

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

    ATM/NinjaScript Commission Question

    I have a question regarding how NinjaTrader handles orders from a commission standpoint.

    For instance, I see that when using an ATM strategy to say buy 100 shares and then have 2 targets and 2 stops entered, only a single commission is charged on the entry. Then each of the 4 open orders (2 limits & 2 stops bracketed) will each incur their own commission.

    My question is... using a NinjaScript Strategy, is it possible to enter the market once on entry (thus one commission charge) yet still be able to have two profit targets and two stop losses (like in the ATM example above)?

    The following code would generate 2 commissions on entry:

    EnterLongStopLimit(0, false, 50, LimitPrice, StopPrice, "LongEntry1");
    SetStopLoss("LongEntry1", CalculationMode.Price, StopLossPrice1, false);
    SetProfitTarget("LongEntry1", CalculationMode.Price, R1_Price1);

    EnterLongStopLimit(0, 50, Shares, LimitPrice, StopPrice, "LongEntry2");
    SetStopLoss("LongEntry2", CalculationMode.Price, StopLossPrice2, false);
    SetProfitTarget("LongEntry2", CalculationMode.Price, R2_Price2);

    Is there a way to enter once and still end up with 2 profit targets and 2 stop losses for that order?

    Thanks

    fosch

    #2
    fosch, this is unfortunately not possible if you're using the Set methods and the signal naming outlined - to scale out like you envision you would need to scale it first with a NinjaScript strategy -

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    574 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    333 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    553 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X