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;
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,1);
DRAWICON(CROSS(CCI,111),111,1);
DRAWICON(CROSS(111,CCI),111,2);
DRAWICON(CROSS(222,CCI),222,2);