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 XXtrader, Yesterday, 11:30 PM
      2 responses
      11 views
      0 likes
      Last Post XXtrader  
      Started by Waxavi, Today, 02:10 AM
      0 responses
      6 views
      0 likes
      Last Post Waxavi
      by Waxavi
       
      Started by TradeForge, Today, 02:09 AM
      0 responses
      11 views
      0 likes
      Last Post TradeForge  
      Started by Waxavi, Today, 02:00 AM
      0 responses
      2 views
      0 likes
      Last Post Waxavi
      by Waxavi
       
      Started by elirion, Today, 01:36 AM
      0 responses
      7 views
      0 likes
      Last Post elirion
      by elirion
       
      Working...
      X