国信证券条件选股公式

合集下载

通达信几种实用的条件选股公式,一旦掌握,至少翻翻!

通达信几种实用的条件选股公式,一旦掌握,至少翻翻!

通达信几种实用的条件选股公式,一旦掌握,至少翻翻!(2018-06-08 07:25:27)转载标签:股票分类:股票公式一、均线上拐选股法自编公式操作步骤:均线上拐公式:ma(c,60)>ref(ma(c,60),1) and ref(ma(c,60),1)“设置”“公式管理”“自编”“条件选股”“新建”“公式名称——“60天均线上拐”在图片下方位置,把公式“ma(c,60)>ref(ma(c,60),1) and ref(ma(c,60),1)时间统计公式:last(ref(ma(c,60),1)步骤如下:“设置”“公式管理”“自编”“技术指标”“新建”“公式名称—60天时间统计”在图片下方位置,把公式“last(ref(ma(c,60),1)选股步骤:均线上拐——时间统计——安全系数。

使用条件选股——条件选股(新版)——60天均线上拐——执行选股:执行结果如下:添加技术指标——时间统计——排序:二、预测涨停选股用法:每天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;涨停>预测;三、股价位于均线上方选股公式{股价位于均线上方选股公式}TA:=BARSSINCE(CLOSE);MA5:=IF(TA>=5,MA(C,5),0);MA10:=IF(TA>=10,MA(C,10),0);MA20:=IF(TA>=20,MA(C,20),0);MA60:=IF(TA>=60,MA(C,60),0);A1:=MA5>MA10 AND MA10>MA20 AND MA20>MA60;LMAX:=MAX(MAX(MA5,MA10),MAX(MA20,MA60));CROSS (CLOSE,MA5) AND V>=REF(V,1)AND A1;四、老鸭头“老鸭头”的操作要领:1、找到鸭脖子,见图中的A处。

优秀选股公式

优秀选股公式

优秀选股公式优秀选股公式公式:Var2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 ANDCLOSE/REF(CLOSE,1)>0.905 ANDCLOSE/REF(CLOSE,1)<1.05 ANDVOL/CAPITAL*100<5,50,0);Var3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;Var4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;Var5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;Var6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;Var7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;Var8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;Var9:=(Var3+Var4+Var5+Var6+Var7+Var8)/6;VarB:=ABS(Var6-Var8);VarC:=(Var9+VarB)/2;Var10:=IF(VarC<0 ANDCLOSE<=LLV(CLOSE,5) ANDCLOSE/REF(CLOSE,1)>0.905 ANDCLOSE/REF(CLOSE,1)<1.05 ANDVOL/CAPITAL*100<5,-50,0);Var13:=REF(CLOSE,2)*0.865;Var14:=REF(CLOSE,13)*0.772;Var15:=MIN(Var13,Var14);Var16:=100*VOL/CAPITAL;Var18:=IF((CLOSE-Var15)/CLOSE<0.03ANDSUM(Var16,5)/5<1.8,1,0);Var19:=IF(Var18>0 AND (Var10<0 ORVar2>0),100,0);Var1F:=MA(CLOSE,80)-MA(CLOSE,10)/2.5;Var19 AND CLOSE<Var1F;交易次数359-胜率60.72-成功率92.58公式名称:福星高照公式类型:买点公式默认周期:日默认参数:(无)原码:CLOSE=OPEN AND CLOSE=HIGH AND CLOSE=LOW ANDCLOSE/REF(CLOSE,1)>1.044 ANDVOL/CAPITAL*1000<4;信号发出后基本是连续一字涨停,无法买入!交易次数294-胜率78.57-成功率80公式类型:高成功率默认周期:日默认参数input:N(22,1,30),N2(5,1,10),N3(3,1,5),N4(-30,-50,0);:原码:input:N(22,1,30),N2(5,1,10),N3(3,1,5),N4(-30,-50,0);Var1:=IF(DATE>=1090608,0,1);Var2:=CLOSE<0.98*REF(CLOSE,1);Var3:=OPEN<REF(CLOSE,1);Var4:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100*Var1;Var5:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100*Var1;Var6:=MA(COST(N)/LOW,N3);Var7:=Var6>1.5 AND Var4>N2 ANDVar5<N4;Q: Var7 AND (COUNT(Var7,10) AND Var2 OR COUNT(Var7,20) ANDVar3*Var1);交易次数239-胜率51.05-成功率-93.77公式类型:高成功率默认周期:日默认参数:Var1:=CLOSE/MA(CLOSE,40)*100<76;Var2:=CLOSE/MA(CLOSE,60)*100<74;Var3:=HIGH>LOW*1.051;Var4:=Var3 AND COUNT(Var3,5)>1;Var4 AND (Var1 OR Var2) ANDMA(CLOSE,27)/CLOSE>1.169 AND MA(CLOSE,17)/CLOSE>1.158 ANDCLOSE<MA(CLOSE,120)AND MA(CLOSE,60)<MA(CLOSE,120) ANDMA(CLOSE,60)>MA(CLOSE,30)AND "CCI">-210 ANDMA(VOL,60)>MA(VOL,30) AND (CLOSE>OPENOR CLOSE<OPEN)AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07;交易次数1470-胜率43.20-成功率81.58好公式不需要复杂的,我用了5年的抄底公式s01:=c/ma(c,40)<0.74;s02:=(h-l)/ref(c,1)>0.05;s03:=count(s02,5)>1;s01 and s02 and s03;交易次数3829-胜率39.31-成功率80.06公式名称:乖离选股公式类型:买点公式默认周期:日线默认参数:无注:最后结果以风班的为准。

强势股首阴选股公式

强势股首阴选股公式

强势股首阴选股公式
强势股首阴选股公式通常考虑以下几个方面:
1.指标要求:选择首阴时要求MA(CLOSE,5)大于
MA(CLOSE,10),即5日移动平均线大于10日移动平均线。

2.成交量要求:要求成交量V大于10,即成交量大于10亿。

3.涨停天数要求:涨停天数不超过3天,即涨停天数<=3。

4.涨停次数要求:涨停次数大于等于3,即涨停次数>=3。

5.剔除条件:剔除ST和停牌的股票,剔除688开头的科创板股票,剔除30开头的创业板股票。

综合以上条件,强势股首阴选股公式可以表示为:
首阴:=((MA(CLOSE,5) > MA(CLOSE,10)) AND V > 10 AND 涨停天<= 3 AND 涨停次数>= 3) AND NOT(NAMELIKE('S') OR NAMELIKE('*S')) AND NOT(CODELIKE('688')) AND
NOT(CODELIKE('30'));
这只是一种可能的强势股首阴选股公式,具体的选股公式可能因个人投资风格和风险偏好而有所不同。

请注意,投资股市存在风险,投资者需要充分了解市场和股票信息,谨慎决策。

国信证券选股公式

国信证券选股公式
(DIFF,DEA),DATALEN);二次金叉:CROSS(DIFF,DEA) AND (DEA>0) AND
(COUNT(JCCOUNT=N,DATALEN)=1); 12.
公式名称:MACD绿柱缩短
公式描述:MACD指标绿柱子开始缩短
参数:NULL
日期:2011 DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9);
("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)); A3:=BARSLAST(REF(CROSS
("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1)); B3:=REF(C,A3+1)>C
AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS
(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D;
AAA:=CROSS(J,D) AND J<40;{J上穿D,且KDJ底背离} {MACD} DIFF:=EMA
(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA);
公式名称:MIN<涨幅
<MAX公式描述:涨幅介于MIN和MAX之间的股票
参数:
NMIN (-10)-10-4 NMAX (-10)-11-8日期:2011
NMAX1:=(CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1); (NMAX1>=NMIN)AND

【通达信指标公式】条件选股公式

【通达信指标公式】条件选股公式

【通达信指标公式】条件选股公式【通达信指标公式】条件选股公式-2010最新版公式, 指标, 条件, 通达信, 股票指标公式, 2010最新版第一、开盘5-30分钟①-KPFL-超级短线选股,选股思路:开盘时量比较大,主力强力上攻,发出信号后,立即决定是否购买。

A赋值今开-前收盘价)/前收盘价*1000<=25 AND 今开>=前收盘价B赋值:量比*10>15D赋值:现价>=均价E赋值:现价>=今开 AND 涨幅度*100<=4F赋值:总手>1500G赋值:现手>=100输出XG:A并且B并且D并且E并且F并且GA:=(DYNAINFO(4)-DYNAINFO(3))/DYNAINFO(3)*1000<=25 AND DYNAINFO(4)>=DYNAINFO(3);B:=DYNAINFO(17)*10>15;D:=DYNAINFO(7)>=DYNAINFO(11);E:=DYNAINFO(7)>=DYNAINFO(4) AND DYNAINFO(14)*100<=4;F:=DYNAINFO(8)>1500;G:=DYNAINFO(9)>=100;XG:A&&B&&D&&E&&F&&G;第四、1400-1500选股-WPXG-选股思路:收盘前根据地价地量选股,代表明天上攻的可能性大。

A赋值今开-前收盘价)/前收盘价*1000<=20 AND (前收盘价-今开)/前收盘价*1000<=15B赋值:量比*10<=7 AND 量比*10>0D赋值:现价<=均价E赋值:现价<今开AND (前收盘价-现价)/ 前收盘价*1000>=20 AND (前收盘价-现价)/ 前收盘价*1000<=90F赋值:换手率*10<=15输出XG:A并且B并且D并且E并且FA:=(DYNAINFO(4)-DYNAINFO(3))/DYNAINFO(3)*1000<=20 AND (DYNAINFO(3)-DYNAINFO(4))/DYNAINFO(3)*1000<=15;B:=DYNAINFO(17)*10<=7 AND DYNAINFO(17)*10>0;D:=DYNAINFO(7)<=DYNAINFO(11);E:=DYNAINFO(7)<DYNAINFO(4) AND (DYNAINFO(3)-DYNAINFO(7))/ DYNAINFO(3)*1000>=20 AND (DYNAINFO(3)-DYNAINFO(7))/ DYNAINFO(3)*1000<=90;F:=DYNAINFO(8)*10000/FINANCE(7)<=1.5;XG:A&&B&&D&&E&&F;【通达信指标公式】条件选股公式-2010最新版公式, 指标, 条件, 通达信, 股票指标公式, 通达信指标公式, 2010最新版AVAR1:=EMA(CLOSE,3)-EMA(CLOSE,5);AVAR2:=EMA(AVAR1,11);ZC:=CROSS(AVAR1,AVAR2) AND TROUGHBARS(3,7,1)<1;DRAWTEXT(ZC,H+0.05,'㊣'),COLORYELLOW;DRAWTEXT(ZC,L,'震仓*'),COLORYELLOW;{趋势线}VAR1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2:=CROSS(VAR1,0.9);VAR3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4:=CROSS(VAR3,0.9);VAR5:=IF(VAR2,HIGH,IF(VAR4,LOW,0));趋势线:=ZIG(3,6);DRAWTEXT(CROSS(ZIG(3,6),TROUGHBARS(3,6,1)),HIGH*1.0 08,'加仓*'),LINETHICK1;VAR6:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOW<REF(LOW,1) AND HIGH<REF(HIGH,1),3);VAR7:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND LOW>REF(LOW,1) AND HIGH>REF(HIGH,1),3);VAR8:=BACKSET(REF(HIGH,2)=HHV(HIGH,5) AND HIGH<REF(HIGH,1) AND LOW>REF(LOW,1)AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)<REF(HIGH,2),3);VAR9:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOW>REF(LOW,1) AND HIGH>REF(HIGH,1),3);VARA:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND LOW<REF(LOW,1) AND HIGH<REF(HIGH,1),3);VARB:=BACKSET(REF(LOW,2)=LLV(LOW,5) AND HIGH<REF(HIGH,1) AND LOW>REF(LOW,1)AND REF(LOW,1)>REF(LOW,2) AND REF(HIGH,1)<REF(HIGH,2),3);DRAWTEXT((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),L-0.02,'买*'),COLORRED;MA5:MA(C,5),COLORWHITE,LINETHICK2;MA18:MA(C,18),COLOR0099FF,LINETHICK2;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);波峰:IF(T1,A,A),COLORFF00FF,POINTDOT;STICKLINE(T1,A,A,9,0),COLORFF00FF;波谷:IF(T2,B,B),COLOR80FF00,POINTDOT;STICKLINE(T2,B,B,9,0),COLOR80FF00;买进价:=((C-REF(MA5,1))/5+MA5)*1.004;买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);白买进:IF(买进条件,L,H),COLORWHITE,POINTDOT;STICKLINE(买进条件,H,L,0,1),COLORWHITE,LINETHICK2;STICKLINE(买进条件,O,C,4,1),COLORWHITE,LINETHICK2;加码价:=((C-REF(MA18,1))/18+MA18)*1.004;加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);黄加码:IF(加码条件,L,H),COLORYELLOW,POINTDOT;STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2;STICKLINE(加码条件,O,C,4,1),COLORYELLOW,LINETHICK2;现价:CLOSE,POINTDOT,COLOR000F89;DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,LOW*0.98, 1);DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,HIGH*1.02,2);DRAWTEXT(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),LOW*0.99,'买') , COLORRED,LINETHICK1;DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.008,'卖') , COLORGREEN,LINETHICK1;【通达信指标公式】条件选股-2010最新版公式, 指标, 条件, 通达信, 股票指标公式, 通达信指标公式, 2010最新版MA60:MA(CLOSE,60),COLOR00FF00;MA20:MA(CLOSE,20),COLOR00FFFF,LINETHICK2;MA30:MA(CLOSE,30),COLORFF00FF;{MA55:MA(CLOSE,55),COLOR0000FF;}{MA120:=MA(CLOSE,120),COLORFFFF00;}天使:=EMA(C,2),COLOR000000;魔鬼:=EMA(SLOPE(C,21)*20+C,42),COLOR000000;买:=CROSS(天使,魔鬼);卖:=CROSS(魔鬼,天使);DRAWICON(买,L*0.97,1);DRAWTEXT(买,L*0.95,''),COLORYELLOW;DRAWICON(卖,H*1.03,2);DRAWTEXT(卖,H*1.05,''),COLORWHITE;STICKLINE(天使>=魔鬼,LOW,HIGH,0.01,0),COLOR0000DD;STICKLINE(天使>=魔鬼,CLOSE,OPEN,2,1),COLORRED;{STICKLINE(天使>=魔鬼,CLOSE,OPEN,3,0),COLOR0000CC;STICKLINE(天使>=魔鬼,CLOSE,OPEN,2,0),COLOR0000DD;STICKLINE(天使>=魔鬼,CLOSE,OPEN,1,0),COLOR0000FF;}{STICKLINE(天使<魔鬼,CLOSE,OPEN,1,0),COLOREEEE00;STICKLINE(天使<魔鬼,CLOSE,OPEN,2,0),COLORDDDD00;STICKLINE(天使<魔鬼,CLOSE,OPEN,3,0),COLORCCCC00;}STICKLINE(天使<魔鬼,LOW,HIGH,0.01,0),COLORFFDD00;STICKLINE(天使<魔鬼,CLOSE,OPEN,2,0),COLORFFFF00;STICKLINE(CROSS(天使,魔鬼),OPEN,CLOSE,2.5,0),COLORYELLOW;STICKLINE(CROSS(魔鬼,天使),OPEN,CLOSE,2.5,0),COLORWHITE;【通达信指标公式】黑马条件选股公式-2010最新版黑马, 公式, 指标, 条件, 通达信, 股票指标公式, 通达信指标公式, 2010最新版(N,1,11,9)(M,1,10,3)IF(C/REF(C,1)>(1+0.01*N)&&VOL/CAPITAL<M/100,1,0);【通达信指标公式】条件选股-2010最新版公式, 指标, 条件, 通达信, 股票指标公式, 通达信指标公式, 2010最新版第一个VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;A1:(EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4, COLORRED,LINETHICK2;A2: EMA(A1,2)COLORCYAN;A3: EMA(A2,2)COLORCYAN;A4: EMA(A3,2)COLORCYAN;A5: EMA(A4,2)COLORCYAN;A6: EMA(A5,2)COLORCYAN;A7: EMA(A6,2)COLORCYAN;A8: EMA(A7,2)COLORCYAN;A9: EMA(A8,2)COLORCYAN;A10: EMA(CLOSE,60)COLORFF00FF,LINETHICK2;DRAWICON(CROSS(A1,A10),A10,5);DRAWICON(CROSS(A10,A1),A1,6);第二个顶:=85;中:=50;底:=20;VAR1:=HHV(HIGH,9)-LLV(LOW,9);VAR2:=HHV(HIGH,9)-CLOSE;VAR3:=CLOSE-LLV(LOW,9);VAR4:=VAR2/VAR1*100-70;VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR7:=SMA(VAR3/VAR1*100,3,1);VAR8:=LLV(LOW,34);VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);VARA:=IF(VAR9>100,VAR9-100,0);VARB:=HHV(HIGH,34);AA:= VARA*2;BB:= EMA((VAR6-VAR8)/(VARB-VAR8)*100,13);VARC:=EMA(0.667*REF(BB,1)+0.333*BB,2);CC:SMA(VAR5,20,1),COLORRED;CC1:SMA(CC,5,1),COLORGREEN;STICKLINE(CC>CC1,CC,CC1,1,0),COLORRED;STICKLINE(CC1>CC,CC,CC1,1,0),COLORGREEN;出击:IF((CROSS(CC,CC1) AND (CC1 < 顶) ),80,0),COLORRED;{跑}DRAWICON(CC < REF(CC,1) AND REF(CC,1) < REF(CC,2) AND CC > CC1,100,2);DRAWICON(CROSS(CC1,CC),100,15);【通达信指标公式】条件选股公式源码-2010最新版公式, 源码, 指标, 条件, 通达信, 股票指标公式, 通达信指标公式, 2010最新版条件选股公式源码:年认同价:=MA(C,240);价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));箱顶:=价格中枢*1.2;箱底:=价格中枢*0.8;毛利润率:=FINANCE(21)/FINANCE(20);成长价值:=年认同价*(1+毛利润率);收益价值:=年认同价+FINANCE(33);回调认同:=EMA(EXPMA(C,20),13);多头:=(回调认同>REF(回调认同,1))AND(成长价值>REF(成长价值,1))AND(收益价值>REF(收益价值,1))AND(DYNAINFO(7)>0);回调条件:=COUNT(C<回调认同,5)>=3;回调突破:=(REF(C,1)<=REF(回调认同,1))AND(C>回调认同)AND(回调条件)AND 多头;成长条件:=COUNT(C<成长价值,5)>=3;成长突破:=(REF(C,1)<=REF(成长价值,1))AND(C>成长价值)AND(成长条件)AND 多头;收益条件:=COUNT(C<收益价值,5)>=3;收益突破:=(REF(C,1)<=REF(收益价值,1))AND(C>收益价值)AND(收益条件)AND 多头;箱底条件:=COUNT(C<箱底,5)>=3;箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底条件)AND 多头;价格条件:=COUNT(C<价格中枢,5)>=3;价格突破:=(REF(C,1)<=REF(价格中枢,1))AND(C>价格中枢)AND(价格条件)AND 多头;箱顶条件:=COUNT(C<箱顶,5)>=3;箱顶突破:=(REF(C,1)<=REF(箱顶,1))AND(C>箱顶)AND(箱顶条件)AND 多头;突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);专买老鼠仓{老鼠仓}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;老鼠仓是个很不错的指标,信号发出一般都在一个波段的底部起涨之时。

通达信准确率90%以上选股公式

通达信准确率90%以上选股公式

专买老鼠仓{老鼠仓}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.97),'老鼠仓'),COLOR4080FF;老鼠仓是个很不错的指标,信号发出一般都在一个波段的底部起涨之时。

根据本人的实践,使用指标时候要注意几点:1 该指标可以添加到任何一个主图里面去,比如MA均线什么的。

2 出现信号当天买进股票,第二天收阳继续持股,直到出阴为止。

