Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Simultaneous Orders on the same side

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

    Simultaneous Orders on the same side

    Hi,

    I think there is a bug in Ninja
    I have found this situation on a NinjaScript Strategy:

    I place 2 buy orders:

    if (Condition1) EnterLongStop(1, Price1, "Order1");
    if (Condition2) EnterLongStop(1, Price2, "Order2");

    and always Price2 < Price1

    The question is that if Condition1 and Condition2 are true then Ninja buys at Price1 and this is wrong.

    Are there solution for this issue ?

    #3
    Ok Dierk,

    I saw this information thanks.

    But, it's not the question.

    In the situation of the first message with

    EntryHandling to a value "AllEntries" and EntriesPerDirection to a value of "1" if Condition1 and Condition2 are true we must entry at Price2, not at Price1.

    Comment


      #4
      Incorrect, 2nd Entry is rejected as the first entry was placed, since Condition1 is true.

      Please debug your strategy as per here to understand what's going on: http://www.ninjatrader-support.com/v...ead.php?t=3627

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by jaybedreamin, Today, 05:56 PM
      0 responses
      3 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      18 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Started by Jon17, Today, 04:33 PM
      0 responses
      1 view
      0 likes
      Last Post Jon17
      by Jon17
       
      Started by Javierw.ok, Today, 04:12 PM
      0 responses
      6 views
      0 likes
      Last Post Javierw.ok  
      Started by timmbbo, Today, 08:59 AM
      2 responses
      10 views
      0 likes
      Last Post bltdavid  
      Working...
      X