通达信量天尺副图指标源码贴图测顶测底

[复制链接]
查看113 | 回复0 | 2021-8-26 22:34:17 | 显示全部楼层 |阅读模式

以下是通达信量天尺副图指标源码贴图测顶测底(无源码的请下载附件导入)

VAR1:=(HIGH+LOW+CLOSE)/3;
 VAR2:=(VAR1-MA(VAR1,14))/(0.015*AVEDEV(VAR1,14));
 VAR3:=(VAR1-MA(VAR1,70))/(0.015*AVEDEV(VAR1,70));
 VAR4:=IF(VAR2>=150 AND VAR2<200 AND VAR3>=150 AND VAR3<200,100,IF(VAR2<=-150 AND VAR2>-200 AND VAR3<=-150 AND VAR3>-200,-100,0));
 VAR5:=IF(VAR2>=150 AND VAR2<200 AND VAR3>=150 AND VAR3<200,100,0);
 VAR6:=IF(VAR2<=-150 AND VAR2>-200 AND VAR3<=-150 AND VAR3>-200,-100,0);
 IF(VAR2>=200,200,IF(VAR2<=-200,-200,VAR4));
测顶: 0-IF(VAR3>=200,200,VAR5)+400;
测底: 0-IF(VAR3>=200,0,IF(VAR3<=-200,-200,VAR6))-400;

1120488993.jpg

1120488993.jpg

回复

使用道具 举报

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

本版积分规则