飞狐神光脑电波副图指标
源码
Var1:=IF((CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)>0.980, REF(CLOSE, 1), LOW);
Var2:=IF((CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)<(-0.980), REF(CLOSE, 1), HIGH);
Var3:=SUM(CLOSE-LOW-HIGH+CLOSE, 0);
脑电波:Var3;
平均值5日:MA(Var3, 5);
平均值10日:MA(Var3, 10);