3 way cross over

Hi, i need a code for cross over for SMA 8,20,50

seached the zerodhaqna and found nothing that matches…

Regards

Gururaj Rao

hElLO tRaDeR,

SCRIPT:

SMA(CLOSE,20) > SMA(CLOSE,50) AND 
CROSSOVER(SMA(CLOSE,8) , SMA(CLOSE,20))