SL to Cost adjusts the stop-loss level to the entry price once the trade reaches a desired profit level. This ensures a risk-free trade by protecting against losses while allowing for further gains. It works in conjunction with Trail SL, prioritising the movement of SL to cost if both are enabled.