在线检测未来函数

通达信超神品CCI指标公式

来源:Internet,编辑:股旁网,2023-04-17

X_3:=REF(CLOSE,1);
X_4:=SMA(MAX(CLOSE-X_3,0),8,1)/SMA(Abs(CLOSE-X_3),8,1)*100;
X_5:SMA(X_4,3,1),NODRAW,COLORRED;
STICKLINE(X_5>=60,60,(X_5-60)/2+60,1,0),COLORYELLOW;
STICKLINE(X_5>=60,(X_5-60)/2+60,X_5,1,0),COLORRED;
STICKLINE(X_5<60,X_5,(60-X_5)/2+X_5,1,0),COLORBLUE;
STICKLINE(X_5<25,X_5,25,1,0),COLORGRAY;
STICKLINE(X_5<60,(60-X_5)/2+X_5,60,1,0),COLORCYAN;
X_11:=(HIGH+LOW+CLOSE)/3;
X_12:=(X_11-MA(X_11,34))/(0.015*AVEDEV(X_11,34));
X_13:=SMA(X_12,3,1);
X_14:SMA(X_13,3,1)/4,NODRAW,COLORYELLOW;
STICKLINE(X_14>=0,0,MIN(X_14,15),1,0),COLORRED;
STICKLINE(X_14>15,15,MIN(X_14,25),1,0),COLORYELLOW;
STICKLINE(X_14>15 AND X_14>REF(X_14,1),15,MIN(X_14,25),1,0),COLORWHITE;
STICKLINE(X_14>25,25,X_14,1,0),COLORMAGENTA;
STICKLINE(X_14>50,50,X_14,1,0),COLORBROWN;
STICKLINE(X_14<0 AND X_14>=-10,0,X_14,1,0),COLORCYAN;
STICKLINE(X_14<-10,0,-10,1,0),COLORCYAN;
STICKLINE(X_14<-10,-10,X_14,1,0),COLORGREEN;
STICKLINE(X_14<-25,-25,X_14,1,0),COLORBLUE;

通达信超神品CCI指标公式

相关文章