{n:1,30,13;n1:1,100,75;m:1,30,14;m1:1,20,5}
Var1:=1;
Var2:=3*SMA((CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100,20,1),15,1);
Var3:=3*SMA((OPEN-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100,20,1)-2*SMA(SMA((OPEN-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100,20,1),15,1);
Var4:=0-Var3;
Var5:=0-Var2;
STICKLINE(Var5< REF(Var4,1),(-1)*Var5,(-1)*Var4,6,1), , COLORRED;
Var6:=MA(Var4,3);
STICKLINE((-1)*Var5>Var6,(-1)*Var5,(-1)*Var4,6,1), , COLORRED;
STICKLINE(Var5>=REF(Var4,1),(-1)*Var5,(-1)*Var4,6,1), ,COLORGREEN;
Var7:=REF(LOW,1)*0.9;
Var8:=LOW*0.9;
Var9:=(Var8*vol+Var7*(CAPITAL-VOL))/CAPITAL;
VarA:=EMA(Var9,30);
VarB:=CLOSE-REF(CLOSE,1);
VarC:=MAX(VarB,0);
VarD:=Abs(VarB);
VarE:=SMA(VarC,7,1)/SMA(VarD,7,1)*100;
VarF:=SMA(VarC,13,1)/SMA(VarD,13,1)*100;
Var10:=BARSCOUNT(CLOSE);
Var11:=SMA(MAX(VarB,0),6,1)/SMA(ABS(VarB),6,1)*100;
Var12:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
Var13:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var14:=SMA((SMA(Var13,4,1)-50)*2,3,1);
Var15:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var16:=SMA(Var15,4,1)*Var1;
Var17:=SMA(Var16,3,1);
Var18:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var19:=Var11<=25 AND Var12<-95 AND Var18>20 AND Var14<-30 AND Var17<30 AND VarA-CLOSE>=-0.25 AND VarE<22 AND VarF<28 AND Var10>50;
Var1A:=(HIGH+LOW+CLOSE)/3;
Var1B:=(Var1A-MA(Var1A,14))/(0.015*AVEDEV(Var1A,14));
Var1C:=(Var1A-MA(Var1A,70))/(0.015*AVEDEV(Var1A,70));
Var1D:=IF(Var1B>=150 AND Var1B<200 AND Var1C>=150 AND Var1C<200,10,0);
Var1E:=IF(Var1B<=-150 AND Var1B>-200 AND Var1C<=-150 AND Var1C>-200,-10,Var1D);
Var1F:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
Var20:=REVERSE(Var1F);
Var21:=SMA(Var1F,3,1);
Var22:=SMA(Var21,3,1)*Var1;
Var23:=SMA(Var22,3,1)*Var1;
Var24:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
Var25:=SMA(Var24,M1,1);
散户: SMA(Var25,M1,1)*Var1, , COLORMAGENTA;
Var26:=(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M))*100;
Var27:=SMA(Var26,M1,1);

