My solution is presented above. Having a good psychology won't do it.
The probleme is not technical.
When I trade, I have a list of trades "candidates" ( from preparation).
All is well.
Then , when I have finished, as I feel super confidente, I go on and put some
trades that are not on my list.
Now do you understand why psychology comes into play?