三角洲预测 通达信主图指标 源码 贴图
2019-07-04 09:51:00来源:本站整理浏览:648
三角洲预测 通达信主图指标 源码 贴图
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;
- 上一篇公式:五圆弧 突破通达信主图/选股指标 源码 贴图
- 下一篇公式:潜龙量能副图 通达信副图指标 源码 贴图