Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

using AvePrice in a multi-symbol strategy

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

    using AvePrice in a multi-symbol strategy

    Hi again,

    I have a multi-symbol strategy and want to get the average entry price for each symbol. I tried the following:

    Positions[0].AvePrice

    I get the compile error:

    NinjaTrader.Cbi.Position does not contain a definition for AvePrice

    How should I get the average entry prices for each symbol for open positions?

    Thanks,

    Folls

    #2
    Not sure why you think it should be AvePrice. Please check out the intellisense in the editor or the docs which would show AvgPrice. http://www.ninjatrader-support.com/H.../AvgPrice.html

    Comment


      #3
      sorry about that

      I apologize for that. I'm not sure what I was thinking. I looked at that page at least 5 times before posting. Maybe it was because I was abbreviating average as Ave in some of my properties in my code. In any case, sorry for wasting your time on that one. The support here is excellent as always.

      Folls

      Comment


        #4
        Glad issue is resolved for you.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        599 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        344 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        558 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        557 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X