3 第二天出阴考虑卖出,非常适合短线操作!老鼠仓(选股公式)AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;理想选股(选股公式)VAR1:=MA((LOW+HIGH+CLOSE)/3,5);VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);VAR3:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);VAR4:=VAR1>REF(VAR1,1) AND REF(VAR1,1)<REF(VAR1,2);VAR5:=LOW<HHV(VAR1,13) AND HIGH>HHV(VAR1,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR6:=VAR5 AND COUNT(VAR4,2);VAR7:=VAR6 AND NOT(REF(VAR6,1));VAR8:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR9:=EMA(MA(C,13),13);VAR10:=FILTER((LLV(VAR8,2)=LLV(VAR8,7) AND COUNT(VAR8<0,2) ANDCROSS(VAR8,MA(VAR8,2)))=1,5);VAR11:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR12:=FILTER(((CROSS(VAR11,0) OR CROSS(C,VAR9)) AND VAR10)=1,3);VAR13:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR12 OR VAR13) AND VAR10;买2:=(VAR12 OR VAR13) AND VAR3;买3:=(VAR12 OR VAR13) AND VAR2;买4:=(VAR2 AND VAR10) OR (VAR3 AND VAR10);买5:=(金叉AND VAR3) OR (金叉AND VAR2) OR (金叉AND VAR10);ST:=EXIST(C/REF(C,1)>1.06,50);输出:=(买1 OR 买2 OR 买3 OR 买4 OR 买5 OR VAR7) AND ST;MA5:=MA(C,5),COLORWHITE;X:=(3*C+L+O+H)/6;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*RE F(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ REF(X,20))/210,COLORFF00FF,LINETHICK1;AB:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),CO LORYELLOW;CROSS(MA5,多空线) and CROSS(C,AB) and 输出;点石成金(选股公式)KS13:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;FASTK:=SMA(RSV,3,1);K:=SMA(FASTK,3,1);D:=SMA(K,5,1);Var1:=CLOSE/MA(CLOSE,40)*100<76;Var2:=CLOSE/MA(CLOSE,60)*100<74;Var3:=HIGH>LOW*1.051;Var4:=Var3 AND COUNT(Var3,5)>1;Var4 AND (Var1 OR Var2) AND REF(KS13,1)>=10 AND REF(KS13,1)/KS13>=1.13 ANDCLOSE/REF(CLOSE,1)>=1.02;牛市绝底(选股公式)VAR1:=REF(CLOSE,1);VAR2:=((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100); VAR3:=((SMA(MAX((CLOSE - VAR1),0),13,1) / SMA(ABS((CLOSE - VAR1)),13,1)) * 100);VAR4:=((100 * (HHV(HIGH,48) - LOW)) / HHV(HIGH,48));VAR5:=((100 * (HIGH - LLV(LOW,48))) / LLV(LOW,48));牛市绝底:VAR2 < 15 AND VAR3 < 20 AND (VAR2 + VAR3) > 20 AND VAR4 > 40 AND BARSCOUNT(CLOSE) > 47;通达信精准选股公式:条件选股公式源码:年认同价:=MA(C,240);价格中枢:=(SUM(年认同价,0)/(BARSSINCE(年认同价>0)+239));箱顶:=价格中枢*1.2;箱底:=价格中枢*0.8;毛利润率:=FINANCE(21)/FINANCE(20);成长价值:=年认同价*(1+毛利润率);收益价值:=年认同价+FINANCE(33);回调认同:=EMA(EXPMA(C,20),13);多头:=(回调认同>REF(回调认同,1))AND(成长价值>REF(成长价值,1))AND(收益价值>REF(收益价值,1))AND(DYNAINFO(7)>0);回调条件:=COUNT(C<回调认同,5)>=3;回调突破:=(REF(C,1)<=REF(回调认同,1))AND(C>回调认同)AND(回调条件)AND 多头; 成长条件:=COUNT(C<成长价值,5)>=3;成长突破:=(REF(C,1)<=REF(成长价值,1))AND(C>成长价值)AND(成长条件)AND 多头; 收益条件:=COUNT(C<收益价值,5)>=3;收益突破:=(REF(C,1)<=REF(收益价值,1))AND(C>收益价值)AND(收益条件)AND 多头; 箱底条件:=COUNT(C<箱底,5)>=3;箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底条件)AND 多头;价格条件:=COUNT(C<价格中枢,5)>=3;价格突破:=(REF(C,1)<=REF(价格中枢,1))AND(C>价格中枢)AND(价格条件)AND 多头; 箱顶条件:=COUNT(C<箱顶,5)>=3;箱顶突破:=(REF(C,1)<=REF(箱顶,1))AND(C>箱顶)AND(箱顶条件)AND 多头;突破买点:(回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破);飞弹一号(选股公式)var1:=c/ma(c,40)*100<78;var2:=c/ma(c,60)*100<74;var3:=h>=l*1.051;var4:=var3 and count(var3,5)>=2;xg:var4 and (var1 or var2) and count(h=l and c=o and c<ref(c,1),3)=0and hhv(v/capital,30)<0.8;牛魔无双(选股公式)A4:=(HIGH-LOW)/HIGH*100+(C-REF(C,1))/REF(C,1)*100;B4:=EMA(MA(A4,50),5);c4:=B4>LLV(B4,5)*1.01 AND REF(B4,1)<REF(LLV(B4,5),1)*1.01AND LLV(B4,50)=LLV(B4,5);d4:=LLV(LOW,5)=LLV(LOW,50) AND LLV(LOW,5)<HHV(LOW,70)*0.5;xg:c4 AND d4;火牛神功(选股公式)Var1:=DMA(CLOSE,VOL/SUM(VOL,34));Var2:=DMA(CLOSE,VOL/SUM(VOL,13));Var3:=(CLOSE-Var1)/Var1*100;Var4:=(CLOSE-Var2)/Var2*100;Var4<=-12 AND Var3<=-19 ;跟庄建仓(选股公式)A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(Var3,3)-10;机构建仓区:=(A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50));Var7:=LLV(LOW,30);Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;Var12:=HHV(Var11,30)*8;火焰山:=EMA(IF(LOW<=Var7 AND 趋势<40,(Var11+Var12),0),3)/618;选股:火焰山>0 AND 机构建仓区>0 AND 趋势>REF(趋势,1) AND REF(趋势,1)<REF(趋势,2);跟庄建仓源码A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);Var1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(S MA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);Var2:=EMA(Var1,8);Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55)) /(HHV(H,55)-LLV(L,55))*100,5,1),3,1);趋势:=EMA(Var3,3)-10;STICKLINE(趋势>80,趋势,80,5,0);DRAWICON(CROSS(趋势,0),0,1);STICKLINE((A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50)),0,A09,6,0),colorFFff00;机构建仓区:0,LINETHICK0,colorFFFF00;Var4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;STICKLINE(趋势<=13,0,20,3,0),colorcc9900;DRAWTEXT(FILTER(趋势<=13,15),30,'准备现金'),colorcc9900;STICKLINE(趋势<=13 AND Var4>13,0,50,2,0),color0099ff;Var5:=FILTER((趋势<=13 AND Var4>13),10);DRAWTEXT(Var5,60,'买入'),color0099ff;STICKLINE(趋势>=90 AND Var4,0,30,3,0),colorgray;Var6:=FILTER((趋势>=90 AND Var4),10);DRAWTEXT(Var6,40,'清仓'),colorgray;Var7:=LLV(LOW,30);Var8:=HHV(HIGH,30);Var9:=EMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25;STICKLINE(Var9>90,100,105,3,2),COLORRED;Var10:=(Var9-LLV(Var9,4))/(HHV(Var9,4)-LLV(Var9,4))*100;DRAWTEXT(IF(CROSS(Var9,Var10) AND Var9>87,95,0),88,'险'),Color00FF00; DRAWICON(CROSS(90,Var9),95,9);Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;Var12:=HHV(Var11,30)*8;火焰山:EMA(IF(LOW<=Var7 AND 趋势<40,(Var11+Var12),0),3)/618,COLORRED,linethick2;STICKLINE(火焰山>0,0 ,火焰山*1.2,4,0 ),COLORRED;Var13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;Var14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;趋势线: 趋势,colorff0000;Var16:=MAX(EMA(Var13,2)-EMA(Var14,5),0)*200;Var17:=EMA(Var16,5);波浪峰:Var17,stick,colorff00ff;STICKLINE(Var17<REF(Var17,1),0,Var17,1,0),color00ff00;Var18:=MA(趋势线,8);if(CROSS(Var2,Var18) AND Var2<15,50,0),COLORRED;DRAWTEXT(CROSS(趋势线,Var2)AND 趋势线>REF(趋势线,1)AND 趋势线<50,50,'追涨'),COLORff00ff;风险区:IF(趋势>80,趋势,80),colorff00ff;双信号"全仓"选股(选股公式)FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);TTJ:=CROSS(FF,MA15);上:=EMA(C,3),COLORBLUE,LINETHICK1;中:=EMA(C,5),COLORWHITE,LINETHICK1;下:=EMA(中,5),COLOR00FF00,LINETHICK1;QQ:= C<中;MM:=上>REF(上,1) AND REF(上,1)<REF(上,2) ;V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));V5:=MA((LOW+HIGH+CLOSE)/3,5);MA1:=MEMA(CLOSE,5);MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;MA3:=IF(MA2>0,MA2,MA2);MA5:=MA(CLOSE,5),COLOR888899;MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) ANDC>=REF(C,1) AND C>=REF(C,2);{收盘价=4日内收盘价的最高值AND 昨收>=2日前的收盘价}VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);{收盘价=4日内收盘价的最高值AND 昨收=4日内收盘价的最低值}VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) ANDC<REF(C,1) AND C<REF(C,2);{收盘价=4日内收盘价的最低值AND (昨收<2日前的收盘价}VAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);{昨收=4日内收盘价的最低值AND 收盘价>=2日前的收盘价}VAR05:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) ANDREF(C,2)>=REF(C,4) AND C<REF(C,1);{昨收=4日内收盘价的最高值AND 收盘价<2日前的收盘价}VAR06:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);{今日V5向上形成拐点}VAR07:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) AND CLOSE>OPEN;VAR08:=VAR07 AND COUNT(VAR06,2);VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR10:=EMA(MA(C,13),13);VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) AND CROSS(VAR09,MA(VAR09,2)))=1,5);VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) AND CROSS(MA(VAR09,2),VAR09))=1,1);VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3); VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));VAR16:=VAR08 AND NOT(REF(VAR08,1));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR14 OR VAR15) AND VAR11;买2:=(VAR14 OR VAR15) AND VAR04;买3:=(VAR14 OR VAR15) AND VAR02;买4:=(VAR02 AND VAR11) OR (VAR04 AND VAR11);买5:=(金叉AND VAR04) OR (金叉AND VAR02) OR (金叉AND VAR11);TTJ0:=VAR16;TTJ1:=买1 OR 买2 OR 买3 OR 买4 OR 买5 AND MM;XG0:=TTJ AND TTJ0;XG1:=TTJ AND TTJ1;XG11:=XG0 OR XG1;{以下波浪理论浪底重叠"买底"选股原码}PL5:=ZIG(3,5);EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)<=REF(ZIG(3,5),3);EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) AND REF(ZIG(3,5),2)>=REF(ZIG(3,5),3);PL10:=ZIG(3,10);EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2) AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);PL20:=ZIG(3,20);EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2) AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);PL40:=ZIG(3,40);走强1:=BARSLAST(PL5<REF(PL5,1));走弱1:=BARSLAST(PL5>REF(PL5,1));走强2:=BARSLAST(PL10<REF(PL10,1));走弱2:=BARSLAST(PL10>REF(PL10,1));走强3:=BARSLAST(PL20<REF(PL20,1));走弱3:=BARSLAST(PL20>REF(PL20,1));ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);TJ11:=EN2 AND ZTJZ5=1;TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;TJ33:=EN2 AND DTJZ10=1;TJ44:=EN3 AND ZTJZ10=1;TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;{以下二者结合共同选股}XG:=XG11 OR XG22;W18:EXIST(XG,1);涨停板敢死队(选股公式)Lx1:=(EMA((AMOUNT/10000000),1) /3);Lx2:=(WINNER(C)/0.3);Lx3:=IF(c<0,Lx1,V);Lx4:=IF(c<0,Lx2,V);Lx5:=IF((BARSCOUNT(C)>100),Lx3,Lx4);量:=Lx5/1000;动量:=(EMA(量,13)*1.5);A01:=IF((量>动量),量,0);A02:=BARSLAST((A01>0));A03:=REF(量,A02);趋势:=IF((量<=A01),量,A03);突破:=IF(((((量=趋势) and (C>REF(C,1))) and (量>REF(量,1))) and(REF(A02,2)>0)),888,0);量价突破:FILTER(突破,5 )*6;通达信选股公式:超级牛魔VAR3:=1;VAR4:=MA(CLOSE,5);VAR5:=MA(CLOSE,10);VAR6:=MA(CLOSE,30);VAR7:=MA(CLOSE,60);VAR8:=EMA(COST(85),7);VAR9:=EMA(COST(15),7);VARA:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);VARB:=INTPART(VARA*100)/100;VARC:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);VARD:=INTPART(VARC*100)/100;VARE:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);VARF:=INTPART(VARE*100)/100;短线趋势:=EMA(CLOSE,5)-EMA(CLOSE,10);中线趋势:=EMA(短线趋势,30);VAR10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100; VAR11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100; VAR12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100; VAR13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100; VAR14:=REF(中线趋势,1);VAR15:=中线趋势;VAR16:=VAR15-VAR14;VAR17:=REF(短线趋势,1);VAR18:=短线趋势;VAR19:=VAR18-VAR17;VAR1A:=OPEN;VAR1B:=CLOSE;超级牛魔王:IF(VAR1A<=VAR4 AND VAR1A<=VAR5 AND VAR1A<=VAR6 ANDVAR1B>=VAR4 AND VAR1B>=VARF AND VAR16>0 AND VAR19>0 ANDVAR3=1,0.5,0);盘中参考VAR3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2 *SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2* SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR27:=VAR3<REF(VAR4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); 关注:VAR27 AND COUNT(VAR27,30)=1;初升介入1V1:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;V2:=SMA(V1,20,1);V3:=SMA(V2,15,1);V4:=(3*V2+2*V3)/4;V5:= REF(V4,1);RSA:=SMA(MAX(V4-V5,0),2,1)/SMA(ABS(V4-V5),2,1)*100;RSB:=MA(RSA,10);AA:=VOL/REF(VOL,1)>2;BB:=CLOSE/REF(CLOSE,1)>1.07;初升介入:IF(AA AND BB,CROSS(RSA,RSB),DRAWNULL);主力介入VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR4:=(VAR1+2*VAR2+3*VAR3)/6;VAR5:=MA(VAR4,3)-STD(VAR4,3);VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(VARA,3,1),COLORYELLOW;VARB:=SMA(K,3,1);J:=3*K-2*VARB,COLORGREEN;主力介入: CROSS(J,VARB) AND COUNT(VAR5<-16,4)>=1,COLORWHITE;旺狗出击旺狗出击:CROSS(C,MA(CLOSE,55) + 2*STD(CLOSE,55)) AND C>OAND VOL>1.6*REF(VOL,1) AND VOL>=2*MA(VOL,60) ANDEMA(WINNER(C)*70,3)>EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,3)AND VOL>=1.6*MA(VOL,5) ;五线选股AVR1:=EMA(CLOSE,10);AVR2:=(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36;AVR3:=MA(CLOSE,9);AVR4:=MA(CLOSE,20);五线选股:IF(CROSS(AVR1,AVR4) AND CROSS(AVR3,AVR4) ANDCROSS(AVR4,AVR2),1,0);狂牛启动1VARE:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;SOLE:=SMA(SMA(VARE,3,1),3,1);BUY:=3*SMA(VARE,3,1)-2*SOLE;SCCOUNT:=COUNT(BARSLAST(CROSS(SOLE,BUY)),BARSLAST(CROSS(SOLE,BUY )));选股1:BUY>SOLE AND REF(BUY,1)<REF(SOLE,1);狂牛启动2VARE:=(C-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;SOLE:=SMA(SMA(VARE,3,1),3,1);BUY:=3*SMA(VARE,3,1)-2*SOLE;SCCOUNT:=COUNT(BARSLAST(CROSS(SOLE,BUY)),BARSLAST(CROSS(SOLE,BUY )));选股2:CROSS(BUY,SOLE) AND REF(SOLE,1)/REF(BUY,1)<=1.5 AND SOLE<64 AND SCCOUNT=1;狂牛启动3VAR2:=1;VAR3:=REF(HIGH,1)*1.1;VAR4:=HIGH*1.1;VAR5:=(VAR4*VOL+VAR3*(CAPITAL-VOL))/CAPITAL;VAR6:=REF(LOW,1)*0.9;VAR7:=LOW*0.9;VAR8:=(VAR7*VOL+VAR6*(CAPITAL-VOL))/CAPITAL;VAR9:=EMA(VAR8,30);VARA:=EMA(VAR5,30);VARB:=VARA-2;VARC:=IF(C<=VAR9,VARB,VARA);VARD:=MA(C,80)-MA(C,10)/17;准备:=STICKLINE(VARC-VARB=0 AND VAR2 ANDCROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,MA((EMA(EMA(EMA(C,2),2),2)-RE F(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),50,0,5,0);选股3: FILTER(VARC-VARB=0 ANDCROSS((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1))/REF(EMA(EMA( EMA(C,2),2),2),1)*100,MA((EMA(EMA(EMA(C,2),2),2)-REF(EMA(EMA(EMA(C,2),2),2),1 ))/REF(EMA(EMA(EMA(C,2),2),2),1)*100,3)),4);短线通道VAR1:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*VAR2-2*VAR3;VAR5:=LLV(LOW,5);VAR6:=HHV(HIGH,5);VAR7:=EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2;VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2);VAR9:=3*VAR7-2*VAR8;VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VARB:=POW(MA(LOW,5),2)+MA(LOW,5);VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;VARE:=SMA(VARD,3,1)*1.5-100;VARF:=SMA(VARE,3,1);VAR10:=3*VARE-2*VARF;VAR11:=(HIGH+LOW+CLOSE*2)/4;VAR12:=EMA(VAR11,13);VAR13:=STD(VAR11,13);VAR14:=(VAR11-VAR12)*100/VAR13;VAR15:=EMA(VAR14,5);VAR16:=EMA(VAR15,13);VAR17:=EMA(VAR15,13)+200-100;VAR18:=EMA(VAR17,10);VAR19:=3*VAR17-2*VAR18;VAR1A:=VAR2+VAR7+VARE+VAR17;VAR1B:=VAR3+VAR8+VARF+VAR18;VAR1C:=VAR4+VAR9+VAR10+VAR19;VAR1D:=(HIGH+LOW+CLOSE)/3;VAR1E:=AMOUNT/VOL/100;VAR1F:=SUM(AMOUNT,5)/SUM(VOL,5)/100;VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34)); VAR21:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4;VAR23:=EMA(VAR22,24);VAR24:=STD(VAR22,24);VAR25:=(VAR22-VAR23)/VAR24*100;VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24)); VAR27:=EMA(VAR25,5);VAR28:=(VAR1E-MA(VAR1E,21))/(0.015*AVEDEV(VAR1E,21)); VAR29:=(VAR1F-MA(VAR1F,90))/(0.015*AVEDEV(VAR1F,90)); VAR2A:=((VAR29+VAR28+VAR27+VAR26+VAR20)/5+165)/4; VAR2B:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;VAR2C:=(VAR2A+VAR2B)/2/1.1;短线:=VAR2C;MID:=MA(短线,26);UPPER:=MID+2*STD(短线,26);LOWER:=MID-2*STD(短线,26);{LCJ2:=IF(短线>MID,MID,短线); }{买点: DRAWICON(CROSS(短线,MID),MID*0.97,1); } {DRAWICON(CROSS(短线,LOWER),LOWER*0.97,3); }{卖点: DRAWICON(CROSS(UPPER,短线),UPPER*0.97,2);MID, , COLORYELLOW;}{多头买入} ENTERLONG:CROSS(短线,MID) AND UPPER-MID>50;出手就赢1RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1);D:=SMA(K,3,1);CROSS(K,D) AND D<30;出手就赢2RSV:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);CROSS(K,D) AND D<80;套利狐狸VAR1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);VAR2:=REF(HIGH,10)/CLOSE>1.35;V3: (CLOSE-VAR1)/VAR1*100<-30 AND VAR2;乘胜追击1VAR1:=WINNER(CLOSE)-WINNER(OPEN);VAR2:=REF(CLOSE,1);VAR3:=SMA(MAX(CLOSE-VAR2,0),5,1)/SMA(ABS(CLOSE-VAR2),5,1)*100;VAR4:=CLOSE/MA(CLOSE,3)>=1.05;VAR5:=MA(VOL,8)/MA(VOL,45)>=2.5;VAR6:=WINNER(CLOSE)-WINNER(OPEN);VAR7:=REF(CLOSE,1);VAR8:=SMA(MAX(CLOSE-VAR7,0),5,1)/SMA(ABS(CLOSE-VAR7),5,1)*100;VAR9:=VAR6>=0.3 AND MA(VOL,6)/MA(VOL,26)>=1.9 AND VOL>REF(VOL,1) AND COUNT(VAR8<20,20)>=1 AND CLOSE/MA(CLOSE,3)>=1.07;VARA:=VAR1>=0.4 AND VAR5 AND COUNT(VAR3<20,20)>=1 AND VAR4 AND CLOSE>MA(CLOSE,85) AND VOL>REF(VOL,1);(VARA OR VAR9);逆势操作1VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) ORREF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) ORREF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) ORREF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) ORREF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) ORREF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) ORREF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1) >0.96 ;(VAR5 OR VARA) ;牛市专利1VAR1:=REF(CLOSE,3)*0.844;VAR2:=REF(CLOSE,13)*0.767;VAR3:=INDEXC;VAR4:=INDEXV;VAR5:=MIN(VAR1,VAR2);VAR6:=100*VOL/CAPITAL;VAR7:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;VAR8:=(CLOSE-VAR5)/CLOSE<0.07 AND SUM(VAR6,3)/3<2.345 ANDVAR3>MA(VAR3,450) AND MA(VAR4,61)/MA(VAR4,80)>0.923 ANDCLOSE>MA(CLOSE,190);VAR9:=VAR3>MA(VAR3,450) AND VAR7<-16.5 AND MA(VAR4,61)/MA(VAR4,80)>0.92 AND CLOSE>MA(CLOSE,215) AND (REF(OPEN,1)>REF(CLOSE,1) ORREF(OPEN,1)<REF(CLOSE,1)) AND (REF(OPEN,2)>REF(CLOSE,2) ORREF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) ORREF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) ORREF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) ORREF(OPEN,5)<REF(CLOSE,5)) AND VOL/CAPITAL<0.075;(VAR8 OR VAR9);同时金叉DIF:=EMA(CLOSE,9)-EMA(CLOSE,17);DEA:=EMA(DIF,8);MACD:=(DIF-DEA)*2;RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;RSI3:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100;选股:CROSS(DIF,DEA) AND CROSS(J,D) AND CROSS(RSI1,RSI3);带量突破VAR1:=EMA(COST(80),10);COUNT(CROSS(CLOSE,VAR1),2)>=1 AND VOL/CAPITAL>=0.1;攻击箱顶VAR1:=HHV(MA((LOW+HIGH+CLOSE+OPEN)/4,5),58);BETWEEN(CLOSE,VAR1*1.001,VAR1) AND REF(VAR1,3)=VAR1 ANDVOL>REF(VOL,2);果断介入VAR1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR4:=(VAR1+2*VAR2+3*VAR3)/6;VAR5:=MA(VAR4,3)-STD(VAR4,3);VAR6:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR7:=SMA(VAR6,3,1);VAR8:=SMA(VAR7,3,1);VAR9:=3*VAR7-2*VAR8;CROSS(VAR9,VAR8) AND COUNT(VAR5<-12 AND VAR5>-14,3)>=1;暴裂旋风VAR1:=ABS(HIGH-LOW);SUM(VAR1,7)/CLOSE>0.5 AND SUM(VAR1,7)/CLOSE<0.8 AND CLOSE>7 AND CLOSE<11;稳赢剑VAR1:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA( SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);VAR5:=CROSS(VAR4,10) AND VAR3<N;抄底:VAR5;领头羊白色:=SMA(HIGH,21,2)*1.05,;黄色:=SMA(LOW,21,2)*0.95;粉色:=SMA(LOW,5,1);绿色:=SMA(CLOSE,2,1),;波段买入:=IF(CROSS(绿色,粉色),白色*1.05,粉色);领头羊:=IF(CROSS(绿色,白色),白色*1.10,黄色);领头羊>黄色OR 波段买入>粉色;天星踏浪VARC:=(2*CLOSE+HIGH+LOW)/4;VARD:=LLV(LOW,34);VARE:=HHV(HIGH,34);VARF:=LLV(LOW,13);VAR10:=HHV(HIGH,13);VAR11:=EMA((VARC-VARF)/(VAR10-VARD)*100,5);VAR12:=EMA((VARC-VARD)/(VARE-VARD)*100,8);金浪:= VAR11;AA:=EMA(VAR11,7);海浪:= VAR12;IF(CROSS(金浪,AA) AND AA<=25 ,1,0);黑马绝技EMA13:=EMA(C,13);EMA30:=EMA(C,30);EMA60:=EMA(C,60);EMA90:=EMA(C,90);EMA120:=EMA(C,120);EMA250:=EMA(C,250);F1:=EMA30-EMA60<130/1000 AND EMA30-EMA90<230/1000 ANDEMA30-EMA120<330/1000;F2:=EMA60-EMA30<130/1000 AND EMA60-EMA90<230/1000 ANDEMA60-EMA120<330/1000;F3:=EMA90-EMA30<130/1000 AND EMA90-EMA60<230/1000 ANDEMA90-EMA120<330/1000;F4:=EMA120-EMA30<130/1000 AND EMA120-EMA60<230/1000 AND EMA120-EMA90<330/1000;F5:=EMA30-EMA60<100/1000 AND EMA30-EMA90<200/1000;FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA30,EMA60);FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA30);FF3:=F5 AND C>EMA250 AND CROSS(EMA30,EMA60);G1:=EMA60-EMA90<220/1000 AND EMA60-EMA120<320/1000 ANDEMA60-EMA250<420/1000;G2:=EMA90-EMA30<220/1000 AND EMA90-EMA60<320/1000 ANDEMA90-EMA250<420/1000;G3:=EMA120-EMA60<220/1000 AND EMA120-EMA90<320/1000 AND EMA120-EMA250<420/1000;G4:=EMA250-EMA60<220/1000 AND EMA250-EMA90<320/1000 AND EMA250-EMA120<420/1000;GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA30);GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA30,EMA60);FF1 OR FF2 OR FF3 OR GG1 OR GG2;黑马起步A1:=VOL=HHV(VOL,120);A2:=CLOSE/OPEN>1.05;TJ:=A1 AND A2;TJ AND (REF(BARSLAST(TJ),1)>80 OR BARSSINCE(TJ)=0);三底背离DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA); A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) ANDCROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;蓄势待发V0:=EMA(C,5);EMA10:=EMA(C,10);EMA20:=EMA(C,20);EMA30:=EMA(C,30);EMA60:=EMA(C,60);M1:=1000*EMA10/EMA60<=1015 AND 1000*EMA10/EMA60>=975;M2:=1000*EMA20/EMA60<=1020 AND 1000*EMA20/EMA60>=980;M3:=1000*EMA30/EMA60<=1015 AND 1000*EMA30/EMA60>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,EMA10);M5:=M1 AND M2 AND M3 AND CROSS(V0,EMA30);T1:=1000*EMA10/EMA30<=1010 AND 1000*EMA10/EMA30>=990;T2:=1000*EMA20/EMA30<=1010 AND 1000*EMA20/EMA30>=990;T3:=T1 AND T2 AND CROSS(V0,EMA10);T4:=T1 AND T2 AND CROSS(V0,EMA30);M4 OR M5 OR T3 OR T4;突破指标{一是突破盘整;二是突破前高;三是突破平台}W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));W4 AND COUNT(W4,5)=1;四线粘合V0:=EMA(C,5);V1:=EMA(C,10);V2:=EMA(C,15);V3:=EMA(C,30);V4:=EMA(C,60);M1:=1000*V1/V4<=1015 AND 1000*V1/V4>=975;M2:=1000*V2/V4<=1020 AND 1000*V2/V4>=980;M3:=1000*V3/V4<=1015 AND 1000*V3/V4>=985;M4:=M1 AND M2 AND M3 AND CROSS(V0,V1);M5:=M1 AND M2 AND M3 AND CROSS(V0,V3);M4 OR M5;拉升在即ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/ 25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MTM),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM),26),26));A:=((VOL)/(CAPITAL))*(100);S:=((MA(A,30))/(MA(INDEXA,10)))*(MA(INDEXA,60));Y:=((MA(A,120))/(MA(INDEXA,10)))*(MA(INDEXA,60));X:=1;拉升在即:S<X AND Y<X AND MMS>MML AND ABV>M1 AND CROSS(S,Y);顶天立地VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);VAR21:=SMA(VAR1F,3,1);趋势:=SMA(VAR21,3,1);人气:=SMA(趋势,3,1);出击:CROSS(趋势,人气) AND (趋势<30);{短卖:IF(CROSS(人气,趋势) AND (人气>75),85,100),COLOR008000,LINETHICK2; };主力进出ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)/ 25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);。

