通达信三角洲预测主图指标 和谐源码分享 贴图

[复制链接]
查看90 | 回复0 | 2022-7-11 10:31:59 | 显示全部楼层 |阅读模式

201974841299122.png

201974841299122.png



X_1:=1;
X_2:=28.530588;
X_3:=DATETODAY(DATE)+1;
X_4:=((X_3+X_1)/X_2-INTPART((X_3+X_1)/X_2))*X_2;
X_5:=IF(X_4<1,ROUND(X_4+X_2),INTPART(X_4));
X_6:=IF(REF(X_5,1)>=X_5 OR X_5=1,1,0);
X_7:=COUNT(X_6,0);
IF(X_6 AND MOD(X_7,4)=0,CONST(HHV(HIGH,0)),DRAWNULL),STICK,COLORGREEN;
IF(X_6 AND MOD(X_7,4)=1,CONST(HHV(HIGH,0)),DRAWNULL),STICK,COLORRED;
IF(X_6 AND MOD(X_7,4)=2,CONST(HHV(HIGH,0)),DRAWNULL),STICK,COLORYELLOW;
IF(X_6 AND MOD(X_7,4)=3,CONST(HHV(HIGH,0)),DRAWNULL),STICK,COLORBLUE;
IF(X_6 AND MOD(X_7,4)=0,CONST(HHV(LOW,0)),DRAWNULL),STICK,COLORGREEN;
IF(X_6 AND MOD(X_7,4)=1,CONST(HHV(LOW,0)),DRAWNULL),STICK,COLORRED;
IF(X_6 AND MOD(X_7,4)=2,CONST(HHV(LOW,0)),DRAWNULL),STICK,COLORYELLOW;
IF(X_6 AND MOD(X_7,4)=3,CONST(HHV(LOW,0)),DRAWNULL),STICK,COLORBLUE;

2019748413340747.rar

2.19 KB, 下载次数: 0

售价: 1 金钱  [记录]  [购买]

2019748413340747.rar

回复

使用道具 举报

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

本版积分规则