{“秒杀CCI”副图源码:}
TJ1:=(HIGH+LOW+CLOSE)/3;
TJ2:=MA(TJ1,12);
TJ3:=AVEDEV(TJ1,12);
TJ4:=HHV(HIGH,12);
TJ5:=LLV(LOW,12);
TJ6:=100*(TJ4-CLOSE);
CCI:(TJ1-TJ2)/(0.015*TJ3);
WR1:EMA(TJ6/(TJ4-TJ5),5),LINETHICK2;
90;
-90;
0;
秒杀CCI:EMA((TJ1-TJ2)/(0.015*TJ3),2.0332),COLORWHITE;
STICKLINE(秒杀CCI<-150,秒杀CCI,-150,2,0),COLOR0000BB;
STICKLINE(C>0,-150,-151,2,0),COLORBLUE;
STICKLINE(秒杀CCI>150,秒杀CCI,150,2,0),COLOR0000BB;
STICKLINE(C>0,150,151,6,0),COLORBLUE;
DRAWICON(CROSS(CCI,0) OR CROSS(秒杀CCI,WR1),0,7);
DRAWICON(CROSS(CCI,秒杀CCI) AND 秒杀CCI>100,秒杀CCI,15);
DRAWICON(CROSS(CCI,-130),-153,1);
DRAWICON(CROSS(153,秒杀CCI),153,2);