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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    60 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    147 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    161 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    97 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    284 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X