Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Muliti enter strategy stop loss problem.

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

    Muliti enter strategy stop loss problem.

    I use this method for stop loss:
    {
    CalculateOnBarClose = true;
    SetStopLoss(CalculationMode.Ticks, stop);
    SetProfitTarget("", CalculationMode.Ticks, Limit);

    }
    and mentod shown here Strategy: Modifying the price of stop loss and profit target orders to move stop to breakeven.

    It working good for single enter per direction but if I set few entries
    all stop loss orders are moved to breakeven at same time together ( in the middle of all entries level) and filled in the same time.
    How to set separate stop and breakeven for each enteries??
    Can I have any code sample or prompt.
    Rgds
    Czarek

    #2
    Call the SetStopLoss() each time for each unique entry signal.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
    20 responses
    64 views
    0 likes
    Last Post cmtjoancolmenero  
    Started by llanqui, Today, 11:13 AM
    4 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by samish18, 04-17-2024, 08:57 AM
    27 responses
    118 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by ETFVoyageur, 04-30-2024, 02:04 PM
    7 responses
    46 views
    0 likes
    Last Post eDanny
    by eDanny
     
    Started by f.saeidi, Today, 07:07 AM
    5 responses
    16 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X