Not talking pips here.
But which formula is more accurate:
Returns profit of the currently selected order.
profit value (without swaps or commissions) for the selected order. For
open orders, it is the current unrealized profit. For closed orders, it
is the fixed profit.
You could check the documentation.