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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      66 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      41 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      24 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      27 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      53 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X