String of losses are not random. Albeit, Trading involves skill*. Without skill, then of course you will deal with a "string of losses". First get skilled.
Once you have skill, solve the actual problem, by finding the precursors to a "string of losses" and minimizing it into irrelevance...