TYP:=(HIGH+LOW+CLOSE)/3;CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),colorwhite,LINETHICK1;STICKLINE(CCI>REF(CCI,1),HHV(CCI,3),LLV(CCI,3),0,0),colorred;STICKLINE(CCI<REF(CCI,1),HHV(CCI,3),LLV(CCI,3),0,0),colorgreen;DRAWTEXT(((LLV(LOW,21) = LOW) AND NOT((LLV(CCI,21) =CCI))),LLV(CCI,21),'买入'),coloryellow;DRAWTEXT(((HHV(HIGH,34) = HIGH) AND (MA(CCI,3)<REF(MA(CCI,3),1) OR CCI<REF(CCI,1)) AND NOT((HHV(CCI,34) = CCI))),HHV(CCI,55),'卖出'),colorcyan;a:100;b:-100;DRAWICON(CROSS(CCI,a),a,1);DRAWICON(CROSS(a,CCI),a,2);