飞狐玄黄变盘副图指标
源码
{玄黄变盘}
Var1:=99999999999999999999999;
Var2:=MA(VOL,2);
Var3:=99999999999999999999999;
Var4:=MA(VOL,40);
Var5:=MA(CLOSE,2);
Var6:=99999999999999999999999;
Var7:=MA(CLOSE,40);
Var8:=MA("1A0001$CLOSE",2);
Var9:=99999999999999999999999;
VarA:=MA("1A0001$CLOSE",40);
VarB:=MA("1A0001$VOL",2);
VarC:=-9999999999999999999999;
VarD:=MA("1A0001$VOL",40);
VarE:=(Var8-VarA)/VarA;
VarF:=(Var5-Var7)/Var7;
Var10:=(VarB-VarD)/VarD;
Var11:=(Var2-Var4)/Var4;
Var12:=MAX(VarE,0)+MAX(VarF,0);
Var13:=MIN(VarE,0)+MIN(VarF,0);
Var14:=MAX(Var10,0)+MAX(Var11,0);
Var15:=MIN(Var10,0)+MIN(Var11,0);
Var16:=IF(Var12>0,Var12*10,Var13*20);
Var17:=IF(Var14>0,Var14,Var15);
变盘: Var16>0 AND Var12>0 AND Var16>REF(Var16,1) AND CROSS(Var16,Var17) AND HHV(Var17,10)>2, stick,linethick3,coloryellow;
s:=Var16>0 AND Var12>0 AND Var16>REF(Var16,1) AND CROSS(Var16,Var17) AND HHV(Var17,10)>2,;
s1:=Var16>0 AND Var12>0 AND Var16>REF(Var16,1) AND CROSS(Var16,Var17) AND HHV(Var17,10)>2,;