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 Mindset, 04-21-2026, 06:46 AM
      0 responses
      93 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      138 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      123 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      73 views
      0 likes
      Last Post PaulMohn  
      Working...
      X