通达信黄阶副图源码副图

[复制链接]
查看46 | 回复0 | 2022-7-24 04:31:46 | 显示全部楼层 |阅读模式

{黄阶副图}

X_1:=VOL<MA(VOL,5) AND MA(VOL,5)<MA(VOL,55);

X_2:=CLOSE/REF(CLOSE,1)>1.028;

X_3:=MA(CLOSE,10)>CLOSE*1.05;

X_4:=MA(CLOSE,10)<CLOSE*1.1;

X_5:=MA(CLOSE,60)>CLOSE*1.28;

X_6:=X_1 AND X_2 AND X_3 AND X_4 AND X_5;

DRAWTEXT(X_6,0.9,4),COLORRED;

A1:IF(X_6>0,X_6*1,0),STICK,COLORRED,LINETHICK5;

A2:IF(X_6>0,X_6*0.9,0),STICK,COLOR0099FF,LINETHICK5;

A4:IF(X_6>0,X_6*0.8,0),STICK,COLOR00CCFF,LINETHICK5;

A5:IF(X_6>0,X_6*0.7,0),STICK,COLORYELLOW,LINETHICK5;

A6:IF(X_6>0,X_6*0.6,0),STICK,COLOR400080,LINETHICK5;

A7:IF(X_6>0,X_6*0.5,0),STICK,COLOR400000,LINETHICK5;

A8:IF(X_6>0,X_6*0.4,0),STICK,COLOR404080,LINETHICK5;

A9:IF(X_6>0,X_6*0.3,0),STICK,COLORGREEN,LINETHICK5;

A10:IF(X_6>0,X_6*0.2,0),STICK,COLORCYAN,LINETHICK5;

726599221.jpg

726599221.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则