量趋势强弱(通达信公式 副图 源码 测试图)

[复制链接]
查看67 | 回复0 | 2022-6-27 14:48:43 | 显示全部楼层 |阅读模式

 通达信副图公式量趋势强弱

 
X_1:=5;
X_2:=10;
X_3:=10;
X_4:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));
X_5:=MOD(FROMOPEN,X_4);
X_6:=IF(X_5<0.5,X_4,X_5);
VVOL:IF(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VOL*(X_4+3)/(X_6+3),DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND DYNAINFO(8)>1,VVOL,0,(-1),(-1)),NODRAW,COLORFFCC00;
VOLUME:VOL,NODRAW;
MAVOL1:MA(VOLUME,X_1),COLOR99EEEE;
MAVOL2:MA(VOLUME,X_2),COLORFFCC00;
量趋势:EMA(MAVOL2,X_3),COLORRED,LINETHICK3;
IF(量趋势>REF(量趋势,1),量趋势,DRAWNULL),COLORRED,LINETHICK3;
IF(量趋势<REF(量趋势,1),量趋势,DRAWNULL),COLORGREEN,LINETHICK3;
 

20226713435320773.png

20226713435320773.png

20226713433695878.rar

1.73 KB, 下载次数: 0

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

20226713433695878.rar

回复

使用道具 举报

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

本版积分规则