同花顺世界大战副图指标
-
相关简介:同花顺世界大战副图指标 源码 Var1:=1/WINNER(C);A0:=MA(C,13); Var3:=100-ABS((C-A0)/A0*100); A1:=LLV(L,75);A2:=HHV(H,75);A3:=(A2-A1)/100;A4:=SMA((C-A1)/A3,20,1);A5:=SMA((O-A1)/A3,20,1); Var4:=3*A4-2*SMA(A4,15,1);Var5:=3*A5-2*SMA(A5,15,1); Var6:=100-Var5;Var7:=100-Va
-
文章来源:股海网作者:股海网发布时间:2016-03-18浏览次数:
同花顺世界大战副图指标
源码
Var1:=1/WINNER(C);A0:=MA(C,13);
Var3:=100-ABS((C-A0)/A0*100);
A1:=LLV(L,75);A2:=HHV(H,75);A3:=(A2-A1)/100;A4:=SMA((C-A1)/A3,20,1);A5:=SMA((O-A1)/A3,20,1);
Var4:=3*A4-2*SMA(A4,15,1);Var5:=3*A5-2*SMA(A5,15,1);
Var6:=100-Var5;Var7:=100-Var4;
Var8:=MA(WINNER(C*0.95)*100,3);
Var9:=100-IF(Var1>5,IF(Var1<100,Var1,Var3-10),0);
红军:Var8,coloree00ee;
绿军:Var9,color00dd00;
间谍:Var7,colorffaa00;
Var2:=Var8>Var3;
VarA:=REF(L,1)*0.9;VarB:=L*0.9;
VarC:=(VarB*V+VarA*(CAPITAL-V))/CAPITAL;
VarD:=EMA(VarC,30);
A6:=C-REF(C,1);A7:=MAX(A6,0);A8:=ABS(A6);
VarF:=SMA(A7,7,1)/SMA(A8,7,1)*100;
Var10:=SMA(A7,13,1)/SMA(A8,13,1)*100;
Var11:=BARSCOUNT(C);
Var12:=SMA(MAX(A6,0),6,1)/SMA(ABS(A6),6,1)*100;
Var13:=-200*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+100;
Var14:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
Var16:=SMA((SMA(Var14,4,1)-50)*2,3,1);
Var17:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var18:=SMA(Var17,4,1);
Var19:=SMA(Var18,3,1);
Var1A:=(HHV(H,30)-C)/C*100;
Var1B:=Var12<=25 AND Var13<-95 AND Var1A>20 AND Var16<-30 AND Var19<30 AND VarD-C>=-0.25
AND VarF<22 AND Var10<28 AND Var11>50;
Var1C:=(H+L+C)/3;
Var1D:=(Var1C-MA(Var1C,14))/(0.015*AVEDEV(Var1C,14));
Var1E:=(Var1C-MA(Var1C,70))/(0.015*AVEDEV(Var1C,70));
Var1F:=IF(Var1D>=150 AND Var1D<200 AND Var1E>=150 AND Var1E<200,10,0);
Var20:=IF(Var1D<=-150 AND Var1D>-200 AND Var1E<=-150 AND Var1E>-200,-10,Var1F);
Var21:=IF(Var1E>=200 AND Var1D>=150,15,IF(Var1E<=-200 AND Var1D<=-150,-15,Var20))+50;
预警:Var21,linethick2,COLOR00ffff;
STICKLINE(Var2,Var3,Var8,5,0),COLOR0000ff;
STICKLINE(1,Var8,0,1,0),COLORee00ee;
STICKLINE(1,Var9,100,1,0),COLOR00dd00;
STICKLINE(Var1B,0,80,5,0),COLOR0000ff,linethick3;
DRAWTEXT(CROSS(Var1B,0.5) AND COUNT(Var1B=1,10)=1,20,'发射导弹'),colorffffff;
DRAWTEXT(CROSS(Var2,0.5) AND COUNT(Var2=1,10)=1,80,'血战'),colorffffff;