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 helpwanted, Today, 03:06 AM
      1 response
      12 views
      0 likes
      Last Post sarafuenonly123  
      Started by Brevo, Today, 01:45 AM
      0 responses
      9 views
      0 likes
      Last Post Brevo
      by Brevo
       
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      5 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      242 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      387 views
      1 like
      Last Post Gavini
      by Gavini
       
      Working...
      X