Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multi entries in multi-timeframe

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

    Multi entries in multi-timeframe

    I have a three time frame strategy that for some reason refuses to enter into multiple positions. Upon good entry criteria it is supposed to enter into two seperate trades - each with the same stop loss but with different targets.

    If(LongEntryCriteria ==true)
    {
    EnterLong(1,"LMOMO1");
    EnterLong(1,"LMOMO1T2");
    SetStopLoss(CalculationMode.Price, stop);
    SetProfitTarget("LMOMO1", CalculationMode.Ticks, t1);
    SetProfitTarget("LMOMO1T2", CalculationMode.Ticks, t1*2);
    }

    This worked fine when I was using a single timeframe but some reason it is not taking both entries on this multi-time frame version. Is this a limitation of a multi time frame strategy?? Or do I just need to use the Iorder method instead?

    Please note that I am using entries per direction of 2 - so that is not the issue.

    Thanks in advance.

    ----------------------

    Hard coding the entries per direction seems to have resolved this issue.
    Last edited by jcwolfe00; 12-28-2009, 11:44 AM. Reason: Issue resolved

    #2
    jcwolfe, please try setting TraceOrders = true in the Initialize() section of your strategy and then review this post by Josh to learn how to use the order tracing tool.
    AustinNinjaTrader Customer Service

    Comment


      #3
      EntriesPerDirection

      Wouldn't his problem be caused by the EntriesPerDirection parameter. If this is set to 1 which is the default....then you can only enter one order.

      Leroy

      Comment


        #4
        Leroy, could have been, but the OP stated it was at 2 already as he was initially testing.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        639 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        366 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        107 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        569 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        572 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X