The secret to avoiding these errors is to use a set of simple, concrete rules. Ideally, we should write them down and strictly follow them. Simple, concrete rules are testable. They should be back tested and battle tested. The back test makes sure the rules work over historical data sets, ideally in different countries and stock markets. The battle test makes sure the rules work in practice. No strategy has ever failed in theory. Almost all have failed in reality.