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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Working...
      X