SL/TP Calculation Error

Fixed an error in the calculation of total Stop Loss (SL) and Take Profit (TP) metrics for open trades.