同花顺CCI雷达副图指标 源码介绍
同花顺CCI雷达副图指标 源码
通达信吸拉派落,同花顺版的。掺进了CCI指标组合。发交流
TYP:=(HIGH+LOW+CLOSE)/3;
F1:=ZIG(3,15);
方向:=IF((F1> REF(F1,1)),-100,100);
STICKLINE(方向>90,-150,-100,10,1),COLOR00FF00;
STICKLINE(方向<0,100,150,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;
D:-100 ,colorwhite;
gd47383