GSPT1:=VOL;GSPT2:=MA(GSPT1,5);GSPT3:=MA(CLOSE,10);GSPT4:=MA(CLOSE,26);GSPT5:=EMA(CLOSE,5);GSPT6:=EMA(CLOSE,14);GSPT7:=EMA(CLOSE,18);GSPT8:=EMA(CLOSE,40);GSPT9:=EMA(CLOSE,60);GSPT10:=MA(CLOSE,10);GSPT11:=MA(CLOSE,54);GSPT12:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;GSPT13:=FILTER(GSPT12,10);GSPT14:=BARSLAST(GSPT13);GSPT15:=REF(HIGH,GSPT14+2);GSPT16:=REF(HIGH,GSPT14+1);GSPT17:=REF(HIGH,GSPT14);GSPT18:=MAX(GSPT15,GSPT16);GSPT19:=MAX(GSPT18,GSPT17);GSPT20:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;GSPT21:=GSPT14<150;GSPT22:=(OPEN-GSPT19)/GSPT19*100<30;GSPT23:=(CLOSE-LLV(LOW,GSPT14))/LLV(LOW,GSPT14)*100<50;GSPT24:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;GSPT25:=VOL/MA(VOL,5)<3.5;GSPT26:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;GSPT27:=GSPT20 AND GSPT21 AND GSPT22 AND GSPT23 AND GSPT24 AND GSPT25 AND GSPT26;GSPT28:=FILTER(GSPT27,15);GSPT29:=(CLOSE-GSPT11)/GSPT11<0.1;GSPT30:=(CLOSE-GSPT10)/GSPT10<0.3;GSPT31:=(GSPT29=1 AND GSPT30=1)*0.2;GSPT32:=(GSPT31=0 AND REF(GSPT31,1)=0.2 AND REF(COUNT(GSPT31=0.2,10)=10,1)=1)*(-0.1);GSPT33:=GSPT32=(-0.1);GSPT34:=GSPT28 OR GSPT33;GSPT35:=DYNAINFO(7)/REF(CLOSE,1)>1.05 AND DYNAINFO(7)/OPEN>1.05;GSPT36:=VOL/REF(VOL,1)>1.2 AND COUNT(CLOSE>OPEN,1) OR (LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>1.2);GSPT37:=GSPT34 AND CLOSE/REF(CLOSE,1)>1.099 AND GSPT36 AND GSPT35;GSPT38:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);GSPT39:=DYNAINFO(4)>0 AND HHV(HIGH,8)/LLV(LOW,8)<2 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15)) AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,120);GSPT40:=MAX(GSPT8,GSPT9);GSPT41:=CLOSE>GSPT40 AND GSPT38 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);GSPT42:=GSPT2+GSPT2>GSPT1;GSPT43:=CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07 AND GSPT39 AND GSPT42;GSPT44:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>7;GSPT45:=GSPT39 AND GSPT44;GSPT46:=GSPT41 AND GSPT45;GSPT47:=MAX(MAX(MAX(MAX(MAX(GSPT5,GSPT3),GSPT6),GSPT7),GSPT8),GSPT9);GSPT48:=MIN(MIN(MIN(MIN(MIN(GSPT5,GSPT3),GSPT6),GSPT7),GSPT8),GSPT9);GSPT49:=CLOSE>GSPT47 AND LOW<GSPT48 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.09);GSPT50:=FILTER(GSPT49>0,0)=1;GSPT51:=MA(REF(HHV(CLOSE,26),1),2);GSPT52:=POW(CLOSE-GSPT4,2);GSPT53:=MA(GSPT52,13);GSPT54:=SQRT(GSPT53);GSPT55:=GSPT4+2*GSPT54;GSPT56:=CROSS(CLOSE,GSPT51) AND HIGH>REF(GSPT55,1) OR (CLOSE>GSPT51 AND CROSS(CLOSE,REF(GSPT55,1))) AND CLOSE/OPEN>0.998;GSPT57:=MACD.MACD;GSPT58:=KD.K;GSPT59:=KD.D;GSPT60:=RSI.RSI1;GSPT61:=RSI.RSI3;GSPT62:=CLOSE-REF(CLOSE,1);GSPT63:=IF(GSPT62>=0,GSPT62,0);GSPT64:=IF(GSPT62<0,-GSPT62,0);GSPT65:=MEMA(GSPT63,10);GSPT66:=MEMA(GSPT64,10);GSPT67:=MEMA(GSPT63,6);GSPT68:=MEMA(GSPT64,6);GSPT69:=MA(100*GSPT65/(GSPT65+GSPT66),10);GSPT70:=MA(100*GSPT67/(GSPT67+GSPT68),6);GSPT71:=MA(CLOSE,5)/MA(CLOSE,10)>0.999 AND MA(CLOSE,10)/MA(CLOSE,20)>0.9847 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(COUNT(MA(CLOSE,10)/MA(CLOSE,20)<1.017 OR MA(CLOSE,5)/MA(CLOSE,10)<1.017,8)>=1,1) AND MA(CLOSE,20)/MA(CLOSE,60)<1.121;GSPT72:=(CLOSE-MA(CLOSE,60))/MA(CLOSE,60)*100;GSPT73:=COUNT(GSPT72<35,100)>=95;GSPT74:=GSPT56 AND GSPT71>0 AND NOT(DYNAINFO(4)=0) AND GSPT73 AND REF(COUNT(MA(CLOSE,20)>MA(CLOSE,30),4)=4 AND COUNT(CLOSE>MA(CLOSE,5),3)>=2,1) AND VOL>REF(VOL,1) AND (REF(COUNT(CLOSE>OPEN,10)>=6 OR COUNT(CLOSE>OPEN,5)>=4,1) OR CLOSE=HIGH) AND (CROSS(GSPT70,GSPT69) OR CROSS(GSPT57,0) OR REF(COUNT(CROSS(GSPT57,0),3)=1 AND GSPT57<0.15 AND CLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(GSPT58,GSPT59) OR CROSS(GSPT60,GSPT61)) AND REF(CLOSE/OPEN>0.988 AND (CLOSE>OPEN OR (CLOSE<=OPEN AND HIGH/LOW<1.049)),1) AND HIGH/CLOSE<1.013 AND CLOSE/OPEN>1.05;GSPT75:=GSPT41+GSPT43+GSPT45+GSPT50+GSPT74>=2;GSPT76:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1);GSPT77:=CLOSE>REF(CLOSE,1)*1.1-0.01;GSPT78:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)>=20;GSPT79:=VOL/REF(VOL,1)>1.9;GSPT80:=GSPT76 AND GSPT77 AND GSPT78 AND GSPT79;GSPT81:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;GSPT82:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);GSPT83:=CAPITAL<10000000;{ 公式源码 HTTP://}GSPT84:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;GSPT85:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;GSPT86:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;GSPT87:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;GSPT88:=GSPT84 AND GSPT85 AND GSPT86 AND GSPT87;GSPT89:=KDJ.K>REF(KDJ.K,1);GSPT90:=KDJ.D>REF(KDJ.D,1) AND KDJ.D<70;GSPT91:=KDJ.J>REF(KDJ.J,1);GSPT92:=GSPT89 AND GSPT90 AND GSPT91;GSPT93:=GSPT8 AND GSPT81 AND GSPT82 AND GSPT83 AND GSPT88 AND GSPT92;GSPT94:=FILTER(GSPT93,15);GSPT95:=GSPT80 OR GSPT94;GSPT96:=GSPT95 AND GSPT75 OR GSPT50 OR GSPT46;突破龙头优化:GSPT96 OR GSPT39 OR GSPT37,COLORRED;