N:=14;TYP:=(HIGH+LOW+CLOSE)/3;CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));角度:ATAN((CCI/REF(CCI,1)-1)*100)*180/3.1416,NODRAW;STICKLINE(CCI<-150,CCI,-150,2.5,0),COLORRED;STICKLINE(C>0,-150,-151,2.5,0),COLORBLUE;STICKLINE(C>0,+150,+151,2.5,0),COLORBLUE;STICKLINE(C>0,+100,+100,2.5,0),COLORYELLOW;STICKLINE(C>0,-100,-100,2.5,0),COLORYELLOW;STICKLINE(C>0,0,0,2.5,0),COLORRED;RSI1:=CCI;AA:=REF(RSI1,N)=HHV(RSI1,2*N+1);BB:=BACKSET(AA,N+1);CC:=FILTER(BB,N) AND RSI1=HHV(RSI1,N+1);A1:=BARSLAST(REF(CC,1));顶