几种经典实用的条件选股公式

几种经典实用的条件选股公式

几种实用的条件选股公式以下收藏的条件选股公式供投资者参考,后市调整后青龙探水选股会派上用场:条件选股公式:D!HMCSF (黑马草上飞)缺省周期:日线==============================================================LCZ:=(C-MA(C,60))/MA(C,60)*100;A1:=COUNT(MA(C,60)>REF(MA(C,60),1),100)>95;A2:=COUNT(LCZ<20,100)>95;A3:=COUNT(C>MA(C,60),100)>80;A4:=C/REF(C,1)>1.04;A5:=V/CAPITAL*100>2.8;ZTJ:=A1 AND A2 AND A3 AND A4 AND A5;ZTJ AND (REF(BARSLAST(ZTJ),1)>20 OR BARSSINCE( ZTJ)=0);==============================================================黑马草上飞:1、60日价格均线平稳上扬。

2、日K线按照60日均线斜率震荡上行。

3、经过大半年的震荡向上,终于向上突破。

操作:发出信号后逢低积极介入。

==============================================================条件选股公式:D!LYT (老鸭头) 缺省周期:日线==============================================================MA5 := MA(close,5);MA10 := MA(close,10);MA60 := MA(close,60);pday1 := barslast(cross(ma5,ma60));{5日均线上穿60日均线}pday2 := barslast(cross(ma10,ma60));{10日均线上穿60日均线,至此形成鸭颈部}pday3 := barslast(high=hhv(high,pday2));{形成头部,要下跌}pday4 := barslast(cross(ma10,ma5));{下跌后,5日均线和10日均线死叉}pday5 := barslast(cross(ma5,ma10));{回落不久,5日均线和10日均线形成金叉,形成嘴部}a1:= pday1>pday2 and pday2>pday3 and pday3>pday4 and pday4>pday5 and pday5<5;a2:= count(cross(ma10,ma5),pday2)=1;A1 AND A2;==============================================================老鸭头:(1)采用5、10和60周期的价格平均线。

几种实用的通达信条件选股公式,3分钟精准捕捉涨停股,成功率较高!

几种实用的通达信条件选股公式,3分钟精准捕捉涨停股,成功率较高!

几种实用的通达信条件选股公式,3分钟精准捕捉涨停股,成功率较高!很多时候,我们散户炒股总是亏损多过赚钱,其实原因很简单:不懂选股。

正常情况下,我们日常都需要上班,全天基本不可能盯着大盘看,选股就跟不用说了,完全一头雾水。

下面笔者就给大家分享我的一些高成功率的选股公式,祝大家天天抓涨停。

一、牛股等待启动选股公式本人是根据股价与均线的一种比例关系,而编写的一个选股公式,经长久的试用,效果挺好,很多牛股启动前大部分都是这个走法,还有高控盘的股票,特拿来分享!公式源码:S2:=IF(NAMELIKE('S'),0,1);S3:=IF(NAMELIKE('*'),0,1);S4:=DYNAINFO(17)>0;ST:FROMOPEN>165 AND MA(C,5)/MA(C,60)>0.95 AND MA(C,5)/MA(C,60)<1.28AND MA(C,10)/MA(C,60)>0.95 AND MA(C,10)/MA(C,60)<1.28 AND MA(C,30)/MA(C,60)>0.95 AND MA(C,30)/MA(C,60)<1.28 AND CROSS(C,MA(C,5)) AND S2 AND S3 AND S4 AND C<50;不会用指标的朋友可以看看下面的步骤,首先按 ctrl+f 调出公式管理器,然后点击“新建”按照图中红色文字提示操作,有的公式带有参数,比如(N 1 100 10)就是指参数为N,最小1,最大100,缺省10。

如果是主图公式需要把画线方法一栏调成主图模式,点击测试通过了就点击确定保存OK 了。

最后是调用刚才编写好的公式。

