飞狐伯乐相马副图指标
-
相关简介:飞狐伯乐相马副图指标 源码 Var1:=CLOSE; Var2:=0.7*CLOSE; Var3:=100*(WINNER(Var1)-WINNER(Var2)); Var4:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1); Var5:=HIGH-REF(HIGH,1); Var6:=REF(LOW,1)-LOW; Var7:=SMA(IF(Var50 AND Var5Var6,Var5,0),
-
文章来源:股海网作者:股海网发布时间:2016-06-14浏览次数:
飞狐伯乐相马副图指标
源码
Var1:=CLOSE;
Var2:=0.7*CLOSE;
Var3:=100*(WINNER(Var1)-WINNER(Var2));
Var4:=SMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14,1);
Var5:=HIGH-REF(HIGH,1);
Var6:=REF(LOW,1)-LOW;
Var7:=SMA(IF(Var5>0 AND Var5>Var6,Var5,0),12,1);
Var8:=SMA(IF(Var6>0 AND Var6>Var5,Var6,0),12,1);
Var9:=Var7*100/Var4;
VarA:=Var8*100/Var4;
VarB:=SMA(ABS(VarA-Var9)/(VarA+Var9)*100,12,1);
VarC:=(VarB+REF(VarB,5))/2;
VarD:=SUM(HIGH-OPEN,12)/SUM(OPEN-LOW,12)*100;
VarE:=SUM(MAX(0,HIGH-REF(CLOSE,1)),12)/SUM(MAX(0,REF(CLOSE,1)-LOW),12)*100;
VarF:=AMOUNT/VOL/100;
Var10:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
Var11:=SUM(AMOUNT,5)/VarF/100;
Var12:=SUM(AMOUNT,13)/VarF/100;
Var13:=SUM(AMOUNT,34)/VarF/100;
Var14:=SUM(AMOUNT,209)/VarF/100;
Var15:=REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4);
Var16:=Var15/CAPITAL;
Var17:=VOL/CAPITAL*Var10+Var16*REF(VarF,1);
Var18:=IF(DATE<1500501,DMA(Var10,VOL/Var11),0);
Var19:=IF(DATE<1500501,DMA(Var10,VOL/Var12),0);
Var1A:=IF(DATE<1500501,DMA(Var10,VOL/Var13),0);
Var1B:=IF(DATE<1500501,DMA(Var10,VOL/CAPITAL),0);
Var1C:=100*(Var18-REF(Var18,1))/REF(Var18,1);
Var1D:=LLV(LOW,240);
Var1E:=100*(CLOSE-Var1D)/Var1D;
Var1F:=Var1E<45;
Var20:=Var1E>15;
Var21:=Var1F AND Var20;
Var22:=Var3>70;
Var23:=Var22 AND Var1C>1 AND Var21;
伯乐相马: IF(Var23,100,0);
Var24:=0.85*CLOSE;
主力仓位: 100*WINNER(Var24);
获利筹码: WINNER(CLOSE)*100;