TYP:=(HIGH+LOW+CLOSE)/3;
F1:=zig(3,15);
方向:=IF((F1> REF(F1,1)),-100,100);
STICKLINE(方向>90,0,10,10,1),COLOR00FF00;
STICKLINE(方向<0,100,90,10,1),colorred;
cci雷达:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),colorwhite,LINETHICK2;
M1 := EMA( CLOSE, 9 );
M2 := EMA( CLOSE, 18);
MD :=M1 - M2;
MM := EMA( MD, 3 );
//〓吸 : IF( MD >= MM AND MD<= 0,CCI雷达, DRAWNULL ), colorlired, LINETHICK2;
//〓拉 : IF( MD >= MM AND MD >0, CCI雷达, DRAWNULL ), colorred,LINETHICK2;
//〓派 : IF( MM>= MD AND MD > 0,CCI雷达, DRAWNULL ), colorgreen,LINETHICK2;
//〓落 : IF( MD < MM AND MD < 0,CCI雷达, DRAWNULL ), colorwhite,LINETHICK2;
//p:100 ,colorwhite;
//分析家公式网www.88gs.com;
做多能量线: SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,colorred,LINETHICK3;
做空能量线: SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),colorgreen,LINETHICK3;
短线通道:15,colorgreen;
强弱分界:45,coloryellow;
短线顶部:85,colorf00ff0;
top_varb:=PEAKBARS(3,15,1)<10;
top_var:=IF(top_varb=1,2,0);
top:=IF(top_var=2,2,0);
top_f:=IF(top>REF(top,1),50,150),colorgreen,linethick2;
DRAWTEXT(top_f=50,73,'←清'),colorwhite;
STICKLINE(top_f=50,90,75,8,0),colorgreen;