Everything is on the graph
Trade active:
Move the stoploss to the buy point
Trade closed: stop reached:
As you moved stoploss to the buy point, you have no losses