{黑馬啟爆選股2} Q:=EMA(SLOPE(CLOSE,34)*20+CLOSE,75); W:=EMA(CLOSE,8); E:=W-Q; 引爆上攻1:=E>=0 AND REF(E<0,1) AND COUNT(E>=0,6)<=1; R:=MA(CLOSE,1)-MA(CLOSE,6); PO:=CROSS(R,0); RSI1DTC:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100); 藍(lán):=(RSI1DTC < 25); A:=V*100/CAPITAL; {HTTP: JJ:=MA(A,4); NN:=MA(A,8); VV:=MA(A,16); ZZ:=MA(A,32); MA50:=MA(CLOSE,50); PL1:=(((CLOSE - MA50) / MA50)<0.008); PL2:=(((CLOSE - MA(CLOSE,8)) / MA(CLOSE,8))<0.058); SS:=(((PL1 = 1) AND (PL2 = 1)) * 0.2); 引爆上攻2:=((((SS = 0) AND (REF(SS,1) = 0.2)) AND (REF((COUNT((SS = 0.2),10) = 10),1) = 1)) * 1); MAVOL:=HHV(REF(VOL,1),5); MDAY:=BARSLAST(MAVOL); 引爆上攻3:=VOL>MAVOL AND CLOSE>REF(CLOSE,MDAY+1); GG2:=JJ>=ZZ AND REF(JJ<ZZ,1) AND COUNT (VV,10)<=2 AND (CLOSE-REF(CLOSE,3))/REF(CLOSE,3)<=0.15; DDD1:=JJ>ZZ AND NN>ZZ AND VV<ZZ AND REF(NN<ZZ,1); DDD2:=JJ>ZZ AND NN>ZZ AND VV>ZZ AND REF(VV<ZZ,1) AND COUNT (NN<ZZ,3)<=1; DDD:=DDD1 OR DDD2; 黑漲幅:=(CLOSE-REF(CLOSE,9))/REF(CLOSE,9)<=0.14; 肯定GG:=DDD AND COUNT (VV,10)<=1 AND 黑漲幅; GG3:=JJ<ZZ AND NN>=ZZ AND VV<ZZ AND REF(NN<ZZ,1) AND (CLOSE-REF(CLOSE,10))/REF(CLOSE,10)<=0.28 AND COUNT (VV,10)<=2; PO1:=PO AND COUNT (VV, 20)<=3 AND 黑漲幅; 小GG:=NN>=ZZ AND JJ>ZZ AND VV<ZZ AND COUNT (VV,9)<=1 AND (CLOSE-REF(CLOSE,7))/REF(CLOSE,7)<=0.1; QW:=JJ>ZZ AND VV<ZZ AND NN<ZZ AND REF(JJ<ZZ,1) AND COUNT(VV,6)=0; JJGG:=JJ>NN AND NN>=VV AND VV>ZZ AND COUNT(VV,10)<=2 AND (CLOSE-REF(CLOSE,7))/REF(CLOSE,7)<=0.04 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=-0.05; GGMN:=藍(lán) AND COUNT(GG2,14)>=1 AND COUNT(肯定GG,14)>=1; 潛在GG:=COUNT(VV,12)<=1 AND (CLOSE-REF(CLOSE,9))/REF(CLOSE,9)<=0.12; 大GG:=COUNT(潛在GG,6)>=5; GG1:=GG2 OR 肯定GG OR GG3 OR PO1 OR 小GG OR QW OR JJGG OR GGMN OR 潛在GG OR 大GG; RE:=V/REF(V,1);{HTTP: 引爆上攻4:=COUNT(GG1,20)>=1 AND RE>=2.70 AND C>REF(C,1); N1:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))); N2:=BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))); 多:=IF(N1<N2,N1+1,0); QSXS:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1); HKFJ:=HHV(多,5)>=2 AND QSXS AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,5)>MA(CLOSE,10); PP:=HKFJ*多; 引爆上攻5:=PP>0 AND REF(PP,1)=0 AND COUNT(GG1,7)>=1; 啟爆成立:=COUNT(引爆上攻2,10)>=1 AND COUNT(引爆上攻3,10)>=2 AND COUNT(引爆上攻1,10)>=1 AND COUNT(引爆上攻4,10)>=1 AND COUNT(引爆上攻5,2)>=1 AND C>O; B:=EMA(C,4); B1:=EMA(SLOPE(C,20)*10+C,35); B2:=EMA(CLOSE,3); B3:=EMA(CLOSE,21); B5:=CROSS("KDJ.J","KDJ.D") AND CROSS("KDJ.J","KDJ.K"); AAA:=CROSS(B,B1) AND B5; C1:=CROSS(B2,B3) AND AAA; {HTTP: PP1:=AMOUNT/V; OO1:=L<PP1*0.9; II1:=(C-REF(C,1))/REF(C,1)*100>1.2; UU1:=L<MA(C,5)*0.921; YY1:=V<MA(V,5)*1.5; ZZZ:="MACD.MACD">0; TT1:=OO1 AND II1 AND UU1 AND YY1 AND ZZZ; TT1 OR (啟爆成立 AND C1) ;
Q:=EMA(SLOPE(CLOSE,34)*20+CLOSE,75); W:=EMA(CLOSE,8); E:=W-Q; 引爆上攻1:=E>=0 AND REF(E<0,1) AND COUNT(E>=0,6)<=1; R:=MA(CLOSE,1)-MA(CLOSE,6); PO:=CROSS(R,0); RSI1DTC:=((SMA(MAX(CLOSE - REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE - REF(CLOSE,1)),6,1)))*(100); 藍(lán):=(RSI1DTC < 25); A:=V*100/CAPITAL; JJ:=MA(A,4); NN:=MA(A,8); VV:=MA(A,16); ZZ:=MA(A,32); MA50:=MA(CLOSE,50); PL1:=(((CLOSE - MA50) / MA50)<0.008); PL2:=(((CLOSE - MA(CLOSE,8)) / MA(CLOSE,8))<0.058); SS:=(((PL1 = 1) AND (PL2 = 1)) * 0.2); 引爆上攻2:=((((SS = 0) AND (REF(SS,1) = 0.2)) AND (REF((COUNT((SS = 0.2),10) = 10),1) = 1)) * 1); MAVOL:=HHV(REF(VOL,1),5); MDAY:=BARSLAST(MAVOL); 引爆上攻3:=VOL>MAVOL AND CLOSE>REF(CLOSE,MDAY+1); GG2:=JJ>=ZZ AND REF(JJ<ZZ,1) AND COUNT (VV,10)<=2 AND (CLOSE-REF(CLOSE,3))/REF(CLOSE,3)<=0.15; DDD1:=JJ>ZZ AND NN>ZZ AND VV<ZZ AND REF(NN<ZZ,1); DDD2:=JJ>ZZ AND NN>ZZ AND VV>ZZ AND REF(VV<ZZ,1) AND COUNT (NN<ZZ,3)<=1; DDD:=DDD1 OR DDD2;{HTTP: 黑漲幅:=(CLOSE-REF(CLOSE,9))/REF(CLOSE,9)<=0.14; 肯定GG:=DDD AND COUNT (VV,10)<=1 AND 黑漲幅; GG3:=JJ<ZZ AND NN>=ZZ AND VV<ZZ AND REF(NN<ZZ,1) AND (CLOSE-REF(CLOSE,10))/REF(CLOSE,10)<=0.28 AND COUNT (VV,10)<=2; PO1:=PO AND COUNT (VV, 20)<=3 AND 黑漲幅; 小GG:=NN>=ZZ AND JJ>ZZ AND VV<ZZ AND COUNT (VV,9)<=1 AND (CLOSE-REF(CLOSE,7))/REF(CLOSE,7)<=0.1; QW:=JJ>ZZ AND VV<ZZ AND NN<ZZ AND REF(JJ<ZZ,1) AND COUNT(VV,6)=0; JJGG:=JJ>NN AND NN>=VV AND VV>ZZ AND COUNT(VV,10)<=2 AND (CLOSE-REF(CLOSE,7))/REF(CLOSE,7)<=0.04 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=-0.05; GGMN:=藍(lán) AND COUNT(GG2,14)>=1 AND COUNT(肯定GG,14)>=1; 潛在GG:=COUNT(VV,12)<=1 AND (CLOSE-REF(CLOSE,9))/REF(CLOSE,9)<=0.12; 大GG:=COUNT(潛在GG,6)>=5; GG1:=GG2 OR 肯定GG OR GG3 OR PO1 OR 小GG OR QW OR JJGG OR GGMN OR 潛在GG OR 大GG; RE:=V/REF(V,1);{HTTP: 引爆上攻4:=COUNT(GG1,20)>=1 AND RE>=2.70 AND C>REF(C,1); N1:=BARSLAST(CROSS(MA(CLOSE,5),MA(CLOSE,10))); N2:=BARSLAST(CROSS(MA(CLOSE,10),MA(CLOSE,5))); 多:=IF(N1<N2,N1+1,0); QSXS:=MA(CLOSE,5)>MA(CLOSE,20) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,30)>REF(MA(CLOSE,30),1); HKFJ:=HHV(多,5)>=2 AND QSXS AND MA(CLOSE,5)>REF(MA(CLOSE,5),1) AND MA(CLOSE,5)>MA(CLOSE,10); PP:=HKFJ*多; 引爆上攻5:=PP>0 AND REF(PP,1)=0 AND COUNT(GG1,7)>=1; 啟爆成立:=COUNT(引爆上攻2,10)>=1 AND COUNT(引爆上攻3,10)>=2 AND COUNT(引爆上攻1,10)>=1 AND COUNT(引爆上攻4,10)>=1 AND COUNT(引爆上攻5,2)>=1 AND C>O; B:=EMA(C,4);{HTTP: B1:=EMA(SLOPE(C,20)*10+C,35); B2:=EMA(CLOSE,3); B3:=EMA(CLOSE,21); B5:=CROSS("KDJ.J","KDJ.D") AND CROSS("KDJ.J","KDJ.K"); AAA:=CROSS(B,B1) AND B5; C1:=CROSS(B2,B3) AND AAA; PP1:=AMOUNT/V; OO1:=L<PP1*0.9; II1:=(C-REF(C,1))/REF(C,1)*100>1.2; UU1:=L<MA(C,5)*0.921; YY1:=V<MA(V,5)*1.5; TT1:=OO1 AND II1 AND UU1 AND YY1; 去除ST:=EXIST(C/REF(C,1)>1.055,60); 去除停牌:=DYNAINFO(4)>0; XG:=去除ST AND 去除停牌; DI:=MIN(O,C); TT1 OR (啟爆成立 AND C1) AND C/REF(C,1)<1.098 AND C/REF(C,1)>1.030 AND XG AND DI; |
|