Green Doji on 5min so should have been cautious. In such case, its best to get out break even.
On 1 min it was a red candle as well so wasn't the best plan to enter the trade and failing to stop out.