二、均线上拐选股法自编公式操作步骤:均线上拐公式:ma(c,60)>ref(ma(c,60),1) and ref(ma(c,60),1)“设置”“公式管理”“自编”“条件选股”“新建”“公式名称——“60天均线上拐”在图片下方位置,把公式“ma(c,60)>ref(ma(c,60),1) and ref(ma(c,60),1)时间统计公式:last(ref(ma(c,60),1)步骤如下:“设置”“公式管理”“自编”“技术指标”“新建”“公式名称—60天时间统计”在图片下方位置,把公式“last(ref(ma(c,60),1)选股步骤:均线上拐——时间统计——安全系数。

20130410-国信证券-寻找“未起飞”的成长股:欧奈尔选股法则

20130410-国信证券-寻找“未起飞”的成长股:欧奈尔选股法则


CAN SLIM 选股法则运用与改进方向
总来看来欧奈尔选股法则是一种结合市场面基于选成长股的投资策略。目标是 寻找那些还没有“起飞”的成长股。 通过行业中性配臵,超额收益趋势较为平稳。适合机构投资者做相对收益类产 品。通过持行业、市值中性配臵较为适合做指数增强、绝对收益类产品。 其还存在一些不足,进行实盘投资还有很大的差距。下一步主要目标还需要降 低最大回撤值。做好组合风险控制。接下来将持续跟踪分析,如对组合样本进 行业绩归因分析等方法精确找到风险因子所在,尽量减少策略所暴露风险。不 断完善策略细节问题,向实盘策略靠近。
金融工程研究
Page
1
证券研究报告—深度报告
金融工程 数量化投资
[Table_Title]
金融工程专题研究
2013 年 04 月 10 日
[Table_BaseInfo] 相关研究报告:
《数量化投资系列报告之三十九: 基于基本面 先行因子的行业配臵模型优化及其应用》 —— 2011-05-30
专题报告
证券分析师:黄志文
电话: 0755-82130833 E- MAIL: huangzw @ 证券投资咨询执业资格证书编 码 :S0980510120059
证券分析师:林晓明
电话: 021-60933154 E- MAIL: linxm@ 证券投资咨询执业资格证书编 码 :S0980512020001
请务必阅读正文之后的免责条款部分
全球视野
本土智慧
Page
3
图表目录
图 1:天力天一季报盈利能力与股价表现 ............................................................................. 5 图 2:天力天中报盈利能力

国信证券条件选股公式

国信证券条件选股公式

条件选股公式1.公式名称:MA10CROSSMA30公式描述:10日均线上穿30日均线参数:NULL日期:2011MA10:=MA(C,10);MA30:=MA(C,30);CROSS(MA10,MA30);2.公式名称:MA30>MA60公式描述:30日均线在60日均线之上参数:NULL日期:2011M30:=MA(C,30);M60:=MA(C,60);M30>M60;3.公式名称:MA5CROSSMA10公式描述:5日均线上穿10日均线参数:NULL日期:2011MA5:=MA(C,5);MA10:=MA(C,10);CROSS(MA5,MA10);4.公式名称:JCROSS0(KDJ)公式描述:KDJ指标,J上穿0轴参数:N1 9-100-9 N2 3-100-3 N3 3-100-3日期:2011RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; K:=SMA(RSV,N2,1);D:=SMA(K,N3,1);J:=3*K-2*D;CROSS(J,0);5.公式名称:J<0 (KDJ)公式描述:KDJ指标J值小于0非常超卖参数:N1 9-50-9 N2 3-50-3 N3 3-50-3日期:2011RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; K:=SMA(RSV,N2,1);D:=SMA(K,N3,1);J:=3*K-2*D;J<0;6.公式名称:DIFF<-1公式描述:MACD指标的DIFF在0轴下<-1参数:SHORT 5-100-12 LONG 20-100-26 M 2-100-9日期:2011DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);DEA := EMA(DIFF,M);DIFF<-1;7.公式名称:涨幅>大盘公式描述:今日涨幅>大盘涨幅参数:NULL日期:2011NMAX1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);NMAX2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);NMAX:NMAX1>NMAX2;8.公式名称:MIN<涨幅<MAX公式描述:涨幅介于MIN和MAX之间的股票参数:NMIN (-10)-10-4 NMAX (-10)-11-8日期:2011NMAX1:=(CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1);(NMAX1>=NMIN)AND(NMAX1<=NMAX);9.公式名称:价上穿N3天线公式描述:前N1-N2天处于N3平均线下,今穿过N3线参数:N1 1-200-20 N2 1-100-5 N3 10-120-60日期:2011NCROSS:LAST(CLOSE<MA(CLOSE,N3),N1,N2)&&CLOSE>MA(CLOSE,N3);10.公式名称:下MACD金叉公式描述:0轴下方满足MACD底部N次金叉参数:N 0-5-2日期:2011DIFF:=EMA(C,12)-EMA(C,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);DATALEN:=BARSLAST(DEA>=0);JCCOUNT:=COUNT(CROSS(DIFF,DEA),DATALEN);二次金叉:CROSS(DIFF,DEA) AND (DEA<0) AND (COUNT(JCCOUNT=N,DATALEN)=1);11.公式名称:上MACD金叉公式描述:0轴上方满足MACD发生N次金叉参数:N 0-5-1日期:2011DIFF:=EMA(C,12)-EMA(C,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);DATALEN:=BARSLAST(DEA<0);JCCOUNT:=COUNT(CROSS(DIFF,DEA),DATALEN);二次金叉:CROSS(DIFF,DEA) AND (DEA>0) AND (COUNT(JCCOUNT=N,DATALEN)=1);12.公式名称:MACD绿柱缩短公式描述:MACD指标绿柱子开始缩短参数:NULLDIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);REF(MACD,2)<REF(MACD,3) AND REF(MACD,1)<REF(MACD,2) AND MACD>REF(MACD,1) AND MACD<0;13.公式名称:价N天在60线上公式描述:当前股价朝前N天都在60日均线上,N=0为今日价参数:DAYN 0-50-0日期:2011LAST(CLOSE>MA(C,60),DAYN,0) AND CLOSE>MA(C,60) AND REF(C,DAYN)>MA(C,60);14.公式名称:价N天在30线上公式描述:当前股价朝前N天都在30日均线上,N=0为今日价参数:DAYN 0-50-1日期:2011LAST(CLOSE>MA(C,30),DAYN,0) AND CLOSE>MA(C,30) AND REF(C,DAYN)>MA(C,30);15.公式名称:最近3日收阳公式描述:最近3日一直收阳线参数:NULL日期:2011EVERY(CLOSE>OPEN,3);16.公式名称:连涨2天公式描述:连续涨了两天参数:NULL日期:2011UP2:UPNDAY(CLOSE,2);17.公式名称:绿柱<6天翻转公式描述:绿柱子小于6根又变红日期:2011DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);AAA:=(REF(MACD,6)>0 AND MACD<0);BBB:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);CCC:=REF(MACD,1)<-0.3;AAA&&BBB&&CCC;18.公式名称:KDJ辅助MACD公式描述:KDJ金叉,配以MACD形状参考参数:NULL日期:2011RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;AAA:=CROSS(J,D) AND J<40;{J上穿D,且KDJ底背离}{MACD}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);BBB:=(MACD>REF(MACD,3)) AND (DEA>REF(DEA,2));AAA&&BBB;19.公式名称:金叉共振公式描述:MACD和KDJ金叉共振选股参数:NULL日期:2011DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;DEA:=EMA(DIF,9);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);B4:CROSS(DIF,DEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));20.公式名称:K-M-R同背离公式描述:KDJ和MACD和RSI同时底背离选股公式参数:NULL日期:2011DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;21.公式名称:价格区间公式描述:价格介于CMIN和CMAX之间的股票参数:CMIN 1-200-5 CMAX 1-200-100日期:2011C>CMIN AND C<CMAX;22.公式名称:斜率>Y公式描述:N天X均线斜率>Y(可小数)参数:N 1-20-1 X 5-200-5 Y 1-100-5日期:2011X1:=EMA(C,X);X2:=REF(X1,N);AA:=(X1-X2)/X2*100;AA>Y;23.公式名称:N天换手率>Y公式描述:阶段换手率计算公式参数:N 1-100-5 Y 1-100-10日期:2011AA:=SUM(VOL,N)/CAPITAL*100;AA>Y;24.公式名称:10*20_3%_V2倍公式描述:10日线金叉20日涨幅过百分之三成交量比昨天放大一倍参数:NULL日期:2011AA:=EMA(C,10);BB:=EMA(C,20);CDITON1:=CROSS(AA,BB);CDITON2:=(C-REF(C,1))/REF(C,1)*100>3;CDITON3:=(V-REF(V,1))/REF(V,1)>2;SELECT:CDITON1 AND CDITON2 AND CDITON3;25.公式名称:N天内三线金叉公式描述:N天内三线金叉(非同时金叉)参数:N 1-30-3日期:2011A5:=MA(C,5);A10:=MA(C,10);A30:=MA(C,30);AA:=CROSS(A5,A10);BB:=CROSS(A5,A30);CC:=CROSS(A10,A30);COUNT(AA,N)=1 AND COUNT(BB,N)=1 AND COUNT(CC,N)=1;26.公式名称:N天阳线多于阴公式描述:朝前N天收阳线天数多于收阴线的天数参数:N 1-200-5日期:2011COUNT(C>O,N)/N>0.5;27.公式名称:量比>N公式描述:量比>N参数:N 0.1-30-1日期:2011V/REF(V,1)>N;28.公式名称:5日线>10日线公式描述:5日均线在10日均线之上参数:NULL日期:2011MA(C,5)>MA(C,10);29.公式名称:10日线>30日线公式描述:10日均线在30日均线之上参数:NULL日期:2011MA(C,10)>MA(C,30);30.公式名称:均线多头排列公式描述:M5>M10>M30>M60参数:NULL日期:2011MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60);31.公式名称:T起涨首日公式描述:网上抄的参数:NULL日期:2011GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));A:=BARSLAST(CROSS(95,GJTJ1))<=2;B:=BARSLAST(CROSS(95,GJTJ2))<=2;E:= GJTJ4<GJTJ1 AND GJTJ1<GJTJ2 AND GJTJ1<GJTJ3;F:=GJTJ2>50 AND GJTJ3>50;G:=GJTJ1=100 AND GJTJ2=100;TX:=COUNT(G,2)=1;ENTERLONG:A AND B AND E AND F AND TX;32.公式名称:T波启前兆公式描述:网上下载参数:NULL日期:2011GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));A:=GJTJ3=100;B:=GJTJ4<90;ENTERLONG:COUNT(A,2) = 2 AND B;33.公式名称:Z黑马公式描述:网上下载参数:NULL日期:2011A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LL V(L,55))*100,5,1);黑马线:=EMA(A1,5),LINETHICK2,COLOR6600FF;A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;CROSS(A1,黑马线)AND 黑马线;34.公式名称:MACD绿变红公式描述:MACD第一次由绿变成红参数:NULL日期:2011DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;AA:=MACD>0;{MACD红色}BB:=REF(MACD,1)<0 AND (REF(MACD,1)*-2)<MACD;{前一周期MACD是绿色}CC:=COUNT(MACD<0,20)<15;SELECT:AA AND BB;35.公式名称:MACD将变红公式描述:现在还是绿参数:NULL日期:2011DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;AA:=MACD<0;{MACD现在是负值}BB:=REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)>REF(MACD,3);{朝前三天是逐渐增大之式} CC:=C>O AND C>REF(C,1);{今天的收盘价为红}DD:=(MA(C,5)-REF(MA(C,5),1))*100/REF(MA(C,5),1)>3;{五日均线斜率>3}EE:=C>MA(C,60);{股价在60日均线之上}{FF:=MACD>-0.2;{下一交易日如果和今天涨幅差不多,MACD就会由绿变成红}}AA AND BB AND CC AND DD AND EE;36.公式名称:绿柱开始缩短公式描述:之前绿柱有规律向下增长,今天首次缩短参数:NULL日期:2011DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);AA:=MACD<0;BB:=MACD>REF(MACD,1);{今天开始变短}CC:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);DD:=C>REF(C,1) AND C>O;{今天收阳线,且上涨}EE:=REF(MACD,4)<0 AND REF(MACD,8)>=0;{之前绿柱变短至少连续4天}FF:=(REF(MACD,1)-REF(MACD,4))*100/REF(MACD,4)>4;{绿柱向下变长的斜率尽可能大些} GG:=REF(MACD,1)<-0.2;{限制一下幅度,将幅度太小的淘汰}SELECT:AA AND BB AND CC AND DD AND EE AND FF AND GG;37.公式名称:今天跳空开盘公式描述:开盘价有跳空幅度>2%,多头排列,收阳线参数:NULL日期:2011AA:=O>REF(C,1) AND (O-REF(C,1))/REF(C,1)>0.02;BB:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30);CC:=C>O;DD:=(H-C)<(C-O) AND (O-L)<(C-O);{上下影线不能太长}SELECT:AA AND BB AND CC AND DD;38.公式名称:老鸭头公式描述:参数:NULL日期:2011{LYT老鸭头}MA5 := MA(CLOSE,5);MA10 := MA(CLOSE,10);MA60 := MA(CLOSE,60);PDAY1 := BARSLAST(CROSS(MA5,MA60));{5日均线上穿60日均线}PDAY2 := BARSLAST(CROSS(MA10,MA60));{10日均线上穿60日均线,至此形成鸭颈部}PDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));{形成头部,要下跌}PDAY4 := BARSLAST(CROSS(MA10,MA5));{下跌后,5日均线和10日均线死叉}PDAY5 := BARSLAST(CROSS(MA5,MA10));{回落不久,5日均线和10日均线形成金叉,形成嘴部} A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;老鸭头选股:IF(A1 AND A2,1,0);39.公式名称:两阳夹一阴公式描述:参数:NULL日期:2011AA:=REF(C,2)>REF(O,2);{前天是阳线的}BB:=REF(C,1)<REF(O,1);{昨天是阴线的}CC:=C>O;{今天是阳线}DD:=REF(L,2)<REF(L,1);{前天的最低价小于昨天的最低价}EE:=REF(L,1)<L;{昨天的最低价小于今天的最低价}FF:=REF(H,2)<REF(H,1);{前天的最高价小于昨天的最高价}GG:=REF(H,1)<H;{昨天的最高价小于今天的最高价}AA AND BB AND CC AND DD AND EE AND FF AND GG;40.公式名称:绝地反击公式描述:参数:NULL日期:2011V1:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100<-14;V2:=(MIN(O,C)-L)/L*100>0;V3:=MA((HHV(H,5)-C)/(HHV(H,21)-LLV(L,13))*100,5)<55;V1 AND V2 AND V3;41.公式名称:阳包阴公式描述:参数:NULL日期:2011AA:C>O AND REF(C,1)<REF(O,1) AND L<REF(L,1) AND H>REF(H,1);42.公式名称:连续4根阴线公式描述:包括多于4跟参数:NULL日期:2011AA:=C<O AND REF(C,1)<REF(O,1) AND REF(C,2)<REF(O,2) AND REF(C,3)<REF(O,3);{朝前推0天} BB:=REF(C,1)<REF(O,1) AND REF(C,2)<REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)<REF(O,4);{朝前推0天}CC:=REF(C,2)<REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)<REF(O,4) AND REF(C,5)<REF(O,5);{朝前推0天};AA OR BB OR CC;43.公式名称:换手率2倍公式描述:换手率是前一交易日2倍以上且当日换手率大于10%以上参数:NULL日期:2011(V/CAPITAL)>2*(REF(V,1)/CAPITAL) AND (V/CAPITAL*100) > 10;44.公式名称:量比MIN<X<MAX公式描述:参数:NMIN 0.1-50-5 NMAX 0.1-50-8日期:2011LB:=V/REF(MA(V,5),1);LB<=NMAX AND LB>=NMIN;45.公式名称:下影线很长公式描述:30天内发生过下影线非常长>4倍实体参数:NULL日期:2011AA:=(MIN(C,O)-L)>4*(ABS(C-O));COUNT(AA,30)>0;46.公式名称:MY1030公式描述:根据10月30好的形态公式参数:NULL日期:2011MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);{8日内发生MA5下穿MA10,MA10下穿MA30,MA30下穿MA60,所有指标均不报}DTZD1:=O>MA30&&O>MA60&&C<MA30&&C<MA60;{不能近期发生过断头铡刀}DTZD2:=O>MA5&&O>MA10&&O>MA30&&C<MA5&&C<MA10&&L<MA30;{不能近期发生过断头铡刀}AJBB1:=COUNT(CROSS(MA60,MA10),10)>0;AJBB2:=COUNT(CROSS(MA30,MA10),10)>0;AJBB3:=COUNT(CROSS(MA30,MA5),10)>0;AJBB4:=COUNT(CROSS(MA60,MA5),10)>0;AJBB44:=COUNT(CROSS(MA10,MA5),10)>0;AJBB45:=COUNT(CROSS(MA60,MA5),3)>0;AJBB46:=COUNT(DTZD1 OR DTZD2,3)>0;AJBB5:=(AJBB1 AND AJBB2 AND AJBB3 AND AJBB4) OR (AJBB4 AND AJBB44 AND AJBB3) OR (AJBB45) OR AJBB46;AJBB:=IF(AJBB5,0,1);{--------------------------------------------------------------------------------------} {早晨之星}STAR1:= REF(C,2) < REF(O,2);{星线的前一天收阴线}STAR2:=REF(OPEN,1)<REF(CLOSE,2);{昨天低开}STAR3:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02;{昨天的实体尽量小,最好十字星} STAR4:=(CLOSE/REF(C,1)>1.02)&&(IF(O<REF(C,1),ABS(O-REF(C,1))/REF(C,1)<0.02,1));{今天实体不能太小,如果中午选股可适量调小,今天的开盘价不能比昨天星线收盘价低太多}STAR5:=COUNT(C<=O,5)>2;{5日内阴线多于阳线}STAR6:=REF(CLOSE,1)<REF(CLOSE,2);{昨天的收盘价小于前一天的收盘价,即中间有跳空}STAR7:=REF(HHV(H,5),1)/REF(L,1)>1.1;{昨天的收盘价相对前5天的最高价至少降了10%}STAR8:=(O-L)/O<0.03 && O<C;{今天的阳线不能带太长的下影线}ZCZX:=STAR1 AND STAR2 AND STAR3 AND STAR4 AND STAR5 AND STAR6 AND STAR7 AND STAR8 AND AJBB;{--------------------------------------------------------------------------------------} {刺透形态}{阳线上传阴险实体50%,阳线上下影线小于实体的25%}CT1:=REF(C,1)<REF(O,1) && (REF(O,1)-REF(C,1))/REF(O,1)>0.03;{昨天收阴线,阴线实体不能太小} CT2:=C>O && C>(REF(C,1)+REF(O,1))/2 && O<REF(C,1);{今天收阳线,低开,收盘价超过昨天实体一半}CT3:=(H-C)*100/(C-O)<25 && (O-L)*100/(C-O)<25;{上下影线不能超过实体的25%}CT4:=COUNT(C<=O,5)>2;{5日内阴线多于阳线}CT5:=HHV(C,6)/REF(L,1)>1.1;{昨天的收盘价相对前6天的最高价至少降了10%}CT6:=LLV(L,4)==L;{今天的最低价是5日内的最低价}CT7:=H<HHV(H,5);{今日收阳线的最高价不能高于5日内的最高价}CT:=CT1 AND CT2 AND CT3 AND CT4 AND CT5 AND CT6 AND CT7 AND AJBB;{阳线倒锤子}YDCZ1:=(MIN(O,C)-L)>2*ABS(O-C);{下影线至少是上面实体的倍}YDCZ2:=C=H;{收阳线倒锤子}YDCZ3:=COUNT(C<O,6)>2;{6日内阴线多余阳线}YDCZ4:=HHV(C,10)>MIN(O,C)*1.1;{今日收盘价距10日内收盘价最高价至少降了10%}YDCZ:= YDCZ1 AND YDCZ2 AND YDCZ3 AND YDCZ4;{阴线倒锤子}ZDCZ1:=C>O;{今天收阳线}ZDCZ2:=REF(C,1)<REF(O,1) && (REF(O,1)-REF(C,1))*2<(REF(C,1)-REF(L,1)) && REF(O,1)=REF(H,1);{昨天收阴线,且是倒锤子}ZDCZ3:=COUNT(C<O,6)>2;{6日内阴线多余阳线}ZDCZ4:=HHV(C,10)>REF(C,1)*1.1;{今日收盘价距10日内收盘价最高价至少降了10%}ZDCZ5:=IF(ZCZX,0,1);{已经是早晨之星的就不用再选}ZDCZ:= ZDCZ1 AND ZDCZ2 AND ZDCZ3 AND ZDCZ4 AND ZDCZ5 AND AJBB;{四连阴超跌}SLY1:=REF(C,1)<REF(O,1) && REF(C,2)<REF(O,2) && REF(C,3)<REF(O,3) && REF(C,4)<REF(O,4);{至少连续跌了四根阴线}SLY2:=HHV(C,6)/O>1.15;SLY3:=O<C;SLY:= SLY1 AND SLY2 AND SLY3 AND AJBB;{下跌后长下影线}XYXL1:=COUNT(C<=O,5)>2;{5日内阴线多于阳线}XYXL2:=HHV(C,6)/REF(L,1)>1.1;{昨天的收盘价相对前6天的最高价至少降了10%}XYXL3:=LLV(L,4)==L;{今天的最低价是5日内的最低价}XYXL4:=(MIN(C,O)-L)>5*(ABS(C-O));XYXL5:=IF((REF(C,1)<REF(O,1))&&(REF(C,2)>REF(O,2)),0,1);{不能前一天收阴线,再前一天收阳线}{COUNT(XYXL,30)>0;}XYXL:=XYXL1 AND XYXL2 AND XYXL3 AND XYXL4 AND XYXL5 AND AJBB;{--------------------------------------------------------------------------------------} {MACD形态选股}DIFF:=EMA(C,12)-EMA(C,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);{MACD0轴下二次金叉}MACDDATALEN:=BARSLAST(DEA>=0);MACDJCCOUNT:=COUNT(CROSS(DIFF,DEA),MACDDATALEN);MACDXYJC:=CROSS(DIFF,DEA) AND (DEA<0) AND (COUNT(MACDJCCOUNT=1,MACDDATALEN)=1);{MACD0轴下第一次金叉}MACDXJC1LEN:=BARSLAST(MACDXYJC);MACDX2CJC:=CROSS(DIFF,DEA) AND (DEA<0) AND (COUNT(MACDJCCOUNT=2,MACDDATALEN)=1); MACDX2JC:=MACDX2CJC AND (MACDXJC1LEN>5) AND (MACDXJC1LEN<30) AND (C>O);{要放量,时间间隔不能太短,也不能太长}{MACD0轴上一次金叉}MACDSJCH:=O<C;{当天收阳线}MACDDSATALEN1:=BARSLAST(DEA<0);MACDSJCCOUNT1:=COUNT(CROSS(DIFF,DEA),MACDDSATALEN1);MACDSECJC1:=CROSS(DIFF,DEA) AND (DEA>0) AND (COUNT(MACDSJCCOUNT1=1,MACDDSATALEN1)=1) AND MACDSJCH AND AJBB;{MACD绿柱子向0轴下长度递增,不超过5或6天又折返}MACDLZZTJ1:=MACD>REF(MACD,1) && REF(MACD,1)<REF(MACD,2) && REF(MACD,2)<REF(MACD,3) && REF(MACD,3)<REF(MACD,4) && REF(MACD,4)<0 && REF(MACD,5)>=0 && MACD<0;MACDLZZTJ2:=MACD>REF(MACD,1) && REF(MACD,1)<REF(MACD,2) && REF(MACD,2)<REF(MACD,3) &&REF(MACD,3)<REF(MACD,4) && REF(MACD,5)<REF(MACD,6) && REF(MACD,5)<0 && REF(MACD,6)>=0 && MACD<0;MACDLZZTJ3:=IF((COUNT(CROSS(DEA,DIFF),5)=0)&&DEA>0.5,0,1);{5日内不能发生高位死叉} MACDLZZ:=(MACDLZZTJ1 OR MACDLZZTJ2) AND (C>O) AND MACDLZZTJ3 AND AJBB;{高位死叉后30日内DEA不破0后又金叉}MACDYJCDAY:=BARSLAST(CROSS(DEA,DIFF));MACDYJC1:=(COUNT(CROSS(DEA,DIFF),15)=1)&&DEA>0.3;{30日内发生高位死叉}MACDYJC2:=MACDYJCDAY>5 && CROSS(DIFF,DEA);MACDYJC3:=COUNT(DEA<0,MACDYJCDAY)=0 ;MACDYJC:=MACDYJC1 AND MACDYJC2 AND MACDYJC3;{--------------------------------------------------------------------------------------} {根据成交量选股}MAV5:=MA(V,5);MAV35:=MA(V,35);MAV135:=MA(V,135);{连续两天成交量是35日均量的3倍以上}CJL_1:=V/MAV35>2&&C>O;CJL_2:=REF(V,1)/REF(MAV35,1)>2&&REF(C,1)>REF(O,1);CJL:=CJL_1&&CJL_2;{股价下跌获60日线支撑又上升}ZC60_1:=HHV(C,24)/O>1.15;{调整已经有15%了}ZC60_2:=C>MA60&&C>O;{今天股价在60日线之上,且收阳线}ZC60_3:=(ABS(LLV(L,3)-MA60)*100/MA60<2) OR ABS(LLV(O,3)-MA60)*100/MA60<2;{股价在60日线附近}ZC60_4:=REF(C,3)>MA60;{股价在60日线附近}ZC60:=ZC60_1 AND ZC60_2 AND ZC60_3 AND ZC60_4;SELECT:ZCZX OR CT OR YDCZ OR ZDCZ OR SLY OR XYXL OR MACDX2JC OR MACDSECJC1 OR MACDLZZ OR MACDYJC OR CJL OR ZC60;47.公式名称:250天内大涨过公式描述:20天涨50%参数:NULL日期:2011AA:=C/REF(C,20)>1.5;COUNT(AA,250)>0;48.公式名称:突破60日高点公式描述:股价收盘价高于60日内的最高点参数:NULL日期:2011AA:=H=HHV(H,60);BB:=LLV(V,5)=LLV(V,30);MAV5:=MA(V,5);CC:=V<MAV5 AND C=HHV(C,60){COUNT(AA,3)>0;}{(AA AND BB) OR CC;};AA;49.公式名称:TEST300CT公式描述:测试发生过刺透形态参数:NULL日期:2011MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);{MACD指标系统}DIF:=EMA(C,12)-EMA(C,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);{公用子模块}S5C10:=CROSS(MA5,MA10);S5C30:=CROSS(MA5,MA30);S5C60:=CROSS(MA5,MA60);S10C30:=CROSS(MA10,MA30);S10C60:=CROSS(MA10,MA60);S30C60:=CROSS(MA30,MA60);S60C30:=CROSS(MA60,MA30);S60C10:=CROSS(MA60,MA10);S60C5:=CROSS(MA60,MA5);S30C10:=CROSS(MA30,MA10);S30C5:=CROSS(MA30,MA5);S10C5:=CROSS(MA10,MA5);SIDY5:=COUNT(C<=O,5)>2;{5日内阴线多于阳线}S5DJ10:=REF(HHV(C,5),1)/REF(C,1)>1.1;{昨天的收盘价相对前5天的最高价至少降了10%}SDT5:=COUNT(REF(C,1)/C>1.097,5)>0;{五日之内不能有跌停}SCQX60:=(COUNT(C>MA60,60)=0) OR (COUNT(DIF>0,60)=0);{股价长期在60均线下不行,或MACD长期在0下}DTZD:=(O>MA30&&O>MA60&&C<MA30&&C<MA60) OR(O>MA5&&O>MA10&&O>MA30&&C<MA5&&C<MA10&&L<MA30);{断头铡刀}JXBH1:=COUNT(S60C30,15)>0;{20日内发生过60均线下穿30均线}JXBH2:=COUNT(S60C10,15)>0;JXBH3:=COUNT(S60C5,15)>0;JXBH4:=COUNT(S30C10,15)>0;JXBH5:=COUNT(S30C5,15)>0;JXBH6:=COUNT(S10C5,15)>0;JXBH7:=JXBH6&&JXBH5&&C<MA60;JXBH:=(JXBH1 AND JXBH2 AND JXBH3) OR (JXBH4 AND JXBH5 AND JXBH3) OR (JXBH3 AND JXBH5 AND JXBH6) ORJXBH7 OR DTZD OR SDT5 OR SCQX60;{均线变坏,要大跌}AJBB:=IF(JXBH,0,1);{均线变坏,不能操盘}{早晨之星}STAR1:= REF(C,2)<REF(O,2)&&MACD<0;{星线的前一天收阴线,MACD在0轴下}STAR2:=REF(O,1)<REF(C,2);{昨天低开}STAR3:=ABS(REF(O,1)-REF(C,1))/REF(C,1)<0.02;{昨天的实体尽量小,最好十字星}STAR4:=(C/REF(C,1)>1.02)&&(IF(O<REF(C,1),ABS(O-REF(C,1))/REF(C,1)<0.02,1));{今天实体不能太小,如果中午选股可适量调小,今天的开盘价不能比昨天星线收盘价低太多}STAR5:=REF(CLOSE,1)<REF(CLOSE,2);{昨天的收盘价小于前一天的收盘价,即中间有跳空}STAR6:=(O-L)/O<0.03 && O<C;{今天的阳线不能带太长的下影线}ZCZX:=STAR1 AND STAR2 AND STAR3 AND STAR4 AND STAR5 AND STAR6 AND SIDY5 AND S5DJ10 AND AJBB;{刺透形态}{阳线上传阴险实体50%,阳线上下影线小于实体的25%}CT1:=REF(C,1)<REF(O,1)&&REF(C,2)<REF(O,2)&&REF(C,3)<REF(O,3) &&(REF(O,1)-REF(C,1))/REF(O,1)>0.03;{昨天收阴线,阴线实体不能太小}CT2:=C>O && C>(REF(C,1)+REF(O,1))/2 && O<REF(C,1);{今天收阳线,低开,收盘价超过昨天实体一半}CT3:=(H-C)*100/(C-O)<25 && (O-L)*100/(C-O)<25;{上下影线不能超过实体的25%}CT6:=LLV(L,4)==L;{今天的最低价是5日内的最低价}CT7:=H<HHV(H,5);{今日收阳线的最高价不能高于5日内的最高价}CT8:=COUNT(H>MA10,20)>0;CT:=CT1 AND CT2 AND CT3 AND SIDY5 AND S5DJ10 AND CT6 AND CT7 AND CT8 AND AJBB;COUNT(CT,300)>0;50.公式名称:LXKPZT公式描述:连续开盘涨停的个股参数:NULL日期:2011TJ1:=O=C&&C/REF(C,1)>1.09;TJ2:=COUNT(TJ1,10)>3;SEL:COUNT(TJ2,200)>0;51.公式名称:3THSL>18公式描述:连续3天换手率大于18参数:NULL日期:2011HSL:=(VOL/CAPITAL*100);TJXG:=HSL>18 AND REF(HSL,1)>18 AND REF(HSL,2)>18 AND REF(HSL,3)<13 AND REF(HSL,4)<10;COUNT(TJXG,300)>0;52.公式名称:N天跌幅X公式描述:参数:X 1-50-30 N 1-10-7日期:2011AA:REF(C,N)>C AND (HHV(C,N)-C)/C*100>X;{COUNT(AA,300)>0;};53.公式名称:今天下影长公式描述:N倍参数:N 1-100-10日期:2011AA:(MIN(C,O)-L)>N*(ABS(C-O)) AND (MIN(C,O)-L)/C*100>3;54.公式名称:CTZX公式描述:刺透早星参数:NULL日期:2011MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);{MACD指标系统}DIF:=EMA(C,12)-EMA(C,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);{公用子模块}S5C10:=CROSS(MA5,MA10);S5C30:=CROSS(MA5,MA30);S5C60:=CROSS(MA5,MA60);S10C30:=CROSS(MA10,MA30);S10C60:=CROSS(MA10,MA60);S30C60:=CROSS(MA30,MA60);S60C30:=CROSS(MA60,MA30);S60C10:=CROSS(MA60,MA10);S60C5:=CROSS(MA60,MA5);S30C10:=CROSS(MA30,MA10);S30C5:=CROSS(MA30,MA5);S10C5:=CROSS(MA10,MA5);SIDY5:=COUNT(C<=O,5)>2;{5日内阴线多于阳线}S5DJ10:=REF(HHV(C,5),1)/REF(C,1)>1.1;{昨天的收盘价相对前5天的最高价至少降了10%}SDT5:=COUNT(REF(C,1)/C>1.097,5)>0;{五日之内不能有跌停}SCQX60:=(COUNT(C>MA60,30)=0) OR (COUNT(DIF>0,40)=0);{股价长期在60均线下不行,或MACD长期在0下}DTZD:=(O>MA30&&O>MA60&&C<MA30&&C<MA60) OR(O>MA5&&O>MA10&&O>MA30&&C<MA5&&C<MA10&&L<MA30);{断头铡刀}JXBH1:=COUNT(S60C30,15)>0;{20日内发生过60均线下穿30均线}JXBH2:=COUNT(S60C10,15)>0;JXBH3:=COUNT(S60C5,15)>0;JXBH4:=COUNT(S30C10,15)>0;JXBH5:=COUNT(S30C5,15)>0;JXBH6:=COUNT(S10C5,15)>0;JXBH7:=JXBH6&&JXBH5&&C<MA60;JXBH:=(JXBH1 AND JXBH2 AND JXBH3) OR (JXBH4 AND JXBH5 AND JXBH3) OR (JXBH3 AND JXBH5 AND JXBH6) ORJXBH7 OR DTZD OR SDT5 OR SCQX60;{均线变坏,要大跌}AJBB:=IF(JXBH,0,1);{均线变坏,不能操盘}{早晨之星}STAR1:= REF(C,2)<REF(O,2)&&MACD<0;{星线的前一天收阴线,MACD在0轴下}STAR2:=REF(O,1)<REF(C,2);{昨天低开}STAR3:=ABS(REF(O,1)-REF(C,1))/REF(C,1)<0.02;{昨天的实体尽量小,最好十字星}STAR4:=(C/REF(C,1)>1.02)&&(IF(O<REF(C,1),ABS(O-REF(C,1))/REF(C,1)<0.02,1));{今天实体不能太小,如果中午选股可适量调小,今天的开盘价不能比昨天星线收盘价低太多}STAR5:=REF(CLOSE,1)<REF(CLOSE,2);{昨天的收盘价小于前一天的收盘价,即中间有跳空}STAR6:=(O-L)/O<0.03 && O<C;{今天的阳线不能带太长的下影线}ZCZX:=STAR1 AND STAR2 AND STAR3 AND STAR4 AND STAR5 AND STAR6 AND SIDY5 AND S5DJ10 AND AJBB; {DRAWTEXT(ZCZX,L*0.97,'早'),COLORWHITE;DRAWTEXT(ZCZX,L*0.90,'星'),COLORWHITE;}{刺透形态}{阳线上传阴险实体50%,阳线上下影线小于实体的25%}CT1:=REF(C,1)<REF(O,1)&&REF(C,2)<REF(O,2)&&REF(C,3)<REF(O,3) &&(REF(O,1)-REF(C,1))/REF(O,1)>0.03;{昨天收阴线,阴线实体不能太小}CT2:=C>O && C>(REF(C,1)+REF(O,1))/2 && O<REF(C,1);{今天收阳线,低开,收盘价超过昨天实体一半}CT3:=(H-C)*100/(C-O)<25 && (O-L)*100/(C-O)<25;{上下影线不能超过实体的25%}CT6:=LLV(L,4)==L;{今天的最低价是5日内的最低价}CT7:=H<HHV(H,5);{今日收阳线的最高价不能高于5日内的最高价}CT8:=COUNT(H>MA10,20)>0;CT:=CT1 AND CT2 AND CT3 AND SIDY5 AND S5DJ10 AND CT6 AND CT7 AND CT8 AND AJBB; {DRAWTEXT(CT,L*0.97,'刺'),COLORWHITE;DRAWTEXT(CT,L*0.90,'透'),COLORWHITE;}{下跌后长下影线}XYXL3:=LLV(L,5)==L;{今天的最低价是5日内的最低价}XYXL4:=(MIN(C,O)-L)>5*(ABS(C-O));XYXL5:=IF((REF(C,1)<REF(O,1))&&(REF(C,2)>REF(O,2)),0,1);{不能前一天收阴线,再前一天收阳线}XYXL:=SIDY5 AND S5DJ10 AND XYXL3 AND XYXL4 AND XYXL5 AND AJBB;{DRAWTEXT(XYXL,L*0.97,'下'),COLORWHITE;DRAWTEXT(XYXL,L*0.93,'影'),COLORWHITE;DRAWTEXT(XYXL,L*0.89,'长'),COLORWHITE;}SELECT:ZCZX OR CT OR XYXL;55.公式名称:三金叉公式描述:5日金叉10日,KDJ金叉,MACD金叉参数:NULL日期:2011MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);{20101121}{MACD金叉,KDJ金叉,5日金叉10日}DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);SJC:=(CROSS(MA5,MA10) OR CROSS(MA10,MA30)) AND CROSS(DIFF,DEA) AND CROSS(K,D);AA:=COUNT(SJC,2)>0&&C<REF(C,1);COUNT(AA,300)>0;56.公式名称:5天一字涨停公式描述:发生过连续5天一字涨停参数:NULL日期:2011SEL:=C=O AND REF(C,1)=REF(O,1) AND REF(C,2)=REF(O,2) AND REF(C,3)=REF(O,3) AND REF(C,4)=REF(O,4) AND C>REF(C,1) AND REF(C,1)>REF(O,2);COUNT(SEL,500)>0;57.公式名称:TEST_ZTY公式描述:测试用,涨停后第二天3%左右振幅,后市如何参数:NULL日期:2011AA:=REF(C,1)/REF(C,2)>1.098 AND H/REF(C,1)<1.04 AND L/REF(C,1)>0.96 AND C<O AND C<REF(C,1) AND O>REF(C,1) AND O<H AND C>L;COUNT(AA,100)>0;58.公式名称:TEST底部选股公式描述:参数:NULL日期:2011VAR1:=1;VAR2:=1/WINNER(CLOSE);VAR3:=MA(CLOSE,13);VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);VAR5:=LLV(LOW,75);VAR6:=HHV(HIGH,75);VAR7:=(VAR6-VAR5)/100;VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1); VAR9:=SMA((OPEN-VAR5)/VAR7,20,1); VARA:=3*VAR8-2*SMA(VAR8,15,1); VARB:=3*VAR9-2*SMA(VAR9,15,1); VARC:=100-VARB;主力:=(100-VARA)*VAR1,COLOR0099FF; JK:=MAX(主力,100);底部选股:IF(JK>100,1,0);59.公式名称:连续N天收阴线公式描述:参数:NULL日期:2011AA:=C<O;COUNT(AA,N)=N;60.公式名称:公式描述:参数:NULL日期:201161.公式名称:公式描述:参数:NULL日期:201162.公式名称:公式描述:参数:NULL日期:201163.公式名称:公式描述:参数:NULL 日期:2011。

