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;
上一篇:海量看涨指标公式源码 下一篇:游资专用副图源码指标公式