飞狐黑马涨跌副图指标
-
相关简介:飞狐黑马涨跌副图指标 源码 N:=14;M:=6; Var1:=SUM(MAX(MAX(HIGH-LOW, ABS(HIGH-REF(CLOSE, 1))), ABS(LOW-REF(CLOSE, 1))), N); Var2:=HIGH-REF(HIGH, 1); Var3:=REF(LOW, 1)-LOW; Var4:=SUM(IF(Var20 AND Var2Var3, Var2, 0), N); Var5:=SUM(IF(Var30 AND Var3Var2, Var3, 0), N);
-
文章来源:股海网作者:股海网发布时间:2016-05-20浏览次数:
飞狐黑马涨跌副图指标
源码
N:=14;M:=6;
Var1:=SUM(MAX(MAX(HIGH-LOW, ABS(HIGH-REF(CLOSE, 1))), ABS(LOW-REF(CLOSE, 1))), N);
Var2:=HIGH-REF(HIGH, 1);
Var3:=REF(LOW, 1)-LOW;
Var4:=SUM(IF(Var2>0 AND Var2>Var3, Var2, 0), N);
Var5:=SUM(IF(Var3>0 AND Var3>Var2, Var3, 0), N);
Var6:=Var4*100/Var1;
Var7:=Var5*100/Var1;
Var8:=MA(ABS(Var7-Var6)/(Var7+Var6)*100, M);
HM1:2*(Var8-Var7), COLORSTICK;
HM2:2*(Var6-Var7), COLORSTICK;
LL:2*(Var8-Var7);
PP:2*(Var6-Var7);
Var9:=HM1+HM2/2;
ZB3:0;