Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

HOw to Get Count of Entries Current Position

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

    HOw to Get Count of Entries Current Position

    Hello,

    I am wondering if there is a way to get a count of the number of entries currently filled for the open Position?

    Thought I would be able to do something like Positions[0].ExecutionCount

    Is there a way to get the count from the Position so I don't have to manage count?

    Thanks,

    #2
    Hello tornadoatc,

    Thank you for your post.

    You would pull Position.Quantity: http://ninjatrader.com/support/helpG...n_quantity.htm

    If you are trying to pull the number of executed orders it would require a custom count.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by WHICKED, Today, 12:45 PM
    2 responses
    18 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by GussJ, 03-04-2020, 03:11 PM
    15 responses
    3,276 views
    0 likes
    Last Post xiinteractive  
    Started by Tim-c, Today, 02:10 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    5 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    51 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Working...
    X