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 josh18955, 03-25-2023, 11:16 AM
      6 responses
      435 views
      0 likes
      Last Post Delerium  
      Started by FAQtrader, Today, 03:35 PM
      0 responses
      3 views
      0 likes
      Last Post FAQtrader  
      Started by rocketman7, Today, 09:41 AM
      5 responses
      18 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by frslvr, 04-11-2024, 07:26 AM
      9 responses
      127 views
      1 like
      Last Post caryc123  
      Started by selu72, Today, 02:01 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_Zachary  
      Working...
      X