| Order # | Entry | Exit | NT Average | Correct Average | |
| 1 | 4314.5 | 4314.5 | 4314.5 | ||
| 1 | 4314.5 | 4314.5 | 4314.5 | ||
| 2 | 4313.75 | 4314.25 | |||
| 2 | 4313.75 | 4314.125 | 4314.125 | ||
| 2 | 4313.75 | 4314 | 4314.25 | ||
| 2 | 4314.75 | 4313.75 | 4314.5 | ||
| 3 | 4309.75 | 4311.25 | 4312.916667 | ||
| 3 | 4309.75 | 4310.916 | 4312.125 | ||
| 4 | 4309.25 | 4309.625 | 4311.55 | ||
| 4 | 4309.25 | 4309.035 | 4311.16 | ||
| 5 | 4305.75 | 4310.39 | |||
| 5 | 4305.75 | 4309.625 | 4309.81 | ||
| 5 | 4306.75 | 4309.035 | 4310.39 | ||
| 3 | 4309.75 | 4308.25 | 4310.5 | ||
| 4 | 4309.75 | 4307.95 | 4310.75 | ||
| 5 | 4309.75 | 4307.5 | 4312 | ||
| 4 | 4311 | 4306.916 | 4312.91 | ||
| 3 | 4312 | 4305.75 | 4314.5 | ||
| 1 | 4310 | 4305.75 | 4314.5 | ||
| 1 | 4310 |
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Accurate Cost Basis calculation
Collapse
X
-
Accurate Cost Basis calculation
Is there a way to update the break even / average price that is shown? If you average into a position the calculation is obviously correct until you start closing positions. At that point the "number shown on the screen" uses a FIFO method of averaging while the actual positions close is tied to that particular entry. I inserted a table to demonstrate the correct average vs what NinjaTrader shows.Last edited by WynneIndustries; 10-22-2023, 11:36 AM.Tags: None
-
Hello WynneIndustries,
Thank you very much for your post.
By default, NinjaTrader Desktop would indeed use the FIFO method to calculate the average profit and loss.
At the current time, it is not possible to modify this behavior. We have a pending feature request with our development team to enable the customization thereof.
I have added a vote on your behalf to this feature request. I will follow up with a tracking number as soon as I have further information.
Please don't hesitate to let me know, should you have any further questions!
-
Thank you for the response, Manfred.
I completely understand the FIFO methodology and appreciate the ticket being placed on it. All I'm after is the position being removed from the average as it is closed. Not trying to tell anyone how to do their jobs (seriously, just a thought process through it), but maybe tie the position in the calculation to the order entry like the stops and profit targets are? The P/L seems to calculate correctly, it's just the average price as individual positions are closed.
Thank you!
Comment
-
-
Hello WynneIndustries,
Unfortunately, we don't have a timeline for the implementation of specific feature requests.
Our development team reviews these requests regularly and will implement them based on the feasibility.
Once a feature is implemented, you may find further information in our Release Notes below:
Please don't hesitate to let me know, should you have any further questions!
Comment
-
Sorry if I come across as crass but I guess I thought it was more an error correction than a feature request and would be handled as such.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
88 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
30 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
34 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
68 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment