abs added to calc_stoploss