Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Conditional, is there order X?

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

    Conditional, is there order X?



    Hi, nice day.

    I do not know what mechanics to use in the strategy manager to be able to do the following: Condition: - Order 1 is active (open)? I have a condition that should NOT be executed if an order is open. Order 1: It opens by simple signal. Order 2: It is opened by a simple signal, which in turn causes order 1. (reverse) to be closed. Error: Order 2 can be closed again since the signal to open order 1 appears. So, I need to add an additional conditional for order 1 which is: "Is there order 2?".


    Thank you very much and greetings.

    #2
    Hello samir,

    Thanks for your post.

    In the strategy builder, you can use the market position to see if you are in a market position of Long, short or Flat. Please see the help guide section, "How to create market position comparisons" https://ninjatrader.com/support/help...on_builder.htm for an example.

    Comment


      #3
      Very thanks PaulH,
      I had not noticed with attention in this parameter.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      41 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      124 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      64 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      41 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X