去评论
彩虹桥投资充电站

《后羿射日~蛰伏》条件选股公式代码……无花果陈隽制作

章萌主
2023/11/14 16:15:14

{后羿射日选股。条件选股。更新日期: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)


日月日:=(REF(涨停,2) AND REF(C,1)


旭日:=REF(C,1)MA(C,57) AND V>=REF(V,1)*2 AND (CROSS(CCI,100) OR REF(CROSS(CCI,100),1)) AND (涨停 OR 涨停前),COLORFF00FF;{旭日开启主升浪。以涨停板穿越57日均线的同时,CCI突破天线,此形态的个股走出主升浪的不少,每月都有好几个。这是个经验方法,没有理论可说道}


放量跳空高开:=V>=REF(V,1)*1.5 AND O>=REF(C,1)*1.01 AND C>REF(C,1);

长上影:=((C>O AND H/C>=1.025 AND (H-C)>1.15*(C-O)) OR (O>C AND H/O>=1.025 AND (H-O)>1.15*(O-C))) OR ((((C-O)/(O-L)>2 OR O=L) AND C>O AND (H-C)/(C-O)>2) OR (((O-C)/(C-L)>2 OR C=L) AND C2));

金手指:=REF(涨停,1) AND 长上影 AND 放量跳空高开;

吞上影:=C>=REF(H,1) AND REF(金手指,1);

DDN:=(REF(涨停,1) AND 十字 AND O>REF(C,1) AND V>REF(V,1) AND C>REF(C,1)) OR (REF(涨停,1) AND (十字 OR (C>O AND H/C>1.055) OR (O>C AND H/O>1.055)) AND O>REF(C,1) AND V>REF(V,1)*1.13 AND C>REF(C,1)) OR (REF(涨停,1) AND (十字 OR (C>O AND H/C>1.055) OR (O>C AND H/O>1.055)) AND O>REF(C,1)*0.98 AND V>REF(V,1)*1.13 AND C>REF(C,1));


日食:=日全食,COLORWHITE;{日全食形态就是黑太阳形态,具体内容请上网查阅。日全食=涨停板+向上跳空阴线+放大量。低位日全食形态往往是主升浪的前兆。日全食形态也是所谓的首板战法的组成部分,昨天是首板,今天早盘出现日全食形态,下午有可能拉涨停板。“涨停+放量假阴线”是确认涨停后继续上涨的信号之一,如何把握呢?需要注意以下具体条件:上涨过程中需要出现高换手涨停板,自然而然就排除了一字板;涨停第二天,出现高开低走假阴线,但是收盘价不能低于前一日的涨停价;回调不能跌破5日均线,如果两个交易日内突破假阴线的实体位置,说明该股票主力高度控盘,非常适合短线操作}


丹鸟:=吞上影 OR (REF(DDN,1) AND C>=REF(H,1) AND REF(涨停,2)),COLOR00AA00;{丹鸟形态就是迫线,指进攻而受到迫击回落的K线,这往往是主升浪的起点。技术要点:第一个交易日出现涨停板;第二个交易日收十字星线(阴阳都可以)或者收长上影线,先上后下的走势;放量;如果有跳空缺口,盘中不回补;第三个交易日用长阳吃掉第二个交易日上影线。符合以上5点要求的这根长上影线或十字星线,通常被称之为“攻击迫线”。攻击迫线买点把握:在第三个交易日形态确立后追涨买进}


九日:=((射日 OR 玄鸟 OR 红日 OR 二日 OR 日月日) AND 涨停) OR ((COUNT(日全食,5)/5>=1/5 OR COUNT(丹鸟,3)/3>=1/3) AND 涨停) OR 两三日 OR 旭日;{一键选股,此前各个信号一网打尽}


羿射:=(COUNT(两三日,55)/55>=1/55 OR COUNT(日全食,44)/44>=1/44 OR COUNT(旭日,33)/33>=1/33 OR COUNT(日月日 OR 丹鸟,22)/22>=1/22 OR (COUNT(涨停,11)/11>=1/11 AND COUNT(换手>11.11,11)/11>=1/11)) AND COUNT(换手>5.55,55)/55>=1/55;

标准换手:=(((((VOL/CAPITAL*10000>=8 OR MA(VOL/CAPITAL*100,3)>=2.3 OR REF(VOL/CAPITAL*100,1)>=2.4) AND (MA(V,3)>=MA(V,40) OR MA(V,5)>=MA(V,25))))) OR VOL/CAPITAL*1000>=1.11 OR REF(VOL/CAPITAL*100,1)>=3) AND VOL/CAPITAL<=43;

ZZZ1:=CROSS(C,M10) AND CROSS(C,M5) AND COUNT(九日,15)/15>=1/15 AND C>=1.03*REF(C,1) AND C>O AND M10>M20 AND M20>M30 AND M30>M60;

ZZZ2:=COUNT(九日,15)/15>=1/15 AND CROSS(多头排列,0.8);

ZZZ3:=标准换手 AND COUNT(九日,15)/15>=1/15 AND C>=1.058*REF(C,1) AND C>O AND M10>M20 AND M20>M30 AND M30>M60;

ZZZ4:=(COUNT(三连板,25)/25>=1/25 OR COUNT(两连板,20)/20>=1/20 OR COUNT(九日,15)/15>=1/15) AND (CROSS(CCI,100) OR CROSS(CCI,JX)) AND 多头排列 AND M5<=REF(M5,1);

ZZZ:=(ZZZ1 OR ZZZ2 OR ZZZ3 OR ZZZ4) AND 涨停=0;


追涨:=ZZZ*0.5,COLORRED;{追涨就是网上流传的穿针引线形态。“穿针引线”的基本条件及要点:①行情处于上行过程,量价齐升,稳步上行,均线呈多头排列。②前期一波上行后,出现小幅回调,量能逐渐萎缩,5日线有下穿10日线的趋势,形成粘合。③在5日线即将下穿10日线时,放量拉出一根大阳K,趋势重现多头排列。④5日线再次上穿10日线 ,为首个入场时机,突破新高形成N型反转,为加仓时机}


埋伏:=羿射;{出现过涨停因子,逢低介入,能够收获涨停板}


潜伏:=COUNT(日食,34)/34>=1/34;{在34个交易日内出现过日食形态,日食不亏,不亏,顾名思义,就是在潜伏信号下逢低介入,大概率不会亏损。日食形态还是牛股基因}


蛰伏:COUNT(两三日,55)/55>=1/55 OR COUNT(旭日,15)/15>=1/15 OR COUNT(日月日,5)/5>=1/5;{在55个交易日内出现两三日,或者,在15个交易日内出现旭日信号,或者,在5个交易日内出现日月日信号。成为牛股的概率比较大。水牛儿,水牛儿,先出犄角后出头}

  • 鍏嶈垂鎸囨爣鍒嗕韩銆愮簿鍝佹寚鏍囥戞捣楸间箣閲戜紭鍖栫増鈥斺旂ǔ瀹氬彲闈犵殑
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愭父璧勯噾榫欑獊鐮淬戜富鍥炬寚鏍 锛屽姪浣犺偂
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愰緳鑸熸姄榫欍 鎵嬫満鐢佃剳閫氱敤鍓夋寚鏍
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇♀滄瀬闄愭礂鐩樷濆壇鍥炬寚鏍囬夎偂鍏紡--鍚姩
  • 鍏嶈垂鎸囨爣鍒嗕韩0729|鈥嬧嬧嬧嬮氳揪淇¢珮鑳滅巼銆愮珵浠疯繛鏉挎墦濡
  • 鍏嶈垂鎸囨爣鍒嗕韩鍛ㄦ湯绂忓埄閾佹爲寮鑺辫繘鍑荤増鎸囨爣婧愮爜涓诲浘闄勫浘閫