Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

how to test for existing order

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

    how to test for existing order

    I tried reading through threads and querying the manual but can't find the simple answer here.
    How do I test to see if I have a position active. I have a trailstop created by:
    SetTrailStop("", CalculationMode.Ticks, 8, false);

    It is firing like it should, but then I don't know how to capture this fact so I can reinitialize and enter into a new trade.

    I'm sure there is an easy answer to this, I just can't find it.

    Thanks in advance.

    #2
    Hello,
    Thanks for posting today.

    Are you referring to an account position or a strategy position?

    To get a better understanding of how to sync these account here is a link to our help guide on Strategy Position vs. Account Position. http://www.ninjatrader.com/support/h..._account_p.htm

    Please let us know if we may be of further assistance or clarification for anything NinjaTrader.
    Alex G.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by mgregor View Post
      I tried reading through threads and querying the manual but can't find the simple answer here.
      How do I test to see if I have a position active. I have a trailstop created by:
      SetTrailStop("", CalculationMode.Ticks, 8, false);

      It is firing like it should, but then I don't know how to capture this fact so I can reinitialize and enter into a new trade.

      I'm sure there is an easy answer to this, I just can't find it.

      Thanks in advance.
      Lookup MarketPosition in the NT Help.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      144 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      69 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      125 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      78 views
      0 likes
      Last Post PaulMohn  
      Working...
      X