选股公式集锦

选股公式集锦

选股公式集锦说明:其实xg曲线信号就是1或者0的连线,正常情况下是0,发出符合条件的就是11,30个交易日内,股价跌幅达到一半的股票: ----经典!xg hhv(c,30)-c)/hhv(c,30)>0.5;2,今天的量是5天平均的2倍以上---------- ㊣xg:v>ma(v,5)*2;缩量 vol/ma(vol,10)<0.3; ---------- ㊣3,两天内,累计下跌等于或超过20%选股.xg ref(c,2)-c)/c>0.2;4,股价是25天以来新低. ---------- ㊣xg:c<ref(llv(c,25),1);5,选股:EXPMA5日与10日金叉并且第二天的收盘价在EXPMA的5日线以上.cross(ref(ema(c,5),1),ref(ema(c,10),1))c>ema(c,5); ---------- ㊣6,请编买入公式:---------- ㊣1. 将BIAS指标的参数设置为24日,将KD指标的参数设置为9;3;3。

2. BIAS指标要小于-6,这只是确认该股超跌的初选条件。

3. KD指标产生黄金交叉,K线上穿D线。

4. KD交叉同时,KD指标中的D值要小于16。

BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colorff00ff; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS3<-6cross(k,d)d<16;7,要求是量大、换手率达到3左右,涨幅>7个点。

---------- ㊣xg:v/capital*100>3(c/ref(c,1)>1.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100;9,"阴转阳"的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,1)<ref(o,1)c>o;10,股价回抽20日均线选股公式-------------------经典!xg:ref(c,1)>ma(c,20)cross(ma(c,20),c);11,一根大阳线,至少有5个点以上,再连着出现二根振幅不大于5个点的十字星或是小K线-------------------经典!xg ref(c,3)-ref(c,4))/ref(c,3)>0.05count((h-l)/l<0.05,2)=2;12,行情信息里的“涨幅”的原码------------------ ㊣(c-ref(c,1))/c*100;13,kdj的J从上向下穿越O轴发出信号------------------ ㊣RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;J:=3*K-2*D,COLORFF00FF;xg:cross(0,j);14,股价4天中有两天在10日线上------------------ ㊣count(c>ma(c,10),4)=2;15,选出10天内出现了涨停的个股------------------ ㊣count(c/ref(c,1)>1.1,10)>0;又:今涨停:=C/REF(C,1)>1.09;选股:count(今涨停,n);16,一阳上穿10,20,30日线,量能是前一天3倍。

k线选股公式

k线选股公式

k线选股公式以下是几个常见的K线选股公式:1.连续N天收阴线:aa=COUNT(OPEN>CLOSE,N);SELECTaa==n。

这个公式选出连续N个交易日收阴线的股票。

2.连续N天收阳线:aa=COUNT(CLOSE>OPEN,N);SELECTaa==n。

这个公式选出连续N个交易日收阳线的股票。

3.连续N天上涨:COUNT(CLOSE>REF(CLOSE,1),N)==N。

这个公式选出连续N个交易日上涨的股票。

4.满足后发出信号:w1:=ref(c,2)ref(h,1) and ref(l,2)h and ref(l,1)。

5.选出今日成交量大于昨日成交量一成的股票:xg:v>ref(v,1)*1.1。

6.连续5天,当日的5日均线减前一天的5日均线差值小于1:count((ma(c,5)-ref(ma(c,5),1))<1,5)=5。

7.股价上穿5周均线:xg:cross(c,ma(c,5))。

注意:选股时用周线。

8.上穿30日均线的公式:xg:cross(c,ma(c,30))。

9.三根K线选股公式:第一根K线为阴线;第二根K线为阴线,最高价低于第一根K线,最低价高于第一根K线;第三根K线阴阳不限,最高价低于第二根K线,最低价高于第二根K线。

满足后发出信号。

10.a:=ref(l,1)ref(h,2) and ref(c,1)ref(o,1);b:=cref(l,1) and oref(o,1) ref(c,1)ref(o,1) vref(v,1); x:a and b。

这些公式中涉及到一些专业术语,如“COUNT”表示统计,“cross”表示上穿,“ma”表示均线,“ref”表示引用若干周期前的数据等。

这些公式仅供参考,实际使用时需要结合市场情况调整参数和条件。

同时,股市有风险,投资需谨慎,投资者需自行评估风险并做出决策。

如何编写选股公式

如何编写选股公式

如何编写选股公式下面就为大家简单介绍一下如何编写一些基础的选股公式。

表述方式首先了解一个词:“函数”函数可以被认为是一种语言,通过这种语言告知计算机自己的想法,并让它去实现。

函数就是这种语言的单词。

K线的组成:最高价:HIGH 收盘价:CLOSE 最低价:LOW 开盘价:OPEN 成交量:VOL 成交额:AMO两条均线交叉:CROSS假如两条均线一条名叫X,另外一条叫YCROSS(X,Y)表示均线X向上穿过均线YCROSS(Y,X)表示均线Y向上穿过均线X以上函数所表示的均为当天或是本周期的数据,而前期数据表示则引用另一个函数:REF(X,M)这里的M即为参数例如:REF(Close,5)表示5天前的收盘值;REF(Vol,10)表示10天前的成交量;如果想把两个条件并列在一起可以用“AND”A AND B就表示条件A和条件B公式编写时常用的通式一、放量、缩量(成交量函数为VOL)1、放量:(1)今天成交量同昨日相比增加了1倍:VOL/REF(VOL,1)>2;(2)今天成交量较10个交易日平均成交量放大了1倍:a:=ma(vol,10);vol/a>2;或者:vol/ma(vol,10)>2;(3)今日的5日均量较10个交易日平均成交量放大了1倍:a:=ma(vol,10);b:=ma(vol,5);b/a>2;(4)今日的成交量超过整个流通盘的5%:vol/capital>0.05;(其中capital表示流通盘)2、缩量:(1)今日成交量同昨日相比减少了一半:vol/ref(vol,1)<0.5;(2)今日成交量较10个交易日平均成交量减少一倍:a:=ma(vol,10);vol/a<2;或者:vol/ma(vol,10)<2;(3)今日的5日均量较10个交易日平均成交量减少1倍:a:=ma(vol,10);b:=ref(a,5);a/b<2;(4)今日的成交量低于了整个流通盘的5%:vol/capital<0.05;二、上涨、下跌1、上涨:(1)今日涨幅超过5%以上:close/ref(close,1)>1.05;(2)5日均价连续上涨,表示如下:a:=ma(close,5);b:=ref(a,1);a>b;2、下跌:(1)今天的跌幅达到5%以上:close/ref(close,1)<0.95;(2)5日均价连续下跌,表示如下:a:=ma(close,5);b:=ref(a,1);a<b;3、K线的描述:阳线:close>open;阴线:close<open;高开:open>ref(close,1);低开:open<ref(close,1);跳空高开:open>ref(high,1);(high为最高价)跳空低开:open<ref(low,1);(low为最低价)三、走势特征选股公式的编写1、n日内创新高hhv(high,n)=hhv(high,0) and barscount(close)>=n;说明:•n为指标参数,可在参数设定范围内设定参数范围。

中国股市:最全选股器公式,喜欢的自己复制!

中国股市:最全选股器公式,喜欢的自己复制!

