Moving a stop is not a "mistake". A mistake is going short when you meant to go long. Moving stops is a result of lack of discipline, it is poor behavior and had to be eradicated before you go broke.
Moving stops to hope for a turn around is trading like an amateur. Stop trading until you fix this. You are having a bigger problem than you realise.
Google "trading never losing method" the first response back begins with "100% Guarantee you will never lose a single trade"
Very true.Moving your stop will work a large % of the time if you are in a range bound market and your moving the stop to slightly outside the range if it was inside the range before.The problem arises when the breakout was real and the market trends ..then you lose big.
Call your broker to see if they can implement on their back end. It will fix the issue. Daily stop loss and trade stop loss.
You realize don't you that you're asking the board, "how do I make myself do the right thing"? Doubt any of us have an answer.