飞狐量天尺副图指标
-
相关简介:飞狐量天尺副图指标 源码 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 Var2200 AND Var3=150 AND Var3200,100,IF(Var2=-150 AND Var2-200 AND Var3=-150 AND Var3-200
-
文章来源:股海网作者:股海网发布时间:2016-03-05浏览次数:
飞狐量天尺副图指标
源码
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;