《后羿射日~蛰伏》条件选股公式代码……无花果陈隽制作
{后羿射日选股。条件选股。更新日期:2023年1月31日}
M5:=MA(C,5);M10:=MA(C,10);M20:=MA(C,20);M30:=MA(C,30);M60:=MA(C,60);
多头排列:=M5>M10 AND M10>M20 AND M20>M30 AND M30>M60;
换手:=VOL/CAPITAL*100;
涨停:=((C>=REF(C,1)*1.0912 AND H=C) OR C>=REF(C,1)*1.12) AND C>=O;
涨停前:=(C>=REF(C,1)*1.068 OR ,(C>=REF(C,1)*1.048 AND H=C)) AND 换手>=1.68;
涨停前Q:=C>=REF(C,1)*1.038 AND 换手>=1.83;
十字线:=(HIGH<>LOW AND ABS(1000*(C-O)/REF(C,1))<=23 AND H<>C AND L<>C AND H<>O AND L<>O AND H/C>=1.028 AND C/L>=1.028) OR (ABS(1000*((C/O)-1))<=15 AND 1000*((H/L)-1)>=25) OR (ABS(1000*((C/O)-1))<=3 AND 1000*((H/L)-1)>=13) OR (ABS(100*((C/O)-1))<=2 AND 100*((H/L)-1)>=6);
十字星:=CLOSE=OPEN AND HIGH<>LOW AND H<>C AND H<>O AND L<>C AND L<>O;
标准十字星:=HIGH<>LOW AND (HIGH-LOW)<(MA((H-L),89)) AND ABS(CLOSE-OPEN)<=0.05 AND H<>C AND L<>C AND H<>O AND L<>O;
SZZ:=标准十字星 OR 十字星 OR 十字线;十字:=SZZ;
两连板:=COUNT(涨停,2)=2;
UP:=COUNT(涨停,3)=3;UP4:=COUNT(涨停,4)=4;
三月:=COUNT(涨停,66)/66>=1/66;
P:=(HIGH + LOW + CLOSE)/3;
CCI:=(P-MA(P,13))*100 /(1.5*AVEDEV(P,13));CCI89:=(P-MA(P,89))*100/(1.5*AVEDEV(P,89));JX:=MA(CCI,5);
小阴小阳:=ABS(((C/O)-1)*1000)<=33;
T型线:=O>REF(C,1)*1.08 AND O>L AND C=H AND L 两板龙LBL:=(UP4=0 AND UP=0 AND 涨停 AND REF(涨停,1) AND REF(C,2)*0.88<=REF(EMA(C,60),2) AND REF(CROSS(三月,0.8),1)) OR (REF(涨停,2)=0 AND V>REF(V,1) AND REF(L,1)*0.95 JC:=BARSLAST(涨停);{前次涨停距今天的天数} N天首板:=涨停 AND REF(JC,1)>=38; M6:=MA(C,2);M1:=MA(C,5);M2:=MA(C,25);M50:=MA(C,50); D:=MAX(MAX(MAX(M6,M1),M2),M50); X:=MIN(MIN(MIN(M6,M1),M2),M50); 粘合度:=(D/X-1)*100; 二板低量EBDL:=REF(JC,1)<=68 AND 涨停 AND REF(粘合度,1)<11 AND REF(JC,1)>=2 AND V<0.96*HHV(V,(REF(JC,1)+1)); 朝阳:=(涨停 AND REF(CCI89,1)<=-100) OR (涨停 AND CROSS(C,EMA(C,55)) AND C>=EMA(C,21) AND C>=EMA(C,13)); M8:=MA(C,8);M13:=MA(C,13);M21:=MA(C,21);M34:=MA(C,34);M55:=MA(C,55); VAR1:=O<=M5 AND C>M5; VAR2:=O<=M8 AND C>M8; VAR3:=O<=M13 AND C>M13; VAR4:=O<=M21 AND C>M21; VAR5:=O<=M34 AND C>M34; VAR6:=O<=M55 AND C>M55; VAR7:=(VAR1+VAR2+VAR3+VAR4+VAR5+VAR6)>4; HH:=HHV(H,380);LL:=LLV(L,380);DW:=(C-LL)/(HH-LL)<0.45; LT:=BARSLAST(LL);HH1:=HHV(C,LT);LL1:=LLV(C,LT); ZF:=HH1/LL1<1.4;HSN:=SUM(V,LT)/CAPITAL>3; 初阳:=C>O AND 涨停 AND VAR7; 玄鸟:=(REF(SZZ,1) AND 涨停 AND (REF(L,2)=REF(C,2)*1.0434 AND REF(H,1)=REF(C,1) AND REF(SZZ,2) AND 涨停 AND (REF(L,2) BXDX:=(涨停 OR 涨停前Q) AND M5<=C AND M10<=C AND M20<=C AND M30<=C AND M60<=C AND M5>=O AND M10>=O AND M20>=O AND M30>=O AND M60>=O; QHQ:=CROSS(H,MA(C,120)) OR REF(CROSS(H,MA(C,120)),1); RQS:=(QHQ OR H=HHV(H,33) OR REF(朝阳,1) OR REF(BXDX,1) OR REF(玄鸟,1) OR REF(初阳,1) OR REF(二板低量EBDL,1)) AND REF(涨停,1) AND 换手>=8.33 AND O>C AND V=HHV(V,23) AND C>=REF(C,1) AND REF(C,1)>REF(L,1); RQS1:=V=HHV(V,60) AND REF(涨停,1) AND O>REF(C,1) AND O>C AND M5>M10 AND M10>M20 AND M10>M60; RQS11:=(V=HHV(V,60) OR 换手>8) AND REF(涨停,1) AND C>0.98*REF(C,1) AND O>C AND O>REF(C,1) ; 日R食S:=(REF(涨停,1) AND (O>C OR CREF(V,1)*1.2) OR (REF(C,1)>REF(C,2)*1.03 AND O>REF(C,1)*1.01 AND O>C AND C>REF(C,1) AND V>REF(V,1)*1.3); 日Q食:=O>REF(H,1) AND 日R食S AND O>C AND C>REF(C,1) AND V>REF(V,1)*1.5 AND 换手>5.5; 日RS食:=日R食S AND REF(涨停,1) AND V>1.97*REF(V,1) AND 换手>5.5; 日全食:=日RS食 OR 日Q食 OR RQS1 OR RQS11 OR RQS OR (REF(RQS,1) AND C>REF(O,1)) OR (REF(RQS,2) AND C>REF(O,2) AND REF(C,1)REF(O,3) AND REF(C,1) QQ2:=C>1.048*REF(C,1); QQ11:=(CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND ((换手>=5.55 AND H=HHV(H,25) AND V=HHV(V,25)) OR 日全食) AND MA(C,120)>MA(C,60) AND (QQ2 OR REF(QQ2,1)); QQ111:=(CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND H=HHV(H,78) AND V=HHV(V,78) AND MA(C,120)>MA(C,60) AND 换手>0.98; QQ1:=((CROSS(L,MA(C,120)) OR CROSS(C,MA(C,120)) OR CROSS(H,MA(C,120))) AND H=HHV(H,18) AND V=HHV(V,23) AND MA(C,120)>MA(C,60) AND 换手>3.8) OR QQ11 OR QQ111; 虎虎生威:=涨停 AND V=HHV(V,15) AND CROSS(C,MA(C,120)) AND MA(C,120)>MA(C,60) AND COUNT(QQ1,55)/55>=2/55; 三连板:=COUNT(涨停,3)=3; 五日三板:=COUNT(换手>9.55,5)/5>=1/5 AND COUNT(涨停,5)/5>=3/5 AND 三连板=0; 红日:=(N天首板 OR 初阳 OR 朝阳 OR 虎虎生威) AND 涨停,COLORRED;{“红日照遍了东方,自由之神在纵情歌唱”初阳、朝阳、虎虎生威都是低位涨停板。紧盯从底部涨起来的第一个涨停板!能够涨停的,一般都不会是散户所为。那么从涨停板回落下来,跌回到涨停板的起涨位置,就相当于是跌到了入场资金的成本区。所以入场的大资金,一般是不会允许跌破自己的成本价,一般都会在成本区重新走起。第一点,第一个涨停板必须是在长期调整后的底部位置。第二点,涨停的三天内,需要放大量,放大量才说明有大资金进场。第三点,涨停的前期内必须是缩量调整的。第四点,回落的周期至少五天以上十天以内。第五点,回落到涨停板起涨位置的附近,就是入场的好时机了} 两三日:=两板龙LBL OR 五日三板 OR (REF(三连板,1) AND 涨停=0) OR (REF(三连板,2) AND REF(涨停,1)=0 AND 涨停=0),COLORYELLOW;{此信号由四部分组成:①两板定龙头,二晋三的可能性较大;②第二板是T字板,且出现于龙虎榜,那么,该股大概率有五板;③五日三板;④三连板} 射日:=BXDX,COLOR00FF00;{5、10、20、30、60五条均线同时从K线的实体穿过。射日形态与芙蓉出水形态相近} 二日:=二板低量EBDL,COLOR0000AA;{在两个月内出现第二个涨停板,第二板的成交量低于阶段最大量,往往会有连板在后面} Y7:=C>REF(C,1)*1.07; YYY:=REF(C,1)>C AND V>REF(V,1); 反包:=(REF(Y7,2) AND YYY AND 涨停 AND VREF(C,1)) OR (REF(Y7,3) AND REF(YYY,1) AND 涨停 AND VREF(O,2) AND REF(C,1)