源码
Var1:=REF(CLOSE,1);
Var2:=SMA(MAX(CLOSE-Var1,0),6,1)/SMA(ABS(CLOSE-Var1),6,1)*100;
DRAWTEXT(Var2>92 AND REF(Var2,1)<92,100,'☆胜利!'), ,;
Var3:=EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16);
Var4:=1/WINNER(CLOSE);
Var5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var6:=100-ABS(Var5);
Var7:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100;
Var8:=SMA(Var7,20,1);
Var9:=SMA(Var8,15,1);
VarA:=100-3*Var8+2*Var9;
VarB:=((EMA(IF(VarA>REF(VarA,1),VarA,VarA-3),3)-50)*(-1)*2/2+50)/10;
VarC:=EMA(AMOUNT,13)/EMA(VOL,13);
VarD:=(VarC/REF(VarC,1)-1)*100;
VarE:=VOL/CAPITAL*100;
VarF:=(HIGH-LOW)/((HIGH+LOW)/2)*100;
Var10:=(VarB+VarE)*VarF*VarD;
Var11:=VOL/CAPITAL;
Var12:=VOL/700000000;
Var13:=IF(Var11=0,Var12,Var11);
Var14:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
Var15:=2.5*MAX(Var13,Var14);
Var16:=DMA(CLOSE,Var15);
Var17:=SMA(20*(Var16/REF(Var16,1)-1),2,1);
Var18:=EMA(Var17,2);
Var19:=0.17;
Var1A:=CLOSE>=REF(CLOSE,1);
Var1B:=VOL/CAPITAL;
Var1C:=VOL/700000000;
Var1D:=IF(Var1B=0,Var1C,Var1B);
Var1E:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1);
Var1F:=2.5*MAX(Var1D,Var1E);
Var20:=DMA(CLOSE,Var1F);
Var21:=SMA(20*(Var20/REF(Var20,1)-1),2,1);
Var22:=EMA(Var21,2);
介入: IF(Var17>Var19 AND Var18>=0.005 AND Var1A,70,0),stick ,linethick3,coloryellow ;
买入: IF(Var10>100 AND Var10<200,130,0),stick ,linethick3,colormagenta ;
加码: IF(Var10>200,200,0),color3366cc ,stick,linethick3 ;
止盈: IF(Var3>1.15 AND Var3
卖出: IF(Var3>1.1 AND Var3<1.15 AND Var3
STICKLINE(Var22>=0.003,-0.05,0.05,10,0),linethick5 ,colorred ;
STICKLINE(BETWEEN(Var22,0.003,-0.003),-0.05,0.05,10,0),linethick5,colorwhite ;
STICKLINE(Var22<=-0.003,-0.05,0.05,10,0),linethick5 ,colorgreen;