TYP:=(HIGH+LOW+CLOSE)/3;
CCI:(TYP-MA(TYP,5))/(0.015*AVEDEV(TYP,5));
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
主力进驻:=SUM(MACD<0,10)=10;
STICKLINE(主力进驻,0,MACD*200,10,0),COLORRED;
STICKLINE(CCI<-100,CCI,-100,1,0),COLORMAGENTA;
AA:-100;
BB:-100,COLORYELLOW;