Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How many opened positions?

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

    How many opened positions?

    Hi,

    Is it possible to count number of opened positions on every bar update?

    #2
    Yes, you could run for example a custom custom variable when you see fills / position updates coming in or you would access the exposed trades count in from the TradeCollection class.

    http://www.ninjatrader.com/support/h...collection.htm
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rgoudie, Yesterday, 08:30 PM
    4 responses
    22 views
    0 likes
    Last Post waltFX
    by waltFX
     
    Started by Amedeus, Today, 06:06 AM
    1 response
    7 views
    0 likes
    Last Post Amedeus
    by Amedeus
     
    Started by guillembm, 03-29-2023, 09:29 AM
    7 responses
    56 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by boomm, 03-19-2023, 07:07 AM
    15 responses
    312 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by gayathri, Yesterday, 12:08 PM
    3 responses
    26 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X