https://ninjatrader.com/support/help...culation+modes
The definition of profit in points is documented with this definition:
(1 for Long position, or -1 for short position) * Quantity * (Exit Price - Entry Price - Entry Commission - Exit Commission) / (Exit Rate * Point Value) / Lot Size
This is only an issue with the documentation. NinjaTrader itself appears to report the correct values.
I'm not quite sure what the correct equation should be to properly accommodate forex, but this one is clearly not correct.
Example:
Here's the output from a simple trade where I EnterLong on one bar and ExitLong on the next:
100: 11/8/2018 4:00:00 PM: instrument='ES 06-19' entryPrice=2731.5 exitPrice=2748 quantity=1 marketPosition=Long entryTime='11/5/2018 4:00:00 PM' entryTime='11/6/2018 4:00:00 PM' profitCurrency=821.36 100: 11/8/2018 4:00:00 PM: LONG-PROFIT-POINTS : 16.4272 100: 11/8/2018 4:00:00 PM: LONG-PROFIT-PERCENT : 0.00601398498993227 100: 11/8/2018 4:00:00 PM: LONG-PROFIT-CURRENCY: 821.36 100: 11/8/2018 4:00:00 PM: LONG-PROFIT-TICKS : 65.7088
- TickSize = 0.25
- PointValue = 50
- Commission per contract = 1.82
Profit in Points is 16.4272.
For a long trade in a futures instrument, the above equation should be more like:
= Quantity * ((ExitPrice - EntryPrice) - (EntryCommPerUnit + ExitCommPerUnit) / PointValue) = 1 * (2748-2731.5) - (2 * 1.82) / 50 = 16.4272
Quantity * (-1 * (ExitPrice - EntryPrice) - (EntryCommPerUnit + ExitCommPerUnit) / PointValue)