orderProfit give in pips instead of currency

 
Hi,

I just noticed that when i call up orderProfit() it gives the result in the currency. Is there anyway i can have it give in the amount in pips count? Thanks.
 
You may calculate thr profit in points as OrderClosePrice()-OrderOpenPrice().
See "MQL4: OrderClosePrice"
Reason: