Moving average crossover technique is a widely used one
Buy
MAlong < MAshort
sell
MAlong > MAshort
but this technique produces many unnecessary crossover signals like this one
How can i prevent these unnecessary crossovers? Tried increasing the duration but creates other unnecessary crossovers