• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    Patrick H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by YevhenShynkarenko, Today, 02:55 AM
    0 responses
    16 views
    0 likes
    Last Post YevhenShynkarenko  
    Started by pjsmith, Today, 02:20 AM
    0 responses
    8 views
    0 likes
    Last Post pjsmith
    by pjsmith
     
    Started by faisamtrader, Yesterday, 10:03 PM
    0 responses
    8 views
    0 likes
    Last Post faisamtrader  
    Started by johnnybegoode, Yesterday, 08:11 PM
    0 responses
    4 views
    0 likes
    Last Post johnnybegoode  
    Started by Bionian, Yesterday, 02:47 PM
    2 responses
    26 views
    0 likes
    Last Post Bionian
    by Bionian
     
    Working...
    X