DIFF:=EMA(CLOSE,34) - EMA(CLOSE,55),COLORFF00FF,LINETHICK1;
DEA:=EMA(DIFF,13),COLOR00DDFF,LINETHICK1;
MACD:=2*(DIFF-DEA),COLORSTICK;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
AA:=CROSS(CCI,-128);
MM:=MACD>REF(MACD,1)AND MACD>0 AND CLOSE>OPEN;
紫选:=AA AND MM;
MA1:=MA(CLOSE,5);
MA2:=MA(C,10);
MA3:=MA(CLOSE,20);
一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1
一穿三 AND 紫选;