Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Average Price

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

    Average Price

    I'm having trouble computing my average price. I think it's wrong on my chart. Maybe it's a bug or maybe I'm just not understanding correctly. Here is what I've done.
    • Short ES at 1404.50 (2 contracts)
    • Take profit on 1 contract at 1396.75
    • Short 1 contract at 1390.25
    • Stop out 1 contract at 1393.50

    Now I am short 1 contract. The way I think about it I'm still short from my original position at 1404.50 and the way it is reporting in Account Performance is that I closed my original position with the stop out so you can also look at it as I'm short from 1390.25.

    However, NinjaTrader is showing that I'm short by 1 contract from an average price of 1399.75. How in the world was this price calculated?

    #2
    Hello Simmen,
    Thanks for writing in and I am happy to assist you.
    NinjaTrader takes the average price into consideration to calculate the prosition price

    In your case its is (1404.50 * 2 + 1390.25) / 3 which comes to 1399.75

    You can also change the calculation method to FIFO (first in first out) from:
    • In Control Center menu bar goto Tools>Options and click on the General tab.
    • In the General tab, check on "Use FIFO for position avg price calculation"


    Please let me know if I can assist you any further.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    27 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    117 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    69 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    226 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    417 views
    0 likes
    Last Post CaptainJack  
    Working...
    X