The habit of shifting losses may be many types, too, bro, for example there are those who like to slide when they are floating loss but there are also those who like to slide when it is floating profit.
It's not good enough to slide SL when floating loss but knowing that the action is not good is actually right and means you have the desire to change into a better trader. Moreover, you also complete an analysis that SL slides occur because there is a desire to always win, so I'm sure you can certainly develop into a better trader.