calculate value of pips and commission/profit