Var1:=IF(YEAR>2050 AND MONTH>6,0,1);
Var2:=CLOSE-REF(CLOSE,1);
Var3:=IF(CLOSE-REF(CLOSE,1)>=0,Var2,0);
Var4:=REF(CLOSE,1)-CLOSE;
Var5:=IF(CLOSE-REF(CLOSE,1)<=0,Var4,0);
Var6:=SUM(Var3,8)/SUM(Var5,8);
Var7:=1-1/(1+Var6);
Var8:=EMA(Var7,3);
Var9:=EMA(Var8,8);
VarA:=LLV(LOW,50);
VarB:=HHV(HIGH,50);
VarC:=EMA(CLOSE,2);
VarD:=(VarC-VarA)/(VarB-VarA);
VarE:=EMA(VarD,3);
VarF:=EMA(VarE,14);
Var10:=(VarF+Var9)/2;
Var11:=EMA(Var10,5);
Var12:=MA(VarE,3);
0.5*Var1, POINTDOT;
基本面: EMA(Var11,20)*Var1, ;
Var13:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21));
Var14:=SMA(Var13,13,8);
风吹草动: SMA(Var14,13,8);
主力趋势: VarF*Var1;
Var15:=REF(CLOSE,3);
Var16:=SMA(MAX(CLOSE-Var15,0),9,1)/SMA(Abs(CLOSE-Var15),9,1)*100;
Var17:=COUNT(Var16<12,20)>=1;
Var18:=(MA(CLOSE,76)-REF(MA(CLOSE,60),19))/REF(MA(CLOSE,60),20)*100;
Var19:=IF(YEAR>=2050 AND MONTH>6,0,1);
Var1A:=IF(DATE<1051231,1,0);
Var1B:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND vol/CAPITAL*100<5,50,0);
Var1C:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;
Var1D:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;
Var1E:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;
Var1F:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;
Var20:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;
Var21:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;
Var22:=(Var1C+Var1D+Var1E+Var1F+Var20+Var21)/6;
Var23:=EMA(Var22,3);
Var24:=ABS(Var1F-Var21);
Var25:=(Var22+Var24)/2;
Var26:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;
Var27:=Var26+Var25;
Var28:=IF(Var1B>0 AND Var27<0,200,0);
Var29:=IF(Var25<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);
Var2A:=IF(Var27<0 AND Var29=-50,100,0);
Var2B:=MA(CLOSE,3);
Var2C:=REF(CLOSE,2)*0.865;
Var2D:=REF(CLOSE,13)*0.772;
Var2E:=MIN(Var2C,Var2D);
Var2F:=100*VOL/CAPITAL;
Var30:=MA(CLOSE,13);
Var31:=IF((CLOSE-Var2E)/CLOSE<0.03 AND SUM(Var2F,5)/5<1.8,1,0)*Var1A;
Var32:=IF(Var31>0 AND (Var29<0 OR Var1B>0),100,0);
Var33:=Var32*Var1A;
Var34:=IF(Var28>0 AND Var2A>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var31>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (Var28>0 AND Var2A>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var31>0) AND (Var29<0 OR Var1B>0) AND Var32<10,50,0);
Var35:=(Var28>0 AND Var2A>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var31>0) AND (Var29<0 OR Var1B>0);
Var36:=Var28>0 AND Var2A>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var31>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;
Var37:=Var35 OR Var36;
买点2: Var37;
Var38:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
Var39:=SUMBARS(VOL,CAPITAL);
Var3A:=IF(CLOSE>LLV(CLOSE,Var39),1,-1)*IF(Var38>LLV(Var38,Var39),1,-1);
Var3B:=IF(Var3A=-1,1,0);
Var3C:=COUNT(Var3B=1,8)>2;
Var3D:=SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100;
Var3E:=DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/Var3D);
Var3F:=(CLOSE-Var3E)/Var3E*100<-15;
Var40:=(CLOSE-MIN(REF(CLOSE,5)*0.865,REF(CLOSE,21)*0.772))/CLOSE<0.05;
Var41:=VOL/CAPITAL*100;
Var42:=(-100)*(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));
Var43:=(-100)*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
Var44:=(-100)*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));
Var45:=(-100)*(HHV(HIGH,30)-CLOSE)/(HHV(HIGH,30)-LLV(LOW,30));
Var46:=Var42>-99.9 AND Var43>-99.9 AND Var44>-99.9 AND Var45>-99.9;
Var47:=VarA<15;
买点3: Var3F AND Var40 AND Var3C AND Var46 AND Var47, , colorwhite;
Var48:=100*VOL/CAPITAL;
Var49:=Var48>1;
Var4A:=MA(CLOSE,1);
Var4B:=EMA(CLOSE,21);
Var4C:=MA(Var4B*0.8,5);
Var4D:=crOSS(Var4A,Var4C);
买点4: Var49 AND Var4D;
买点1: CROSS(Var18,0) AND Var18>REF(Var18,10) AND LLV(Var18,20)>-5 AND
Var17 AND MA(CLOSE,3)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,3)>MA(CLOSE,60);