通达信起点预测副图指标 源码
2017-09-11 10:31:00来源:本站整理浏览:383
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)),COLORRED;
测顶: 0-IF(VAR3>=200,200,VAR5)+400;
测底: 0-IF(VAR3>=200,0,IF(VAR3<=-200,-200,VAR6))-400;
- 上一篇公式:通达信平台压力线主图指标 源码
- 下一篇公式:通达信启动副图/选股指标 无未来