中国股市:最全选股器公式,喜欢的自己复制!涨幅大于3%且小于5%阳线的公式A1:=cross(ma(c,,5),ma(c,13));a2:=count(c/ref(c,1)>1.03 and c/ref(c,1)<1.05 and="" c="">o,3)>0;a3:=count(c/ref(c,1)>1.095 and c=h,20)=0;a1 and a2 and a3;昨日跌停今日高开的选股公式跌停:=C=DTPRICE(REF(C,1),0.1);X:REF(跌停,1) AND O/REF(C,1)>1.003;次新股上市后开板的公式BARSLASTCOUNT(BARSCOUNT(O)>BARSLASTCOUNT(L>=Z TPRICE(REF(C,1),0.1)))=1;一阳收前三阴股公式ZT:=C>=ZTPRICE(REF(CLOSE,1),0.1);A1:=C<>XG:BARSLAST COUNT(REF(A1,1)>0)=3 AND ZT>0 AND C>MA(C,60);振幅大于3且收阳的选股公式H/L>1.03 AND C>O;连续5日交易金额增加的公式UPNDAY(AMOUNT,3)均线多头指标A5:=MA(C,5);A10:=MA(C,10);A20:=MA(C,20);A30:=MA(C,30) ;A60:=MA(C,60);XG:A5>A10 AND A10>A20 AND A20>A30 AND A30>A60 and C>MA(C,5);放量2倍以上并持续两天以上的选股公式exist(every(v>2*ref(ma(v,5),1) and c>o,2),n);排除20天内出现过一字跌停的公式NOT(EXIST(H<>股价2连阴公式两连阴:C<>当天收盘为十字星或类十字星的小K线的选股公式MX:=MAX(C,O);MI:=MIN(C,O);SY:=H-MX;XY:=MI-L;PST:=100*(MX-MI)/MI;XG:SY+XY>0 AND IF(MAX(SY,XY)>ABS(C-O),PST<><>单针长下影选股公式ZF:=(C/REF(C,1)-1)*100;LZF:=SUM(ZF,5);XG:LZF<-15 and="" v="HHV(V,4)" and="" (min(c,o)-l)="">ABS(C-O)*3;缩量一倍以下的选股公式C<0.5 and="" o="">REF(C,1);KDJ死叉的选股公式C>MA(C,30) AND CROSS(KDJ.D,KDJ.K);量递缩的选股公式AA1:=REF(V,2)/REF(V,3)>4;AA2:=REF(V,1)/REF(V,2)<>AA3:=V /REF(V,1)<>XG:AA1 AND AA2 AND AA3;流通盘小于10个亿的选股公式XG:c<45 and=""><1000000000 and="" finance(33)="">0;外盘买入大于内盘卖出的选股公式(DYNAINFO(23)>DYNAINFO(22)) AND DYNAINFO(14)*100<>股价在涨停价上站稳3日公式YJ:REF(C/REF(C,1)>1.092,3) AND EVERY(C>REF(H,3),3);8日13日21日均线多头排列的公式MA8:=MA(CLOSE,8);MA13:=MA(CLOSE,13);MA21:=MA(CLO SE,21);多头排列:MA8>=MA13 AND MA13>=MA21 AND MA8>REF(MA8,1) AND MA13>REF(MA13,1) AND MA21>REF(MA21,1);今天的成交量比昨天大一倍以上的选股公式VOL>2*REF(VOL,1);均线上升角度的公式MA5A:ATAN((MA(C,5)/REF(MA(C,5)-1)*100)*180/3.1416,NODRAW;MA10A:ATAN((MA(C,10)/REF(MA(C,10)-1)*100)*180/3.1416,NODRAW;一阳收前三阴股公式ZT:=C>=ZTPRICE(REF(CLOSE,1),0.1);A1:=C<>XG:BARSLAST COUNT(REF(A1,1)>0)=3 AND ZT>0 AND C>MA(C,60);5日内阴线都是缩量的选股公式近5个交易日内,阴线都是缩量的选股公式。

各种选股公式(通达信)

各种选股公式(通达信)

各种选股公式(通达信)股票公式不明白请查阅:股票公式文件使用以及说明!各种选股公式(通达信)macd-kdj金叉共振选股公式:DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;DEA:=EMA(DIF,9);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);B4:CROSS(DIF,DEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));金蜘蛛选股公式:{n1 1 .00 300.00 5.00n2 1.00 300.00 10.00n3 1.00 300.00 20.00}MA1:=MA(CLOSE,N1);MA2:=MA(CLOSE,N2);MA3:=MA(CLOSE,N3);A1:=COUNT(CROSS(MA2,MA3),2)=1;A2:=COUNT(CROSS(MA1,MA3),2)=1;A1 AND A2;穿云箭多方炮选股公式:M5:=HHV(MA(C,5),15);MM5:=IF(M5=REF(M5,1),M5,DRAWNULL);AA:=MM5=REF(M5,1) AND REF(M5,1)=REF(M5,2) AND REF(M5,2)=REF(M5,3);XG:REF(L,1)REF(C,1) AND C>M5 AND AA AND L>REF(C,1)AND FINANCE(34)>1 AND FINANCE(33)>0.1 ;均线粘合选股公式:X1:=ABS(MA(C,10)/MA(C,20)-1)<0.01;{取1%振幅内粘合}X2:=ABS(MA(C,5)/MA(C,10)-1)<0.01;X3:=ABS(MA(C,5)/MA(C,20)-1)<0.01;AA:=MA(C,5)>REF(MA(C,5),1);BB:=MA(C,10)>REF(MA(C,10), 1);CC:=MA(C,5)>MA(C,10);{均线勾头向上}CDJZ:=ABS(MA(C,20)-MA(C,90))/MA(C,60);{长短均线距离绝对值}MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3AND CDJZ AND AA AND BB AND CC;{X4:=ABS(MA(C,5)/MA(C,30)-1)<0.01;MA(C,5)>REF(MA(C,5),1) AND X1 AND X2 AND X3 AND X4;}{也可以再加:四线粘合};均线·macd·kjd金叉选股公式:M1:=MA(CLOSE,5);M2:=MA(CLOSE,10);MA1:=MA(vol,5);MA2:=MA(VOL,10);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);A1:=DEA;F1:=DIF;K1:="KDJ.K";J1:="KDJ.J";金叉1:=CROSS(M1,M2);金叉2:=CROSS(MA1,MA2);金叉3:=CROSS(F1,A1);金叉4:=CROSS(J1,K1);选1:=金叉1 AND 金叉2 AND 金叉3 AND 金叉4;选2:=金叉1 AND 金叉2 AND 金叉3;选3:=金叉2 AND 金叉3 AND 金叉4;选4:=金叉1 AND 金叉2 AND 金叉4;选5:=金叉1 AND 金叉3 AND 金叉4;选股:选1 OR 选2 OR 选3 OR 选4 OR 选5;五榜合一选股公式:ZF:=DYNAINFO(14)*100;{涨幅}LB:=DYNAINFO(17);{量比}HS:=DYNAINFO(37)*100;{换手}ZJ:=AMOUNT/10000;{资金}TM:=V-MA(V,10);{量填满}ZF>=2 AND ZF<=5 AND LB>=2 AND ZJ>=500 AND HS>1 AND TM>0;盘中预警:JR:=DYNAINFO(7)>DYNAINFO(11);{现价大于均价}CL:=DYNAINFO(11)>DYNAINFO(3);{均价大于前收盘价}GK:=DYNAINFO(4)>DYNAINFO(3);{今天开盘价大于前收盘价} ZF:=DYNAINFO(14)>0.015;{涨幅}HS:=DYNAINFO(37)>1;{换手}LB:=DYNAINFO(17)>1;{量比}YX:=(REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,2)<=0.01;{(昨天收盘价-2日前的收盘价)/2日前的收盘价小于等于0.01}WZ:=DYNAINFO(7)>=MA(CLOSE,5);{现价大于等于收盘价的5日简单移动均线}JR AND CL AND GK AND ZF AND HS AND LB AND YX AND WZ;五线顺上选股公式:MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);MA60:=MA(CLOSE,60);MA120:=MA(CLOSE,120);MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND MA20>REF(MA20,1)AND MA60>REF(MA60,1) AND MA120>REF(MA120,1);三金叉选股公式:MA5:=EMA(C,5);MA10:=EMA(C,10);MV5:=EMA(V,5);MV10:=EMA(V,10);K:="KDJ.K"(9,3,3);D:="KDJ.D"(9,3,3);V1:=MA5>REF(MA5,1) AND MA10>REF(MA10,1) AND C>REF(C,1) AND C/O>1.01;VV1:=MV5>REF(MV5,1) AND MV10>=REF(MV10,1) AND V>REF(V,1)*1.2 ;KD1:=K>REF(K,1) AND D>=REF(D,1);VA:=COUNT(CROSS(K,D),4)>=1 AND COUNT(CROSS(MA5,MA10),4)>=1 ANDCOUNT(CROSS(MV5,MV10),4)>=1;XG1:IF(V1 AND VV1 AND KD1 AND VA,1,0);早晨之星选股公式:STAR:REF(CLOSE,2)/REF(OPEN,2)<0.95&&REF(OPEN,1)ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03&&CLOSE/OPEN>1.05&&CLOSE>REF(CLOSE,2);{输出STAR:2日前的收盘价/2日前的开盘价<0.95并且昨日开盘价<2日前的收盘价并且昨日开盘价-昨收的绝对值/昨收<0.03并且收盘价/开盘价>1.05并且收盘价>2日前的收盘价}利用锤头(上锤头)线选股:O>C && HIGH=MAX(OPEN,CLOSE);筛选此股票的步骤,中午利用此函数筛选处股票,后从前三日走阴的股票中进一步选择,选择后选择连续三天缩量的,直至14:55分左右如还是锤头,则果断买入,不再13:00~13:00买入的原因是13:30~15:00这个时间短内价格有可能超过开盘价,如果形成十字星,则股票还有继续调整的可能,上锤头一般是调整结束的标志。

选股公式

选股公式

通达信选股公式选股公式(出手不凡)连续小阳的选股公式VAR1:=C>O AND C/O<1.023 AND H/C<1.018 AND O/L<1.035;COUNT(VAR1,3)=3;斜率>60度的MA20天均线公式:N:1 120 5 M:1 45 5J:=MA(C,N);角度一:=ATAN(100*(J/REF(J,1)-1))*180/3.1416;角度一>M;放量上涨”公式与5日均线上翘大于10度以上的选股公式A:=MA(C,5);大于10度:=ATAN((A/REF(A,1)-1)*100)*57.3>10;放量上涨:=(V>1*MA(V,6) OR V>2*MA(V,6) OR V>3*MA(V,6)) AND C/REF(C,1)>1.02;放量且大于10度:大于10度AND 放量上涨;综合选股:股价突破5日均线选股:var1:=ma(c,5);CROSS(c,var1);斜率>20度的MA5天均线M:1 45 20 N: 1 60 5J:=MA(C,N);角度一:=ATAN(100*(J/REF(J,1)-1))*180/3.1416;角度一>M;选出当日最低价在5日均线上下0.05%内ABS(L-MA(C,N))<0.025;通达信头肩底选股公式(最好选取当日热点板块)即5日均线与10日均线最近的金叉比上一个金叉位置高,上一个金叉的位置又比上上一个金叉的位置低。

JC:=CROSS (MA(C,5),MA(C,10)); YJ:JC AND C>REF(C,BARSLAST(JC)-1) AND REF(C,BARSLAST(JC)-1) < REF(C,BARSLAST(REF(JC,1))-1) ; 或DIFF:=EMA(CLOSE,12) -EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=MA(2*(DIFF-DEA),2);JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));ZQ3:=CROSS(DIFF,DEA) AND DEA>=0 AND COUNT(JCCOUNT=21,W)=1;ZQ:=BARSLAST(DIFF<0 AND DEA<0 AND CROSS(DIFF,DEA));ZQ2:=BARSLAST(CROSS(MACD,0));JC:=ZQ>ZQ2>ZQ3;VAR1:= C/O<1.023 AND H/C<1.028 AND O/L<1.035;JC1:=COUNT(VAR1,3)=3;YJ:JC AND JC1 AND C>REF(C,BARSLAST(JC)-1) AND REF(C,BARSLAST(JC)-1) <REF(C,BARSLAST(REF(JC,1))-1);出手不凡优化选股公式VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=IF(VAR8>100,100,VAR8);底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;先知:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;可能放量拉升:=IF(CROSS(底部吸筹指标,-24),1,0), , COLORFFFFFF;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2;波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), , COLORFF6666,LINETHICK2;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);CS8:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;DDFX8:=(SMA(CS8,3,1)-50)*2;DCS8:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*100;C8:=(SMA(DCS8,3,1)-50)*2;差值8:=DDFX8-C8;出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0) AND 差值8>REF(差值8,1);倍量过左峰战法确实非常好,倍量过左峰有以下含义:(1)过左峰是股价创新高;(2)倍量暴露了主力真实意图;(3)倍量过左峰符合最经典的道氏理论;(4)是股价上涨的必经之路,是最佳的拦截位置。

通达信最常用的几个条件选股公式,你知道几个?

通达信最常用的几个条件选股公式,你知道几个?

通达信最常用的几个条件选股公式,你知道几个?近段时间给大家分享的选股公式受到了很多股民的喜爱,仍有不少的朋友想获取更多的选股方法,今天我也趁着休息的时间,再整理了下我的选股公式,可能有些会重复分享,我自己也忘了,如果你是第一次看到的话,记得自己收藏一下,下面直接开讲。

1、30日线低吸AA:=CLOSEBB:=CLOSE>=MA(CLOSE,30);CC:=MA(CLOSE,20)>MA(CLOSE,30);AA AND BB AND CC;2、二次红金叉DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A:=DIFF<0 AND CROSS(DIFF,DEA)CROSS(DIFF,DEA)AND COUNT(A,10)=2;3、均线粘合MA1:=MA(C,5);MA2:=MA(C,10);MA3:=MA(C,20);MA4:=MA(C,30);MA5:=MA(C,60);P1:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA4)+ABS(MA2-MA4)+ABS(MA3-MA4)+ABS(MA1-MA3)+ABS(MA1-MA5)+ABS(MA2-MA5)+ABS(MA3-MA5)+ABS(MA4-MA5);五线粘合:IF(P1/C<10/100 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1),888,0)COLORRED,LINETHICK3;P2:=ABS(MA1-MA2)+ABS(MA2-MA3)+ABS(MA1-MA4)+ABS(MA2-MA4)+ABS(MA3-MA4)+ABS(MA1-MA3);四线粘合:IF(P2/C<6/100 AND MA1>REF(MA1,1) AND MA2>REF(MA2,1),666,0)COLORYELLOW,LINETHICK3;4、突破30日线TJ1:=(C-REF(C,1))/REF(C,1)*100>=0.1;VAR1:=LLV(LOW,13);VAR2:=HHV(HIGH,13);VAR3:=SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1);VAR4:=SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1);AA:=VAR3;BB:=VAR4;VAR5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;CC:=EMA(VAR5,3);DD:=MA(C,30)>=REF(MA(C,30),1);EE:= L<=MA(C,26) AND H>=MA(C,30) ;MTM:=CLOSE-REF(CLOSE,15);MAMTM:=MA(MTM,8);FF:=MAMTM>REF(MAMTM,2);XG: CC>=REF(CC,2)AND C>O AND TJ1 AND EE AND DD AND FF;5、周KDJ金叉A:='KDJ.K#DAY';B:='KDJ.D#DAY';AA:='KDJ.K#WEEK';BB:='KDJ.D#WEEK';周金叉:CROSS(AA,BB)AND CROSS(A,B);6、60日线在120日线上且股价在60线上方M60:=MA(C,60);M120:=MA(C,120);{60日线在120日线上} T1:=M60>M120;{股价在60线上方} T2:=C>M60;{60日线跟120日线要上扬} T3:=M60>REF(M60,1) AND M120>REF(M120,1);T1 AND T2 AND T3;7、一阳穿4线参数n1 小1 大120 缺5n2 1 120 10n3 1 120 30n4 1 120 60A1:=MA(C,N1);A2:=MA(C,N2);A3:=MA(C,N3);A4:=MA(C,N4);B1:=C>A4 AND REF(C,1)B2:=C>A3 AND REF(C,1)B3:=C>A2 AND REF(C,1)B4:=C>A1 AND REF(C,1)RET:B1 AND B2 AND B3 AND B4;8、一阳穿5线选股公式CLOSE>OPEN ANDMA(CLOSE,5)>LOW AND MA(CLOSE,5)MA(CLOSE,10)>LOW AND MA(CLOSE,10)MA(CLOSE,30)>LOW AND MA(CLOSE,30)MA(CLOSE,60)>LOW AND MA(CLOSE,60)MA(CLOSE,120)>LOW AND MA(CLOSE,120)9、涨停缩量回调指标选股公式N:=8;m:=13;回踩线:MA(c,m);中期线:ma(c,60);长期线:ma(c,120);均线多头:=中期线>ref(中期线,1) and 长期线>ref(长期线,1);大阳:=C/REF(C,1)>=1.08;DYSJ:=BARSLAST(大阳);跟踪:=DYSJ<=13 AND COUNT(L>REF(L,DYSJ),DYSJ)=DYSJ AND C/REF(C,DYSJ)<0.95;阻击点:=V/REF(V,DYSJ)<0.65 AND L回踩线;说明:1.近期有涨停(近期为10天内,或涨幅7%以上)2.大均线多头(60、120均线多头排列,保证股票中长期趋势向多)3.涨停后缩量回调,回踩到13天线。

123法则 选股公式

123法则 选股公式

123法则选股公式
【原创实用版】
目录
1.123 法则的含义和作用
2.123 法则的选股公式
3.123 法则的实际应用和效果
正文
1.123 法则的含义和作用
123 法则是一种在股市中广泛应用的技术分析方法,主要用于判断股票价格的走势和趋势。

它由三条线组成,分别是股价的上轨线(1 线)、中轨线(2 线)和下轨线(3 线)。

这三条线通过计算和绘图,可以帮助投资者判断股票价格的变动趋势,从而为买入和卖出股票提供参考。

2.123 法则的选股公式
123 法则的选股公式主要包括以下几个步骤:
(1)计算股价的上轨线(1 线):1 线 = 股价的最高价 + (最高价 - 最低价)* 2 / 3
(2)计算股价的中轨线(2 线):2 线 = 股价的最高价 + (最高价 - 最低价)* 1 / 3
(3)计算股价的下轨线(3 线):3 线 = 股价的最低价 - (最高价 - 最低价)* 1 / 3
(4)根据 1 线、2 线和 3 线的相对位置,判断股票价格的走势和趋势。

3.123 法则的实际应用和效果
123 法则在实际应用中,主要通过观察三条线之间的相对位置和交叉
情况,来判断股票价格的走势和趋势。

如果 1 线在 2 线上方,且 3 线在 2 线下方,说明股票价格处于上升趋势;如果 1 线在 2 线下方,且3 线在 2 线上方,说明股票价格处于下降趋势。

123 法则的实际应用效果主要取决于投资者对技术分析的理解和掌握程度,以及对市场行情的敏感度和判断力。

选股公式大全

选股公式大全

选股公式大全1、5日累计涨幅小于20%的选股公式(C-REF(C,5))/REF(C,5)*100\u003C20;振幅大于3且收阳的选股公式H/L>1.03 AND C>O;2次涨停板间隔六日的选股公式涨停:=ZTPRICE(REF(CLOSE,1),0.1)=C AND C=H AND NOT(L=H);T1:=BARSLAST(涨停);T:=SUMBARS(涨停=1,2);XG:(T-T1)=6;30天之内有涨停板的选股公式zt:=c>ref(c,1)*1.095;exist(zt,30) and not(zt or ref(zt,1));股价站上13线的预警公式1:当日开盘价在13线下方,而后股价站上13线;2:前20天里天有一根涨停(前20天里任何一天涨停都可以);3:前20天区间累计涨幅小于5%。

涨停:=C>=ZTPRICE(REF(C,1),0.1);涨幅累计:=REF(SUM((C/REF(C,1)-1)*100,20),1);REF(EXIST(涨停,20),1) AND 涨幅累计\u003C5 AND O\u003CMA(C,13) AND C>MA(C,13);8天6阴线选股公式8天里,有6天是阴线,不要求6天连续阴线。

COUNT(C\u003CO,8)=6;涨停高开预警公式第一天涨停,当第二天涨幅大于2个点时及时预警。

