1,竞价量比选股公式 lt:=(CAPITAL/100)/10000 ZF:=OPEN/ref(CLOSE,1); A1:=ZF>=1.00 and ZF 换手:=VOL/CAPITAL*100; 换5:=MA(换手,5); 涨停:=CLOSE/ref(CLOSE,1)>1.095; TS:=BARSLAST(涨停); QJ:=BETWEEN(TS,1,10); tj:=BARSSINCE(v)+1=1; zq:=BARSLAST(tj); 量比:=if(tj,sum(v,0)/DYNAINFO(38)*240,ref(sum(v,0)/DYNAINFO(38)*240,zq)); XG:lt and A1 and ref(换5,1)3 and 量比>20; {或:XG:lt and A1 and ref(换5,1)3 and QJ and 量比>20;} 2,预测涨停选股 用法:每天9:25后,用条件选股,筛选出优质股票,自己再再结合市场情况判断,选出的股票里面会有惊喜! 源码: RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=(SMA(RSV,3,1)); D:=(SMA(K,3,1)); KK:=INTPART(SMA(RSV,3,1)); DD:=INTPART(SMA(K,3,1)); N:=KK+DD,COLORFF00FF,LINETHICK2; 预测:=IF(CROSS(N,50),90,50),COLOR00FF00; 涨停:=IF(CROSS(N,99.5),100,50),COLORYELLOW; 涨停>预测; 3,短线选股公式 X:=(H-MAX(C,O))/ABS(C-O)>2 AND REF(L,1)/HHV(H,5)<0.96 AND REF(H,4)=REF(HHV(H,4),1) AND o/REF(C,1)>1.01 AND o/REF(C,1)<1.04; SK:=COUNT(C/REF(C,1)<1.03,3)=3 AND REF(COUNT((C+O) X4:=(H-MAX(C,O))/ABS(C-O)>2 AND REF(L,1)/HHV(H,6)<0.95 AND REF(H,5)=REF(HHV(H,5),1) AND o/REF(C,1)>1.01 AND o/REF(C,1)<1.04; SK4:=COUNT(C/REF(C,1)<1.03,4)=4 AND REF(COUNT((C+O) B:((X AND SK) OR (X4 AND SK4)) ; 4,周KDJ金叉 A:="KDJ.K#DAY"; B:="KDJ.D#DAY"; AA:="KDJ.K#WEEK"; BB:="KDJ.D#WEEK"; 周金叉:CROSS(AA,BB)AND CROSS(A,B); 5,黄金坑 RSV1:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100; RSV2:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100; 短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,14); 中线:=SMA(RSV2,5,1)+2*STD(CLOSE,14); RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100; 长线:=SMA(RSV3,5,1); 黄金坑:短线<20 AND 中线<20 AND 长线<20; 附加:放量收阳 6,老鸭头选股公式 A1:=BARSLAST(REF(CROSS(MA(C,5),MA(C,10)),1)); A2:=(HHV(C,A1+1)/REF(C,A1+1)-1)*100; A3:=CROSS(MA(C,5),MA(C,10)); A4:=LLV(V,10)=LLV(V,30) AND EXIST(MA(V,5)>MA(V,10) AND MA(V,10)>MA(V,20),30); A5:=C/REF(C,A1+1)>1.05; A2>10 AND A2<N AND A3 AND A4 AND A5 AND MA(C,5)>MA(C,60); 7,MACD0轴下方二次金叉选股公式 DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {选股设JC=10即可} DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA),COLORSTICK; A:=IF(CROSS(0,DEA),1,0); A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0); SS:=IF(A,SUM(A1,0),0); SSB:=HHV(SS,0); SSS:=SUM(A1,0); JC:IF(SSS-SSB=2 AND SSS>REF(SSS,1),10,0); 8,黄金分割线选股 日:=150;昨前:=3; 高1:=REF(HHV(H,日),昨前); 低1:=REF(LLV(L,日),昨前); H2:=高1-(高1-低1)*0.382; H3:=高1-(高1-低1)*0.5; 二0.618:=REFDATE(H2,DATE); 三0.500:=REFDATE(H3,DATE); BETWEEN(C,二0.618,三0.500); 9,通信达短线起爆公式 MA5:=MA(C,5); MA10:=MA(C,10); MA30:=MA(C,30); MA60:=MA(C,60); MA120:=MA(C,120); MA250:=MA(C,250); A1:=HHV(H,30); A2:=CROSS(C,REF(A1,1)); ZT:=ROUND(REF(C,1)*110)/100; DDT:=MA5>MA10 AND MA10>MA30 AND MA30>MA60; CDT:=MA30>MA60 AND MA60>MA120 AND MA120>MA250; PC:=NOT(NAMELIKE('S') OR NAMELIKE('*S')) AND DYNAINFO(17)>=2 AND CAPITAL MA5 AND MA30>MA10 AND MA60>MA5 AND MA60>MA10; T2:=CROSS(C,MA30) AND CROSS(C,MA60); T3:=MA120>MA60 AND MA120>MA30 AND MA120>MA10 AND MA120>MA5; T4:=MA250>MA120 AND MA250>MA60 AND MA250>MA30 AND MA250>MA10 AND MA250>MA5; TP1:=T1 AND T2 AND PC AND C>MA250 AND C>MA120; TP2:=CDT AND PC AND CROSS(C,MA5) AND CROSS(C,MA10) AND C>MA30; TP3:=T3 AND CROSS(C,MA120) AND PC OR T4 AND CROSS(C,MA250) AND PC; TP4:=DDT AND CDT AND PC AND A2; ZF:=C>O AND C/REF(C,1)>=1.05; TP5:=EXIST(CROSS(MA10,MA5),10) AND CROSS(C,MA5) AND CROSS(C,MA10) AND ZF; TP1 AND ZF OR TP2 AND ZF OR TP3 AND ZF OR TP5 AND CDT; 10,翻倍黑马选股公式 MA5:=MA(C,5); MA24:=MA(C,24); 均量5:=MA(VOL,5); 均量60:=MA(VOL,60); DIFF:=EMA(CLOSE,10)-EMA(CLOSE,20); DEA:=EMA(DIFF,7); MACD:=2*(DIFF-DEA); 启动点--笔者(1162084309):IF(CROSS(MA5,MA24) AND 均量5>均量60 AND MACD>0 AND DIFF>DEA,8,0); |
|