Ok I'll give you the secret.
Years and years of learning, effort, experience and practice. Heard that before? it seems to have been drummed into retail traders that trading is about inventing some rules for entry/exit, money management, and psychology, then sticking to those rules with steadfast determination, and driving away in your Ferrari! The reality of profiting from the markets couldn't be further away from this.
Each trade I take is totally unique, it has its unique rules of how I'm going to enter and exit, I manage my risk depending on how I view the trade. This is a million miles harder than blindly following a set of overarching rules, both in terms of how much knowledge and effort it takes, and in terms of dealing with the psychological aspects. It may be that I see a trade coming for months and am able to plan everything clearly, or it may be that I have a matter of minutes so I have to be extremely quick to think and react. It may be that I hold a trade for an hour, or I might hold it for 6 months. Total flexibility should be the ultimate aim of a trader.
I could spend a long time going into my trading methodology, but it won't be of much use to you because my circumstances and knowledge are unique to me. But it boils down to this, trading is an art, not a science or a maths game.
By the way, I realise that the word random wasn't referring directly to the market, but it shouldn't be used in any connection to trading whatsoever!