飞狐谁主沉浮副图指标
-
相关简介:飞狐谁主沉浮副图指标 源码 short:=5;lomg:=10;M:=26;N:=12; Var1:=EMA(MA(IF(CLOSEOPEN,(CLOSE-OPEN)*VOL,IF(CLOSEOPEN,(CLOSE-OPEN)*VOL,0)),5),1); Var2:=EMA(MA(IF(CLOSEREF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,IF(CLOSEREF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,0)),5),1); Var3:
-
文章来源:股海网作者:股海网发布时间:2016-04-05浏览次数:
飞狐谁主沉浮副图指标
源码
short:=5;lomg:=10;M:=26;N:=12;
Var1:=EMA(MA(IF(CLOSE>OPEN,(CLOSE-OPEN)*VOL,IF(CLOSE<OPEN,(CLOSE-OPEN)*VOL,0)),5),1);
Var2:=EMA(MA(IF(CLOSE>REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,IF(CLOSE<REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,0)),5),1);
Var3:=EMA(MA(IF(OPEN>REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,IF(OPEN<REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,0)),5),1);
Var4:=EMA(MA(IF(CLOSE<OPEN,(OPEN-CLOSE)*VOL,IF(CLOSE>OPEN,(OPEN-CLOSE)*VOL,0)),10),1);
Var5:=EMA(MA(IF(CLOSE<REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,IF(CLOSE>REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,0)),10),1);
Var6:=EMA(MA(IF(OPEN<REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,IF(OPEN>REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,0)),10),1);
Var7:=CLOSE>OPEN;
Var8:=CLOSE>REF(CLOSE,1);
Var9:=OPEN>REF(CLOSE,1);
VarA:=Var7 OR Var8 OR Var9;
VarB:=1990701;
多头: IF(DATE<VarB,(Var1+Var2+Var3)/3/100,0),;
空头: IF(DATE<VarB,(Var4+Var5+Var6)/3/100,0),;
警示线: IF(DATE<VarB,EMA((COUNT(Var8,12)/12+COUNT(Var7,12)/12+COUNT(Var9,12)/12)/3*MA(多头,5)*2*1.1,2),0), ;
IF(DATE<VarB,EMA(EMA((Var1+Var2+Var3)/3-(Var4+Var5+Var6)/3,5),5)*1/100,0), COLORSTICK;