TYP:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3;
CCI:EMA((TYP-MA(TYP,28))/(0.015*AVEDEV(TYP,28)),2),COLORWHITE;
粉低吸:EVERY(CCI<-150 AND CCI<REF(CCI,1),3),NODRAW;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
STICKLINE(CCI<-150,CCI,-150,2,0),COLORFF80FF;
STICKLINE(C>0,-150,-151,2,0),COLORBLUE;
风险线:222,COLORGREEN;
加速线:111,COLORRED;
起涨线:-89,COLORYELLOW;
DRAWICON(CROSS(CCI,-89),-89,30);
DRAWICON(CROSS(CCI,111),111,30);
DRAWICON(CROSS(111,CCI),111,2);
DRAWICON(CROSS(222,CCI),222,2);