Stop Loss Profit Impact on Risk Counter

Ensure that when a stop loss results in a profit, it is accurately reflected in the risk counter.