BM:=EMA(C,2);SM:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(BM,SM);SEL:=CROSS(SM,BM);CPX:=MA(CLOSE,9);JDX:=MA(CLOSE,20);CROSS(BM,SM);