REF(C/REF(C,1)>1.0985 AND C=H,1) AND C/REF(C,1)>=1.02;连续3天以上换手率大于3的选股公式BARSLASTCOUNT(HSL>3)>=3;去除掉流通值大于50亿的公式FINANCE(40)\u003C=5000000000;连续三日涨停选股指标EVERY(C/REF(C,1)>1.095 AND C=H,3);放量2倍以上并持续两天以上的选股公式exist(every(v>2*ref(ma(v,5),1) and c>o,2),n);均线多头指标5日线大于 10日线大于 20日线大于30日线大于 60日线,且收盘价在5日线上。

选股公式100种(转载)

选股公式100种(转载)

选股公式100种(转载)原文:/viewthread.php?tid=2327888以下的选股公式成功率好坏有无未来本人都没澈试过,大家自己试一下,好着用不好着弃,仅供参考。

(0001){选股公式}ZLC:= EMA((WINNER(CLOSE) * 70),3);SHC:= EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),3);主力控盘:= ((ZLC / (ZLC+ SHC)) * 100);上限:= HHV(主力控盘,20);下限:= LLV(主力控盘,20);中线:=(上限 + 下限)/2;A:=60;B:=10;抄低:CROSS(主力控盘,B);(0002){选股公式}LC := REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;跌破:CROSS(20,RSI);(0003){简单实用选股公式}公式名:波段M3:MA((CLOSE*2+H+L)/4,3);M3_3:MA(M3,3),COLORGREEN;选股公式:M3:=MA((CLOSE*2+H+L)/4,3);M3_3:=MA(M3,3);xg:cross(M3,M3_3);(0004){选股公式}VAR1P:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;VAR2P:=SMA(VAR1P,7,1);VAR3P:=SMA(VAR2P,5,1);IF(CROSS(VAR2P,VAR3P) AND VAR2P<20,85,0);(0005){选股公式}N:=9;RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,2,1);D:=SMA(K,2,1);K>D AND REF(K,1)<REF(D,1);(0006){选股公式}LOWV:=LLV(LOW,27);HIGHV:=HHV(HIGH,27);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:=EMA(RSV,3);D:=MA(K,9);bb:= CLOSE>OPEN and CLOSE<REF(OPEN,1);cc:=(c-ref(c,20))/ref(c,20)<-0.18;cq:=SPLITBARS(0 )<15;xg: k<20 AND d<20 and bb AND ref(CC,1)=1 and cq=0 ,colorred;(0007){狙击低点选股公式股价在上升途中的回调时,突然走出跌破20日均线的大(中)阴线;第二天走出一根下探的长下影线的K线(阴阳均可)。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

条件选股公式1.公式名称:MA10CROSSMA30公式描述:10日均线上穿30日均线参数:NULL日期:2011MA10:=MA(C,10);MA30:=MA(C,30);CROSS(MA10,MA30);2.公式名称:MA30>MA60公式描述:30日均线在60日均线之上参数:NULL日期:2011M30:=MA(C,30);M60:=MA(C,60);M30>M60;3.公式名称:MA5CROSSMA10公式描述:5日均线上穿10日均线参数:NULL日期:2011MA5:=MA(C,5);MA10:=MA(C,10);CROSS(MA5,MA10);4.公式名称:JCROSS0(KDJ)公式描述:KDJ指标,J上穿0轴参数:N1 9-100-9 N2 3-100-3 N3 3-100-3日期:2011RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; K:=SMA(RSV,N2,1);D:=SMA(K,N3,1);J:=3*K-2*D;CROSS(J,0);5.公式名称:J<0 (KDJ)公式描述:KDJ指标J值小于0非常超卖参数:N1 9-50-9 N2 3-50-3 N3 3-50-3日期:2011RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; K:=SMA(RSV,N2,1);D:=SMA(K,N3,1);J:=3*K-2*D;J<0;6.公式名称:DIFF<-1公式描述:MACD指标的DIFF在0轴下<-1参数:SHORT 5-100-12 LONG 20-100-26 M 2-100-9日期:2011DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);DEA := EMA(DIFF,M);DIFF<-1;7.公式名称:涨幅>大盘公式描述:今日涨幅>大盘涨幅参数:NULL日期:2011NMAX1:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);NMAX2:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1);NMAX:NMAX1>NMAX2;8.公式名称:MIN<涨幅<MAX公式描述:涨幅介于MIN和MAX之间的股票参数:NMIN (-10)-10-4 NMAX (-10)-11-8日期:2011NMAX1:=(CLOSE-REF(CLOSE,1))*100/REF(CLOSE,1);(NMAX1>=NMIN)AND(NMAX1<=NMAX);9.公式名称:价上穿N3天线公式描述:前N1-N2天处于N3平均线下,今穿过N3线参数:N1 1-200-20 N2 1-100-5 N3 10-120-60日期:2011NCROSS:LAST(CLOSE<MA(CLOSE,N3),N1,N2)&&CLOSE>MA(CLOSE,N3);10.公式名称:下MACD金叉公式描述:0轴下方满足MACD底部N次金叉参数:N 0-5-2日期:2011DIFF:=EMA(C,12)-EMA(C,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);DATALEN:=BARSLAST(DEA>=0);JCCOUNT:=COUNT(CROSS(DIFF,DEA),DATALEN);二次金叉:CROSS(DIFF,DEA) AND (DEA<0) AND (COUNT(JCCOUNT=N,DATALEN)=1);11.公式名称:上MACD金叉公式描述:0轴上方满足MACD发生N次金叉参数:N 0-5-1日期:2011DIFF:=EMA(C,12)-EMA(C,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);DATALEN:=BARSLAST(DEA<0);JCCOUNT:=COUNT(CROSS(DIFF,DEA),DATALEN);二次金叉:CROSS(DIFF,DEA) AND (DEA>0) AND (COUNT(JCCOUNT=N,DATALEN)=1);12.公式名称:MACD绿柱缩短公式描述:MACD指标绿柱子开始缩短参数:NULLDIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);REF(MACD,2)<REF(MACD,3) AND REF(MACD,1)<REF(MACD,2) AND MACD>REF(MACD,1) AND MACD<0;13.公式名称:价N天在60线上公式描述:当前股价朝前N天都在60日均线上,N=0为今日价参数:DAYN 0-50-0日期:2011LAST(CLOSE>MA(C,60),DAYN,0) AND CLOSE>MA(C,60) AND REF(C,DAYN)>MA(C,60);14.公式名称:价N天在30线上公式描述:当前股价朝前N天都在30日均线上,N=0为今日价参数:DAYN 0-50-1日期:2011LAST(CLOSE>MA(C,30),DAYN,0) AND CLOSE>MA(C,30) AND REF(C,DAYN)>MA(C,30);15.公式名称:最近3日收阳公式描述:最近3日一直收阳线参数:NULL日期:2011EVERY(CLOSE>OPEN,3);16.公式名称:连涨2天公式描述:连续涨了两天参数:NULL日期:2011UP2:UPNDAY(CLOSE,2);17.公式名称:绿柱<6天翻转公式描述:绿柱子小于6根又变红日期:2011DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);AAA:=(REF(MACD,6)>0 AND MACD<0);BBB:=MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);CCC:=REF(MACD,1)<-0.3;AAA&&BBB&&CCC;18.公式名称:KDJ辅助MACD公式描述:KDJ金叉,配以MACD形状参考参数:NULL日期:2011RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;AAA:=CROSS(J,D) AND J<40;{J上穿D,且KDJ底背离}{MACD}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);BBB:=(MACD>REF(MACD,3)) AND (DEA>REF(DEA,2));AAA&&BBB;19.公式名称:金叉共振公式描述:MACD和KDJ金叉共振选股参数:NULL日期:2011DIF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100;DEA:=EMA(DIF,9);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);B4:CROSS(DIF,DEA) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));20.公式名称:K-M-R同背离公式描述:KDJ和MACD和RSI同时底背离选股公式参数:NULL日期:2011DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;21.公式名称:价格区间公式描述:价格介于CMIN和CMAX之间的股票参数:CMIN 1-200-5 CMAX 1-200-100日期:2011C>CMIN AND C<CMAX;22.公式名称:斜率>Y公式描述:N天X均线斜率>Y(可小数)参数:N 1-20-1 X 5-200-5 Y 1-100-5日期:2011X1:=EMA(C,X);X2:=REF(X1,N);AA:=(X1-X2)/X2*100;AA>Y;23.公式名称:N天换手率>Y公式描述:阶段换手率计算公式参数:N 1-100-5 Y 1-100-10日期:2011AA:=SUM(VOL,N)/CAPITAL*100;AA>Y;24.公式名称:10*20_3%_V2倍公式描述:10日线金叉20日涨幅过百分之三成交量比昨天放大一倍参数:NULL日期:2011AA:=EMA(C,10);BB:=EMA(C,20);CDITON1:=CROSS(AA,BB);CDITON2:=(C-REF(C,1))/REF(C,1)*100>3;CDITON3:=(V-REF(V,1))/REF(V,1)>2;SELECT:CDITON1 AND CDITON2 AND CDITON3;25.公式名称:N天内三线金叉公式描述:N天内三线金叉(非同时金叉)参数:N 1-30-3日期:2011A5:=MA(C,5);A10:=MA(C,10);A30:=MA(C,30);AA:=CROSS(A5,A10);BB:=CROSS(A5,A30);CC:=CROSS(A10,A30);COUNT(AA,N)=1 AND COUNT(BB,N)=1 AND COUNT(CC,N)=1;26.公式名称:N天阳线多于阴公式描述:朝前N天收阳线天数多于收阴线的天数参数:N 1-200-5日期:2011COUNT(C>O,N)/N>0.5;27.公式名称:量比>N公式描述:量比>N参数:N 0.1-30-1日期:2011V/REF(V,1)>N;28.公式名称:5日线>10日线公式描述:5日均线在10日均线之上参数:NULL日期:2011MA(C,5)>MA(C,10);29.公式名称:10日线>30日线公式描述:10日均线在30日均线之上参数:NULL日期:2011MA(C,10)>MA(C,30);30.公式名称:均线多头排列公式描述:M5>M10>M30>M60参数:NULL日期:2011MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60);31.公式名称:T起涨首日公式描述:网上抄的参数:NULL日期:2011GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));A:=BARSLAST(CROSS(95,GJTJ1))<=2;B:=BARSLAST(CROSS(95,GJTJ2))<=2;E:= GJTJ4<GJTJ1 AND GJTJ1<GJTJ2 AND GJTJ1<GJTJ3;F:=GJTJ2>50 AND GJTJ3>50;G:=GJTJ1=100 AND GJTJ2=100;TX:=COUNT(G,2)=1;ENTERLONG:A AND B AND E AND F AND TX;32.公式名称:T波启前兆公式描述:网上下载参数:NULL日期:2011GJTJ1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5));GJTJ2:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10));GJTJ3:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20));GJTJ4:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30));A:=GJTJ3=100;B:=GJTJ4<90;ENTERLONG:COUNT(A,2) = 2 AND B;33.公式名称:Z黑马公式描述:网上下载参数:NULL日期:2011A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LL V(L,55))*100,5,1);黑马线:=EMA(A1,5),LINETHICK2,COLOR6600FF;A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;CROSS(A1,黑马线)AND 黑马线;34.公式名称:MACD绿变红公式描述:MACD第一次由绿变成红参数:NULL日期:2011DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;AA:=MACD>0;{MACD红色}BB:=REF(MACD,1)<0 AND (REF(MACD,1)*-2)<MACD;{前一周期MACD是绿色}CC:=COUNT(MACD<0,20)<15;SELECT:AA AND BB;35.公式名称:MACD将变红公式描述:现在还是绿参数:NULL日期:2011DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;AA:=MACD<0;{MACD现在是负值}BB:=REF(MACD,1)>REF(MACD,2) AND REF(MACD,2)>REF(MACD,3);{朝前三天是逐渐增大之式} CC:=C>O AND C>REF(C,1);{今天的收盘价为红}DD:=(MA(C,5)-REF(MA(C,5),1))*100/REF(MA(C,5),1)>3;{五日均线斜率>3}EE:=C>MA(C,60);{股价在60日均线之上}{FF:=MACD>-0.2;{下一交易日如果和今天涨幅差不多,MACD就会由绿变成红}}AA AND BB AND CC AND DD AND EE;36.公式名称:绿柱开始缩短公式描述:之前绿柱有规律向下增长,今天首次缩短参数:NULL日期:2011DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);AA:=MACD<0;BB:=MACD>REF(MACD,1);{今天开始变短}CC:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4);DD:=C>REF(C,1) AND C>O;{今天收阳线,且上涨}EE:=REF(MACD,4)<0 AND REF(MACD,8)>=0;{之前绿柱变短至少连续4天}FF:=(REF(MACD,1)-REF(MACD,4))*100/REF(MACD,4)>4;{绿柱向下变长的斜率尽可能大些} GG:=REF(MACD,1)<-0.2;{限制一下幅度,将幅度太小的淘汰}SELECT:AA AND BB AND CC AND DD AND EE AND FF AND GG;37.公式名称:今天跳空开盘公式描述:开盘价有跳空幅度>2%,多头排列,收阳线参数:NULL日期:2011AA:=O>REF(C,1) AND (O-REF(C,1))/REF(C,1)>0.02;BB:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30);CC:=C>O;DD:=(H-C)<(C-O) AND (O-L)<(C-O);{上下影线不能太长}SELECT:AA AND BB AND CC AND DD;38.公式名称:老鸭头公式描述:参数:NULL日期:2011{LYT老鸭头}MA5 := MA(CLOSE,5);MA10 := MA(CLOSE,10);MA60 := MA(CLOSE,60);PDAY1 := BARSLAST(CROSS(MA5,MA60));{5日均线上穿60日均线}PDAY2 := BARSLAST(CROSS(MA10,MA60));{10日均线上穿60日均线,至此形成鸭颈部}PDAY3 := BARSLAST(HIGH=HHV(HIGH,PDAY2));{形成头部,要下跌}PDAY4 := BARSLAST(CROSS(MA10,MA5));{下跌后,5日均线和10日均线死叉}PDAY5 := BARSLAST(CROSS(MA5,MA10));{回落不久,5日均线和10日均线形成金叉,形成嘴部} A1:= PDAY1>PDAY2 AND PDAY2>PDAY3 AND PDAY3>PDAY4 AND PDAY4>PDAY5 AND PDAY5<5;A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;老鸭头选股:IF(A1 AND A2,1,0);39.公式名称:两阳夹一阴公式描述:参数:NULL日期:2011AA:=REF(C,2)>REF(O,2);{前天是阳线的}BB:=REF(C,1)<REF(O,1);{昨天是阴线的}CC:=C>O;{今天是阳线}DD:=REF(L,2)<REF(L,1);{前天的最低价小于昨天的最低价}EE:=REF(L,1)<L;{昨天的最低价小于今天的最低价}FF:=REF(H,2)<REF(H,1);{前天的最高价小于昨天的最高价}GG:=REF(H,1)<H;{昨天的最高价小于今天的最高价}AA AND BB AND CC AND DD AND EE AND FF AND GG;40.公式名称:绝地反击公式描述:参数:NULL日期:2011V1:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100<-14;V2:=(MIN(O,C)-L)/L*100>0;V3:=MA((HHV(H,5)-C)/(HHV(H,21)-LLV(L,13))*100,5)<55;V1 AND V2 AND V3;41.公式名称:阳包阴公式描述:参数:NULL日期:2011AA:C>O AND REF(C,1)<REF(O,1) AND L<REF(L,1) AND H>REF(H,1);42.公式名称:连续4根阴线公式描述:包括多于4跟参数:NULL日期:2011AA:=C<O AND REF(C,1)<REF(O,1) AND REF(C,2)<REF(O,2) AND REF(C,3)<REF(O,3);{朝前推0天} BB:=REF(C,1)<REF(O,1) AND REF(C,2)<REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)<REF(O,4);{朝前推0天}CC:=REF(C,2)<REF(O,2) AND REF(C,3)<REF(O,3) AND REF(C,4)<REF(O,4) AND REF(C,5)<REF(O,5);{朝前推0天};AA OR BB OR CC;43.公式名称:换手率2倍公式描述:换手率是前一交易日2倍以上且当日换手率大于10%以上参数:NULL日期:2011(V/CAPITAL)>2*(REF(V,1)/CAPITAL) AND (V/CAPITAL*100) > 10;44.公式名称:量比MIN<X<MAX公式描述:参数:NMIN 0.1-50-5 NMAX 0.1-50-8日期:2011LB:=V/REF(MA(V,5),1);LB<=NMAX AND LB>=NMIN;45.公式名称:下影线很长公式描述:30天内发生过下影线非常长>4倍实体参数:NULL日期:2011AA:=(MIN(C,O)-L)>4*(ABS(C-O));COUNT(AA,30)>0;46.公式名称:MY1030公式描述:根据10月30好的形态公式参数:NULL日期:2011MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);{8日内发生MA5下穿MA10,MA10下穿MA30,MA30下穿MA60,所有指标均不报}DTZD1:=O>MA30&&O>MA60&&C<MA30&&C<MA60;{不能近期发生过断头铡刀}DTZD2:=O>MA5&&O>MA10&&O>MA30&&C<MA5&&C<MA10&&L<MA30;{不能近期发生过断头铡刀}AJBB1:=COUNT(CROSS(MA60,MA10),10)>0;AJBB2:=COUNT(CROSS(MA30,MA10),10)>0;AJBB3:=COUNT(CROSS(MA30,MA5),10)>0;AJBB4:=COUNT(CROSS(MA60,MA5),10)>0;AJBB44:=COUNT(CROSS(MA10,MA5),10)>0;AJBB45:=COUNT(CROSS(MA60,MA5),3)>0;AJBB46:=COUNT(DTZD1 OR DTZD2,3)>0;AJBB5:=(AJBB1 AND AJBB2 AND AJBB3 AND AJBB4) OR (AJBB4 AND AJBB44 AND AJBB3) OR (AJBB45) OR AJBB46;AJBB:=IF(AJBB5,0,1);{--------------------------------------------------------------------------------------} {早晨之星}STAR1:= REF(C,2) < REF(O,2);{星线的前一天收阴线}STAR2:=REF(OPEN,1)<REF(CLOSE,2);{昨天低开}STAR3:=ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02;{昨天的实体尽量小,最好十字星} STAR4:=(CLOSE/REF(C,1)>1.02)&&(IF(O<REF(C,1),ABS(O-REF(C,1))/REF(C,1)<0.02,1));{今天实体不能太小,如果中午选股可适量调小,今天的开盘价不能比昨天星线收盘价低太多}STAR5:=COUNT(C<=O,5)>2;{5日内阴线多于阳线}STAR6:=REF(CLOSE,1)<REF(CLOSE,2);{昨天的收盘价小于前一天的收盘价,即中间有跳空}STAR7:=REF(HHV(H,5),1)/REF(L,1)>1.1;{昨天的收盘价相对前5天的最高价至少降了10%}STAR8:=(O-L)/O<0.03 && O<C;{今天的阳线不能带太长的下影线}ZCZX:=STAR1 AND STAR2 AND STAR3 AND STAR4 AND STAR5 AND STAR6 AND STAR7 AND STAR8 AND AJBB;{--------------------------------------------------------------------------------------} {刺透形态}{阳线上传阴险实体50%,阳线上下影线小于实体的25%}CT1:=REF(C,1)<REF(O,1) && (REF(O,1)-REF(C,1))/REF(O,1)>0.03;{昨天收阴线,阴线实体不能太小} CT2:=C>O && C>(REF(C,1)+REF(O,1))/2 && O<REF(C,1);{今天收阳线,低开,收盘价超过昨天实体一半}CT3:=(H-C)*100/(C-O)<25 && (O-L)*100/(C-O)<25;{上下影线不能超过实体的25%}CT4:=COUNT(C<=O,5)>2;{5日内阴线多于阳线}CT5:=HHV(C,6)/REF(L,1)>1.1;{昨天的收盘价相对前6天的最高价至少降了10%}CT6:=LLV(L,4)==L;{今天的最低价是5日内的最低价}CT7:=H<HHV(H,5);{今日收阳线的最高价不能高于5日内的最高价}CT:=CT1 AND CT2 AND CT3 AND CT4 AND CT5 AND CT6 AND CT7 AND AJBB;{阳线倒锤子}YDCZ1:=(MIN(O,C)-L)>2*ABS(O-C);{下影线至少是上面实体的倍}YDCZ2:=C=H;{收阳线倒锤子}YDCZ3:=COUNT(C<O,6)>2;{6日内阴线多余阳线}YDCZ4:=HHV(C,10)>MIN(O,C)*1.1;{今日收盘价距10日内收盘价最高价至少降了10%}YDCZ:= YDCZ1 AND YDCZ2 AND YDCZ3 AND YDCZ4;{阴线倒锤子}ZDCZ1:=C>O;{今天收阳线}ZDCZ2:=REF(C,1)<REF(O,1) && (REF(O,1)-REF(C,1))*2<(REF(C,1)-REF(L,1)) && REF(O,1)=REF(H,1);{昨天收阴线,且是倒锤子}ZDCZ3:=COUNT(C<O,6)>2;{6日内阴线多余阳线}ZDCZ4:=HHV(C,10)>REF(C,1)*1.1;{今日收盘价距10日内收盘价最高价至少降了10%}ZDCZ5:=IF(ZCZX,0,1);{已经是早晨之星的就不用再选}ZDCZ:= ZDCZ1 AND ZDCZ2 AND ZDCZ3 AND ZDCZ4 AND ZDCZ5 AND AJBB;{四连阴超跌}SLY1:=REF(C,1)<REF(O,1) && REF(C,2)<REF(O,2) && REF(C,3)<REF(O,3) && REF(C,4)<REF(O,4);{至少连续跌了四根阴线}SLY2:=HHV(C,6)/O>1.15;SLY3:=O<C;SLY:= SLY1 AND SLY2 AND SLY3 AND AJBB;{下跌后长下影线}XYXL1:=COUNT(C<=O,5)>2;{5日内阴线多于阳线}XYXL2:=HHV(C,6)/REF(L,1)>1.1;{昨天的收盘价相对前6天的最高价至少降了10%}XYXL3:=LLV(L,4)==L;{今天的最低价是5日内的最低价}XYXL4:=(MIN(C,O)-L)>5*(ABS(C-O));XYXL5:=IF((REF(C,1)<REF(O,1))&&(REF(C,2)>REF(O,2)),0,1);{不能前一天收阴线,再前一天收阳线}{COUNT(XYXL,30)>0;}XYXL:=XYXL1 AND XYXL2 AND XYXL3 AND XYXL4 AND XYXL5 AND AJBB;{--------------------------------------------------------------------------------------} {MACD形态选股}DIFF:=EMA(C,12)-EMA(C,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);{MACD0轴下二次金叉}MACDDATALEN:=BARSLAST(DEA>=0);MACDJCCOUNT:=COUNT(CROSS(DIFF,DEA),MACDDATALEN);MACDXYJC:=CROSS(DIFF,DEA) AND (DEA<0) AND (COUNT(MACDJCCOUNT=1,MACDDATALEN)=1);{MACD0轴下第一次金叉}MACDXJC1LEN:=BARSLAST(MACDXYJC);MACDX2CJC:=CROSS(DIFF,DEA) AND (DEA<0) AND (COUNT(MACDJCCOUNT=2,MACDDATALEN)=1); MACDX2JC:=MACDX2CJC AND (MACDXJC1LEN>5) AND (MACDXJC1LEN<30) AND (C>O);{要放量,时间间隔不能太短,也不能太长}{MACD0轴上一次金叉}MACDSJCH:=O<C;{当天收阳线}MACDDSATALEN1:=BARSLAST(DEA<0);MACDSJCCOUNT1:=COUNT(CROSS(DIFF,DEA),MACDDSATALEN1);MACDSECJC1:=CROSS(DIFF,DEA) AND (DEA>0) AND (COUNT(MACDSJCCOUNT1=1,MACDDSATALEN1)=1) AND MACDSJCH AND AJBB;{MACD绿柱子向0轴下长度递增,不超过5或6天又折返}MACDLZZTJ1:=MACD>REF(MACD,1) && REF(MACD,1)<REF(MACD,2) && REF(MACD,2)<REF(MACD,3) && REF(MACD,3)<REF(MACD,4) && REF(MACD,4)<0 && REF(MACD,5)>=0 && MACD<0;MACDLZZTJ2:=MACD>REF(MACD,1) && REF(MACD,1)<REF(MACD,2) && REF(MACD,2)<REF(MACD,3) &&REF(MACD,3)<REF(MACD,4) && REF(MACD,5)<REF(MACD,6) && REF(MACD,5)<0 && REF(MACD,6)>=0 && MACD<0;MACDLZZTJ3:=IF((COUNT(CROSS(DEA,DIFF),5)=0)&&DEA>0.5,0,1);{5日内不能发生高位死叉} MACDLZZ:=(MACDLZZTJ1 OR MACDLZZTJ2) AND (C>O) AND MACDLZZTJ3 AND AJBB;{高位死叉后30日内DEA不破0后又金叉}MACDYJCDAY:=BARSLAST(CROSS(DEA,DIFF));MACDYJC1:=(COUNT(CROSS(DEA,DIFF),15)=1)&&DEA>0.3;{30日内发生高位死叉}MACDYJC2:=MACDYJCDAY>5 && CROSS(DIFF,DEA);MACDYJC3:=COUNT(DEA<0,MACDYJCDAY)=0 ;MACDYJC:=MACDYJC1 AND MACDYJC2 AND MACDYJC3;{--------------------------------------------------------------------------------------} {根据成交量选股}MAV5:=MA(V,5);MAV35:=MA(V,35);MAV135:=MA(V,135);{连续两天成交量是35日均量的3倍以上}CJL_1:=V/MAV35>2&&C>O;CJL_2:=REF(V,1)/REF(MAV35,1)>2&&REF(C,1)>REF(O,1);CJL:=CJL_1&&CJL_2;{股价下跌获60日线支撑又上升}ZC60_1:=HHV(C,24)/O>1.15;{调整已经有15%了}ZC60_2:=C>MA60&&C>O;{今天股价在60日线之上,且收阳线}ZC60_3:=(ABS(LLV(L,3)-MA60)*100/MA60<2) OR ABS(LLV(O,3)-MA60)*100/MA60<2;{股价在60日线附近}ZC60_4:=REF(C,3)>MA60;{股价在60日线附近}ZC60:=ZC60_1 AND ZC60_2 AND ZC60_3 AND ZC60_4;SELECT:ZCZX OR CT OR YDCZ OR ZDCZ OR SLY OR XYXL OR MACDX2JC OR MACDSECJC1 OR MACDLZZ OR MACDYJC OR CJL OR ZC60;47.公式名称:250天内大涨过公式描述:20天涨50%参数:NULL日期:2011AA:=C/REF(C,20)>1.5;COUNT(AA,250)>0;48.公式名称:突破60日高点公式描述:股价收盘价高于60日内的最高点参数:NULL日期:2011AA:=H=HHV(H,60);BB:=LLV(V,5)=LLV(V,30);MAV5:=MA(V,5);CC:=V<MAV5 AND C=HHV(C,60){COUNT(AA,3)>0;}{(AA AND BB) OR CC;};AA;49.公式名称:TEST300CT公式描述:测试发生过刺透形态参数:NULL日期:2011MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);{MACD指标系统}DIF:=EMA(C,12)-EMA(C,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);{公用子模块}S5C10:=CROSS(MA5,MA10);S5C30:=CROSS(MA5,MA30);S5C60:=CROSS(MA5,MA60);S10C30:=CROSS(MA10,MA30);S10C60:=CROSS(MA10,MA60);S30C60:=CROSS(MA30,MA60);S60C30:=CROSS(MA60,MA30);S60C10:=CROSS(MA60,MA10);S60C5:=CROSS(MA60,MA5);S30C10:=CROSS(MA30,MA10);S30C5:=CROSS(MA30,MA5);S10C5:=CROSS(MA10,MA5);SIDY5:=COUNT(C<=O,5)>2;{5日内阴线多于阳线}S5DJ10:=REF(HHV(C,5),1)/REF(C,1)>1.1;{昨天的收盘价相对前5天的最高价至少降了10%}SDT5:=COUNT(REF(C,1)/C>1.097,5)>0;{五日之内不能有跌停}SCQX60:=(COUNT(C>MA60,60)=0) OR (COUNT(DIF>0,60)=0);{股价长期在60均线下不行,或MACD长期在0下}DTZD:=(O>MA30&&O>MA60&&C<MA30&&C<MA60) OR(O>MA5&&O>MA10&&O>MA30&&C<MA5&&C<MA10&&L<MA30);{断头铡刀}JXBH1:=COUNT(S60C30,15)>0;{20日内发生过60均线下穿30均线}JXBH2:=COUNT(S60C10,15)>0;JXBH3:=COUNT(S60C5,15)>0;JXBH4:=COUNT(S30C10,15)>0;JXBH5:=COUNT(S30C5,15)>0;JXBH6:=COUNT(S10C5,15)>0;JXBH7:=JXBH6&&JXBH5&&C<MA60;JXBH:=(JXBH1 AND JXBH2 AND JXBH3) OR (JXBH4 AND JXBH5 AND JXBH3) OR (JXBH3 AND JXBH5 AND JXBH6) ORJXBH7 OR DTZD OR SDT5 OR SCQX60;{均线变坏,要大跌}AJBB:=IF(JXBH,0,1);{均线变坏,不能操盘}{早晨之星}STAR1:= REF(C,2)<REF(O,2)&&MACD<0;{星线的前一天收阴线,MACD在0轴下}STAR2:=REF(O,1)<REF(C,2);{昨天低开}STAR3:=ABS(REF(O,1)-REF(C,1))/REF(C,1)<0.02;{昨天的实体尽量小,最好十字星}STAR4:=(C/REF(C,1)>1.02)&&(IF(O<REF(C,1),ABS(O-REF(C,1))/REF(C,1)<0.02,1));{今天实体不能太小,如果中午选股可适量调小,今天的开盘价不能比昨天星线收盘价低太多}STAR5:=REF(CLOSE,1)<REF(CLOSE,2);{昨天的收盘价小于前一天的收盘价,即中间有跳空}STAR6:=(O-L)/O<0.03 && O<C;{今天的阳线不能带太长的下影线}ZCZX:=STAR1 AND STAR2 AND STAR3 AND STAR4 AND STAR5 AND STAR6 AND SIDY5 AND S5DJ10 AND AJBB;{刺透形态}{阳线上传阴险实体50%,阳线上下影线小于实体的25%}CT1:=REF(C,1)<REF(O,1)&&REF(C,2)<REF(O,2)&&REF(C,3)<REF(O,3) &&(REF(O,1)-REF(C,1))/REF(O,1)>0.03;{昨天收阴线,阴线实体不能太小}CT2:=C>O && C>(REF(C,1)+REF(O,1))/2 && O<REF(C,1);{今天收阳线,低开,收盘价超过昨天实体一半}CT3:=(H-C)*100/(C-O)<25 && (O-L)*100/(C-O)<25;{上下影线不能超过实体的25%}CT6:=LLV(L,4)==L;{今天的最低价是5日内的最低价}CT7:=H<HHV(H,5);{今日收阳线的最高价不能高于5日内的最高价}CT8:=COUNT(H>MA10,20)>0;CT:=CT1 AND CT2 AND CT3 AND SIDY5 AND S5DJ10 AND CT6 AND CT7 AND CT8 AND AJBB;COUNT(CT,300)>0;50.公式名称:LXKPZT公式描述:连续开盘涨停的个股参数:NULL日期:2011TJ1:=O=C&&C/REF(C,1)>1.09;TJ2:=COUNT(TJ1,10)>3;SEL:COUNT(TJ2,200)>0;51.公式名称:3THSL>18公式描述:连续3天换手率大于18参数:NULL日期:2011HSL:=(VOL/CAPITAL*100);TJXG:=HSL>18 AND REF(HSL,1)>18 AND REF(HSL,2)>18 AND REF(HSL,3)<13 AND REF(HSL,4)<10;COUNT(TJXG,300)>0;52.公式名称:N天跌幅X公式描述:参数:X 1-50-30 N 1-10-7日期:2011AA:REF(C,N)>C AND (HHV(C,N)-C)/C*100>X;{COUNT(AA,300)>0;};53.公式名称:今天下影长公式描述:N倍参数:N 1-100-10日期:2011AA:(MIN(C,O)-L)>N*(ABS(C-O)) AND (MIN(C,O)-L)/C*100>3;54.公式名称:CTZX公式描述:刺透早星参数:NULL日期:2011MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);{MACD指标系统}DIF:=EMA(C,12)-EMA(C,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);{公用子模块}S5C10:=CROSS(MA5,MA10);S5C30:=CROSS(MA5,MA30);S5C60:=CROSS(MA5,MA60);S10C30:=CROSS(MA10,MA30);S10C60:=CROSS(MA10,MA60);S30C60:=CROSS(MA30,MA60);S60C30:=CROSS(MA60,MA30);S60C10:=CROSS(MA60,MA10);S60C5:=CROSS(MA60,MA5);S30C10:=CROSS(MA30,MA10);S30C5:=CROSS(MA30,MA5);S10C5:=CROSS(MA10,MA5);SIDY5:=COUNT(C<=O,5)>2;{5日内阴线多于阳线}S5DJ10:=REF(HHV(C,5),1)/REF(C,1)>1.1;{昨天的收盘价相对前5天的最高价至少降了10%}SDT5:=COUNT(REF(C,1)/C>1.097,5)>0;{五日之内不能有跌停}SCQX60:=(COUNT(C>MA60,30)=0) OR (COUNT(DIF>0,40)=0);{股价长期在60均线下不行,或MACD长期在0下}DTZD:=(O>MA30&&O>MA60&&C<MA30&&C<MA60) OR(O>MA5&&O>MA10&&O>MA30&&C<MA5&&C<MA10&&L<MA30);{断头铡刀}JXBH1:=COUNT(S60C30,15)>0;{20日内发生过60均线下穿30均线}JXBH2:=COUNT(S60C10,15)>0;JXBH3:=COUNT(S60C5,15)>0;JXBH4:=COUNT(S30C10,15)>0;JXBH5:=COUNT(S30C5,15)>0;JXBH6:=COUNT(S10C5,15)>0;JXBH7:=JXBH6&&JXBH5&&C<MA60;JXBH:=(JXBH1 AND JXBH2 AND JXBH3) OR (JXBH4 AND JXBH5 AND JXBH3) OR (JXBH3 AND JXBH5 AND JXBH6) ORJXBH7 OR DTZD OR SDT5 OR SCQX60;{均线变坏,要大跌}AJBB:=IF(JXBH,0,1);{均线变坏,不能操盘}{早晨之星}STAR1:= REF(C,2)<REF(O,2)&&MACD<0;{星线的前一天收阴线,MACD在0轴下}STAR2:=REF(O,1)<REF(C,2);{昨天低开}STAR3:=ABS(REF(O,1)-REF(C,1))/REF(C,1)<0.02;{昨天的实体尽量小,最好十字星}STAR4:=(C/REF(C,1)>1.02)&&(IF(O<REF(C,1),ABS(O-REF(C,1))/REF(C,1)<0.02,1));{今天实体不能太小,如果中午选股可适量调小,今天的开盘价不能比昨天星线收盘价低太多}STAR5:=REF(CLOSE,1)<REF(CLOSE,2);{昨天的收盘价小于前一天的收盘价,即中间有跳空}STAR6:=(O-L)/O<0.03 && O<C;{今天的阳线不能带太长的下影线}ZCZX:=STAR1 AND STAR2 AND STAR3 AND STAR4 AND STAR5 AND STAR6 AND SIDY5 AND S5DJ10 AND AJBB; {DRAWTEXT(ZCZX,L*0.97,'早'),COLORWHITE;DRAWTEXT(ZCZX,L*0.90,'星'),COLORWHITE;}{刺透形态}{阳线上传阴险实体50%,阳线上下影线小于实体的25%}CT1:=REF(C,1)<REF(O,1)&&REF(C,2)<REF(O,2)&&REF(C,3)<REF(O,3) &&(REF(O,1)-REF(C,1))/REF(O,1)>0.03;{昨天收阴线,阴线实体不能太小}CT2:=C>O && C>(REF(C,1)+REF(O,1))/2 && O<REF(C,1);{今天收阳线,低开,收盘价超过昨天实体一半}CT3:=(H-C)*100/(C-O)<25 && (O-L)*100/(C-O)<25;{上下影线不能超过实体的25%}CT6:=LLV(L,4)==L;{今天的最低价是5日内的最低价}CT7:=H<HHV(H,5);{今日收阳线的最高价不能高于5日内的最高价}CT8:=COUNT(H>MA10,20)>0;CT:=CT1 AND CT2 AND CT3 AND SIDY5 AND S5DJ10 AND CT6 AND CT7 AND CT8 AND AJBB; {DRAWTEXT(CT,L*0.97,'刺'),COLORWHITE;DRAWTEXT(CT,L*0.90,'透'),COLORWHITE;}{下跌后长下影线}XYXL3:=LLV(L,5)==L;{今天的最低价是5日内的最低价}XYXL4:=(MIN(C,O)-L)>5*(ABS(C-O));XYXL5:=IF((REF(C,1)<REF(O,1))&&(REF(C,2)>REF(O,2)),0,1);{不能前一天收阴线,再前一天收阳线}XYXL:=SIDY5 AND S5DJ10 AND XYXL3 AND XYXL4 AND XYXL5 AND AJBB;{DRAWTEXT(XYXL,L*0.97,'下'),COLORWHITE;DRAWTEXT(XYXL,L*0.93,'影'),COLORWHITE;DRAWTEXT(XYXL,L*0.89,'长'),COLORWHITE;}SELECT:ZCZX OR CT OR XYXL;55.公式名称:三金叉公式描述:5日金叉10日,KDJ金叉,MACD金叉参数:NULL日期:2011MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);{20101121}{MACD金叉,KDJ金叉,5日金叉10日}DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);SJC:=(CROSS(MA5,MA10) OR CROSS(MA10,MA30)) AND CROSS(DIFF,DEA) AND CROSS(K,D);AA:=COUNT(SJC,2)>0&&C<REF(C,1);COUNT(AA,300)>0;56.公式名称:5天一字涨停公式描述:发生过连续5天一字涨停参数:NULL日期:2011SEL:=C=O AND REF(C,1)=REF(O,1) AND REF(C,2)=REF(O,2) AND REF(C,3)=REF(O,3) AND REF(C,4)=REF(O,4) AND C>REF(C,1) AND REF(C,1)>REF(O,2);COUNT(SEL,500)>0;57.公式名称:TEST_ZTY公式描述:测试用,涨停后第二天3%左右振幅,后市如何参数:NULL日期:2011AA:=REF(C,1)/REF(C,2)>1.098 AND H/REF(C,1)<1.04 AND L/REF(C,1)>0.96 AND C<O AND C<REF(C,1) AND O>REF(C,1) AND O<H AND C>L;COUNT(AA,100)>0;58.公式名称:TEST底部选股公式描述:参数:NULL日期:2011VAR1:=1;VAR2:=1/WINNER(CLOSE);VAR3:=MA(CLOSE,13);VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);VAR5:=LLV(LOW,75);VAR6:=HHV(HIGH,75);VAR7:=(VAR6-VAR5)/100;VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1); VAR9:=SMA((OPEN-VAR5)/VAR7,20,1); VARA:=3*VAR8-2*SMA(VAR8,15,1); VARB:=3*VAR9-2*SMA(VAR9,15,1); VARC:=100-VARB;主力:=(100-VARA)*VAR1,COLOR0099FF; JK:=MAX(主力,100);底部选股:IF(JK>100,1,0);59.公式名称:连续N天收阴线公式描述:参数:NULL日期:2011AA:=C<O;COUNT(AA,N)=N;60.公式名称:公式描述:参数:NULL日期:201161.公式名称:公式描述:参数:NULL日期:201162.公式名称:公式描述:参数:NULL日期:201163.公式名称:公式描述:参数:NULL 日期:2011。

相关文档
最新文档