221个精选选股方法及公式表达技巧通达信指标公式源码.doc
精选的通达信选股指标公式大集合
简单的选股指标公式大集合这些选股公式对于一些突发奇想很有帮助, 至少对在下是这样! 以下内容于数月前复制于网络, 向原作者致敬!一、次日涨停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;二、黄转紫选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;紫柱:MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);三、低位金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;低位金叉:CROSS(DIFF,DEA) AND DIFF<-0.1;四、二次金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;五、绝地反弹(1) 、VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*100;VAR3:=EMA(IF(CLOSE*1.2,VAR2*13,VAR2/13),13);VAR4:=LLV(LOW,34);VAR5:=HHV(VAR3,34);VAR6:=IF(LLV(LOW,55),1,0);VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);启动:=IF(XL3,0,VAR7*3),COLORRED;XG:启动>25;(2) 、BACKSET( (REF(CL0SE,1)vREF(0PEN,1) ANDCLOSE>OPEN AND ABS(CL0SE-REF(CL0SE,1))/CL0SE<0.002),2);A2:=FILTER(A1<=V3,10);ND CAPITAL<300000000REF(V,1) = LLV(V,4) AND V >=REF(V,1)HHV(V,3)=REF(V,1) AND HHV(V,5)=REF(V,1) AND HHV(V,21)=REF(V,1)ANDV >=REF(V,1)01>0 AND T02>0;六.三线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CL0SE,10);M20:=MA(CL0SE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20));K2:=MIN(MIN(M5,M10),MIN(M10,M20));A:=MAX(M5,MAX(M10,M20))/MIN(M5,MIN(M10,M20))<1+0.03*M;A1:=(K1/K2-1)<0.005;A2:=(K1/K2-1)<0.005;A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:A AND A1 AND A2 AND A3 AND C>O ANDV> REF(V,1) AND CAPITAL<=300000000;2. 三条线粘合N1:=5;N2:=10;N3:=20;M:=1;MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);A3:=V>REF(V,1)*1.5 AND V>MA(V,5);MAX(MA1,MAX(MA2,MA3))/MIN(MA1,MIN(MA2,MA3))<1+0.01*MAND C>O ANDV> REF(V,1) AND FINANCE(7)<=300000000AND A3 AND CAPITAL<=300000000;3. 均线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CL0SE,10);M20:=MA(CL0SE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20));K2:=MIN(MIN(M5,M10),MIN(M10,M20));A:=MAX(M5,MAX(M10,M20))/MIN(M5,MIN(M10,M20))<1+0.01*M;A1:=(K1/K2-1)<0.005;A2:=(K1/K2-1)<0.005;A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:A AND A1 AND A2 ANDA3 ;七.金叉选股指标快线:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);慢线:=EMA(REF(快线,1),2);A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:CROSS快线,慢线)AND C>O ANDV>=MA(V,21) AND V> REF(V,1) AND CAPITAL<=300000000 ;八.角度MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:CR0SS(MA5,MA10) AND CR0SS(MA10,MA20) ANDCROSS(MA5,MA20)IF(角度MA3>45 AND角度MA5>40 AND角度MA10>10AND 角度MA20>20 AND MA(C,135)>REF(MA(C,135),1),1,0),C0L0R00FF00九1.聚宝盆DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE ,L ONG);DEA:=EMA(DIFF,M);MACD2:=2*(DIFF-DEA);HHV(MACD2,4)<0 AND MACD2>REF(MACD2,1) AND REF(MACD2,1)<REF(MACD2,2) AND REF(MACD2,2)<REF (MACD2,3);2. 强势股{SJXXG四均线选股}MA3:=MA(C,3);MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:=MA(C,3)>REF(MA(C,3),1) AND MA(C,5)>REF(MA(C,5),1) AND C>MA(C,3)AND MA(C,3)>MA(C,5) ; { 均线C,MA3,MA5多头排列并向上;}角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/3.1416;角度MA10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;选股MA20:IF(角度MA3>45 AND 角度MA5>45 AND 角度MA10>60 AND 角度MA20>45 ANDMA(C,250)>REF(MA(C,250),1),1,0),C0L0R00FF00;{设计思路:1.3日均线角度大于45度;2:5日均线角度大于45度;3:10日均线角度大于60度;4.20日均线角度大于45度;5.MA250 向上;};3。
精选的通达信选股指标公式大集合
简单的选股指标公式大集合这些选股公式对于一些突发奇想很有帮助,至少对在下是这样!以下内容于数月前复制于网络,向原作者致敬!一、次日涨停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;二、黄转紫选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;紫柱:MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);三、低位金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;低位金叉:CROSS(DIFF,DEA) AND DIFF<-0.1;四、二次金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;五、绝地反弹(1)、VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*100; VAR3:=EMA(IF(CLOSE*1.2,VAR2*13,VAR2/13),13);VAR4:=LLV(LOW,34);VAR5:=HHV(VAR3,34);VAR6:=IF(LLV(LOW,55),1,0);VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);启动:=IF(XL3,0,VAR7*3),COLORRED;XG:启动>25;(2)、BACKSET( (REF(CLOSE,1)<REF(OPEN,1) ANDCLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002),2);A2:=FILTER(A1<=V3,10);ND CAPITAL<300000000REF(V,1)= LLV(V,4) AND V >=REF(V,1)HHV(V,3)=REF(V,1) AND HHV(V,5)=REF(V,1) AND HHV(V,21)=REF(V,1)AND V >=REF(V,1)01>0 AND T02>0;六.三线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M20:=MA(CLOSE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20));K2:=MIN(MIN(M5,M10),MIN(M10,M20));A:=MAX(M5,MAX(M10,M20))/MIN(M5,MIN(M10,M20))<1+0.03*M;A1:=(K1/K2-1)<0.005;A2:=(K1/K2-1)<0.005;A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:A AND A1 AND A2 AND A3AND C>O AND V> REF(V,1)AND CAPITAL<=300000000;2.三条线粘合N1:=5;N2:=10;N3:=20;M:=1;MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);A3:=V>REF(V,1)*1.5 AND V>MA(V,5);MAX(MA1,MAX(MA2,MA3))/MIN(MA1,MIN(MA2,MA3))<1+0.01*MAND C>O AND V> REF(V,1)AND FINANCE(7)<=300000000AND A3 AND CAPITAL<=300000000;3.均线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M20:=MA(CLOSE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20));K2:=MIN(MIN(M5,M10),MIN(M10,M20));A:=MAX(M5,MAX(M10,M20))/MIN(M5,MIN(M10,M20))<1+0.01*M;A1:=(K1/K2-1)<0.005;A2:=(K1/K2-1)<0.005;A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:A AND A1 AND A2AND A3 ;七.金叉选股指标快线:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);慢线:=EMA(REF(快线,1),2);A3:=V>REF(V,1)*1.5 AND V>MA(V,5);XG:CROSS(快线,慢线) AND C>O ANDV>=MA(V,21) AND V> REF(V,1) AND CAPITAL<=300000000 ;八.角度MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:CROSS(MA5,MA10) AND CROSS(MA10,MA20) ANDCROSS(MA5,MA20);IF(角度MA3>45 AND 角度MA5>40 AND 角度MA10>10AND 角度MA20>20 AND MA(C,135)>REF(MA(C,135),1),1,0),COLOR00FF00九1.聚宝盆DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:=EMA(DIFF,M);MACD2:=2*(DIFF-DEA);HHV(MACD2,4)<0 AND MACD2>REF(MACD2,1) AND REF(MACD2,1)<REF(MACD2,2) AND REF(MACD2,2)<REF(MACD2,3);2.强势股{SJXXG四均线选股}MA3:=MA(C,3);MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:=MA(C,3)>REF(MA(C,3),1) AND MA(C,5)>REF(MA(C,5),1) AND C>MA(C,3)AND MA(C,3)>MA(C,5) ; {均线C,MA3,MA5多头排列并向上;}角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/3.1416;角度MA10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416;选股MA20:IF(角度MA3>45 AND 角度MA5>45 AND 角度MA10>60 AND 角度MA20>45 AND MA(C,250)>REF(MA(C,250),1),1,0),COLOR00FF00;{设计思路:1.3日均线角度大于45度;2:5日均线角度大于45度;3:10日均线角度大于60度;4.20日均线角度大于45度;5.MA250向上;};3。
通达信选股公式
条件选股公式源码:年认同价:=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;老鼠仓是个很不错的指标,信号发出一般都在一个波段的底部起涨之时。
通达信成功率高的选股指标公式
通达信成功率高的选股指标公式代码集{逆势买入}Var1b:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2b:=DMA(CLOSE,VOL/MA(VOL,32)/32);Var3b:=(CLOSE-Var1b)/Var1b*100<-8;Var4b:=(Var1b-Var2b)/Var2b*100<-21;逆势买入:if(V ar3b AND Var4b AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05,45,0),stick,linethick3,col orf00ff0;drawtext(逆势买入,40,'逆势买入'),colorf0f000;============================{龙战四海:99%成功率,选股条件:龙战四海=65}Var1c:=REF(OPEN,1)<REF(OPEN,2);Var2c:=REF(CLOSE,1)<REF(CLOSE,2);Var3c:=REF(LOW,1)<REF(LOW,2);Var4c:=OPEN>REF(CLOSE,1) AND OPEN/REF(CLOSE,1)>=1.03; Var5c:=CLOSE>OPEN AND CLOSE/OPEN>1.03;Var6c:=Var1c AND Var2c AND Var3c AND Var4c AND Var5c;Var7c:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);Var8c:=REF(CLOSE,1);Var9c:=SMA(MAX(CLOSE-Var8c,0),5,1)/SMA(ABS(CLOSE-Var8c),5, 1)*100;VarA:=COUNT(Var9c<20,20)>=1;VarB:=Var7c AND VarA;龙战四海:if(VarB AND Var6c,65,0),colorf0f000;drawtext(龙战四海,55,'龙战四海'),colorf00ff0;{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。
通达信经典实用选股公式(125个常用公式源码)
通达信经典实用选股公式(125个常用公式源码)通达信经典实用选股公式(125个常用公式源码)1.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,选股:EXPMA 5日与10日金叉并且第二天的收盘价在EXPMA的5日线以上.cross(ref(ema(c,5),1),ref(ema(c,10),1)) and 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<-6 and cross(k,d) and d<16;7,要求是量大、换手率达到3左右,涨幅>7个点。
xg:v/capital*100>3 and (c/ref(c,1)>1.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100;9,"阴转阳"的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,1)o;10,股价回抽20日均线选股公式xg:ref(c,1)>ma(c,20) and cross(ma(c,20),c);11,一根大阳线,至少有5个点以上,再连着出现二根振幅不大于5的十字星或是小K线xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((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倍。
通达信指标公式源码 阳包阴副图选股指标
A1:=(REF(C,2)-REF(C,1))/REF(C,2)*100>3;A2:= REF(C,0) > REF(O,1) ;A3:= REF(C,0) > REF(C,1) ;A4:= REF(H,0) > REF(H,1) ;A5:= (C-REF(C,1))/REF(C,1)*100>3;阳包阴1:= A1 AND A2 AND A3 AND A4 AND A5;B1:=(REF(C,2)-REF(C,1))/REF(C,2)*100>4;B2:= REF(C,0) > REF(O,1) ;B3:= REF(C,0) > REF(C,1) ;B4:= REF(H,0) > REF(H,1) ;B5:= (C-REF(C,1))/REF(C,1)*100>5;B6:=V-REF(V,1)<0;B7:=REF(V,2)-REF(V,1)>0;B8:=(H-L)/REF(C,1)*100>5;缩量阳包阴2:= B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8; C1:=(REF(C,2)-REF(C,1))/REF(C,2)*100>3;{好}C2:= REF(O,0)<REF(L,1);C3:= REF(C,0) > REF(O,1) ;C4:= REF(C,0) > REF(C,1) ;C5:= REF(H,0) > REF(H,1) ;下跳空阳包阴3:= C1 AND C2 AND C3 AND C4 AND C5;D1:=(REF(C,3)-REF(C,2))/REF(C,3)*100>5;D2:= REF(C,1) >= REF(O,1) AND REF(C,1)< REF(O,2);D3:= REF(C,0) > REF(O,0) AND REF(C,0)>REF(C,3);两阳接力包大阴4:(D1 AND D2 AND D3)*100;E1:= REF(C,2) < REF(O,2) AND REF(C,1) <= REF(O,1);E2:=(REF(C,3)-REF(C,1))/ REF(C,3)*100>5;E3:= REF(C,0) > REF(O,0) AND REF(C,0)>REF(C,3);E4:= REF(C,3) > REF(O,3);大阳包二阴5:( E1 AND E2 AND E3 AND E4)*100;阳包阴:(阳包阴1 OR 缩量阳包阴2 OR 下跳空阳包阴3 OR 两阳接力包大阴4 OR 大阳包二阴5)*100,COLOR00FF00,LINETHICK2;DRAWTEXT(阳包阴,80,'★买'),COLOR00FF00;DRAWTEXT(阳包阴,10,'阳包阴'),COLOR00FF00;。
通达信选股公式(庄家专用不外传)
通达信选股公式(庄家专用不外传)本文介绍了三种股票选股公式和策略,包括MACD、KDJ、RSI底背离、老鼠仓和抄底高手。
MACD、KDJ、RSI底背离公式如下: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 ANDREF("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.R SI2"(6,12,24)),1));B3:=REF(C,A3+1)>C ANDREF("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.老鼠仓公式如下:AA1:=AMOUNT/VOL;BB1:=L< AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100.1.2;DD1:=L< MA(C,5)*0.921;EE1:=VOL< MA(V,5)*1.5;老鼠仓条件为BB1 AND CC1 AND DD1 AND EE1.抄底高手公式如下:VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;VAR3:=VAR1 AND VAR2;VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND DATE> AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN<CLOSE);其中M、N、D为参数,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);CROSS(趋势线,10) AND 趋势线>=REF(MA(趋势线,10),1);妖股特征选股公式AA:=WINNER(C*0.8)>=0.3;SC:FILTER(AA,21);安心底部选股公式AA:=LLV(C,10)<REF(HHV(H,60),1)*0.6;BB:=CROSS(C,MA(C,20));CC:=WINNER(C)<=0.1;安心底:AA AND BB AND CC;红柱买选股公式RSV13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K13:=SMA(RSV13,3,1);D13:=SMA(K13,3,1);J13:=3*K13-2*D13,COLORFF99FF,LINETHICK3;RSV113:=(CLOSE-LLV(LOW,113))/(HHV(HIGH,113)-LLV(LOW,113))*100;K113:=SMA(RSV113,13,1);D113:=SMA(K113,3,1);J113:=3*K113-2*D113,COLOR4080FF,LINETHICK3;RSV27:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;K27:=SMA(RSV27,3,1);D27:=SMA(K27,3,1);J27:=3*K27-2*D27,COLOR00FFFF,LINETHICK3;RSV89:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;K89:=SMA(RSV89,13,1);D89:=SMA(K89,3,1);J89:=3*K89-2*D89,COLORFFFF00,LINETHICK3;RSV5:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;K5:=SMA(RSV5,3,1);D5:=SMA(K5,3,1);J5:=3*K5-2*D5,COLORFFFFFF,LINETHICK1;中轨 :=MA(CLOSE,26),COLORRED,LINETHICK1;上上轨:=中轨+ 2.2*STD(CLOSE,26),COLORFFFFFF,LINETHICK3;下下轨:=中轨- 2.2*STD(CLOSE,26),COLOR00FF00,LINETHICK3;AA:=J89>50 AND J89<90 AND J89>REF(J89,1) AND J27>REF(J27,1) ANDJ27<90 AND J13>REF(J13,1) AND J13<90 AND J5>REF(J5,1) AND J5<90AND 中轨>REF(中轨,1) AND 上上轨>REF(上上轨,1) AND 下下轨<REF(下下轨,1);BB:=C>O AND V>REF(V,1)*1.3;XG:IF(AA,1,0);神经过敏选股公式现价线:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),COLORFF00FF,LINETHICK2;确认线:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3.2,1),COLORGREEN,LINETHICK2;短底:=12,COLORBLUE,LINETHICK2;穿越线:=CROSS(现价线,短底);预警线:=IF(现价线<=10,30,0),COLORFFCC00,LINETHICK1;XG:=FINANCE(7)<500000000;预提:=IF(CROSS(现价线,短底),50,0),COLORRED,LINETHICK2;预提 AND XG;反转骑牛选股公式EE:=REF(C,1)<REF(C,2) AND C>=O*1.035 AND (REF(H,2)=REF(HHV(H,40),1) OR REF(H,3)=REF(HHV(H,40),1) OR REF(H,4)=REF(HHV(H,40),1) OR REF(H,5)=REF(HHV(H,40),1) OR REF(C,2)=REF(HHV(C,40),1) OR REF(C,3)=REF(HHV(C,40),1) OR REF(C,4)=REF(HHV(C,40),1) OR REF(C,5)=REF(HHV(C,40),1)) AND REF(C,1)+(REF(C,1)*0.1)>=REF(HHV(C,40),1) AND REF(O,1)-REF(C,1)>REF(C,2)*0.01;VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,V*240/FROMOPEN,DRAWNULL);CC:=VVOL>REF(VOL,1) OR VOL>REF(VOL,1);MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA60:=MA(C,60);FF:=MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND MA30>MA60;GG:=REF(V,1)<REF(MA(V,20),1) OR REF(V,2)<REF(MA(V,20),2) OR REF(V,3)<REF(MA(V,20),3) OR REF(V,1)<REF(MA(V,10),1) ORREF(V,2)<REF(MA(V,10),2) OR REF(V,3)<REF(MA(V,10),3);MA5斜率:=ATAN((MA5/REF(MA5,1)-1)*100)*57.3>45;EE AND CC AND FF;试底选股公式MA1:=EMA(CLOSE,12);MA2:=EMA(CLOSE,50);CC:=CROSS(MA1,MA2);BB:=BARSLAST(CC);CC1:=CROSS(MA1,L) AND C>MA1 AND BB AND MA1>MA2 AND MA2>REF(MA2,1);CC2:=CROSS(MA2,L) AND C>MA2 AND BB AND MA1>MA2 AND MA2>REF(MA2,1);选股:CC OR CC1 OR CC2;OBV过前平台副图指标M:=30;N:=10;VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MA130:=MA(OBV,M);DRAWBAND(MA130,RGB(0,0,80),OBV1,RGB(160,0,000));A1:=REF(OBV1,N)=HHV(OBV1,2*N+1);B1:=FILTER(A1,N);C1:=BACKSET(B1,N+1);D1:=FILTER(C1,N);T线:REF(OBV,BARSLAST(D1)),COLORFF00FF,NODRAW;STICKLINE(C>0,T线,T线,6,0),COLORFF6600;DRAWICON(CROSS(OBV,T线),T线*0.99,1);OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MA30:MA(OBV,M);XA_2:=1;OBV过平台:PLOYLINE(1,CONST(OBV))*XA_2,COLOR008888; 阿哲买卖副图指标公式换手:VOL/CAPITAL*100,COLORLIBLUE,NODRAW;VAR1:=(4*CLOSE+HIGH+LOW)/4;VAR2:=EMA(EMA(EMA(VAR1,7),7),7);J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;K:=MA(J,1);D:=MA(J,3)+0.03;Y:=0;中:60;DRAWICON(换手>16,K*3,10);{次日买入}N:=5;M:=10;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;KK:=SMA(RSV,5,1);DD:=SMA(KK,M,1);JK:=3*K-2*DD;VAR3:=(RSV/2+22)*1;量:=EMA(VOL,13);资金:=EMA(AMOUNT,13);均价:=资金/量/100;渣:=(CLOSE-均价)/均价*100;金:=渣<0 AND ZXNH,COLORRED;烂铁:=渣>0 AND ZXNH,COLORRED;低买:IF(金 AND RSV<VAR3-2,25,0),COLORRED,LINETHICK2;高卖:IF(烂铁AND RSV>VAR3,95,120),COLORGREEN,LINETHICK1;DRAWTEXT(CROSS(低买,20),5+REF(C,1),'←买')COLORLIRED;DRAWTEXT(CROSS(高卖,100),110-REF(C,1),'←卖')COLOR38C838;。
精选的通达信选股指标公式大集合
精选的通达信选股指标公式大集合-CAL-FENGHAI.-(YICAI)-Company One1简单的选股指标公式大集合这些选股公式对于一些突发奇想很有帮助,至少对在下是这样!以下内容于数月前复制于网络,向原作者致敬!一、次日涨停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;二、黄转紫选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;紫柱:MACD<0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2);三、低位金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;低位金叉:CROSS(DIFF,DEA) AND DIFF<;四、二次金叉选股DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9);MACD:=(DIFF-DEA)*2;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1; 五、绝地反弹(1)、VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*100; VAR3:=EMA(IF(CLOSE*,VAR2*13,VAR2/13),13);VAR4:=LLV(LOW,34);VAR5:=HHV(VAR3,34);VAR6:=IF(LLV(LOW,55),1,0);VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;XL1:=MA(LOW,2)*;XL2:=MA(LOW,26)*;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);启动:=IF(XL3,0,VAR7*3),COLORRED;XG:启动>25;(2)、BACKSET( (REF(CLOSE,1)<REF(OPEN,1) ANDCLOSE>OPEN AND ABS(CLOSE-REF(CLOSE,1))/CLOSE<,2);A2:=FILTER(A1<=V3,10);ND CAPITAL<0REF(V,1) = LLV(V,4) AND V >=REF(V,1)HHV(V,3)=REF(V,1) AND HHV(V,5)=REF(V,1) AND HHV(V,21)=REF(V,1)AND V >=REF(V,1)01>0 AND T02>0;六.三线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M20:=MA(CLOSE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20));K2:=MIN(MIN(M5,M10),MIN(M10,M20));A:=MAX(M5,MAX(M10,M20))/MIN(M5,MIN(M10,M20))<1+*M;A1:=(K1/K2-1)<;A2:=(K1/K2-1)<;A3:=V>REF(V,1)* AND V>MA(V,5);XG:A AND A1 AND A2 AND A3 AND C>O AND V> REF(V,1) AND CAPITAL<=0;2.三条线粘合N1:=5;N2:=10;N3:=20;M:=1;MA1:=MA(C,N1);MA2:=MA(C,N2);MA3:=MA(C,N3);A3:=V>REF(V,1)* AND V>MA(V,5);MAX(MA1,MAX(MA2,MA3))/MIN(MA1,MIN(MA2,MA3))<1+*MAND C>O AND V> REF(V,1) AND FINANCE(7)<=0AND A3 AND CAPITAL<=0;3.均线粘合M:=1;M5:=MA(CLOSE,5);M10:=MA(CLOSE,10);M20:=MA(CLOSE,20);K1:=MAX(MAX(M5,M10),MAX(M10,M20));K2:=MIN(MIN(M5,M10),MIN(M10,M20));A:=MAX(M5,MAX(M10,M20))/MIN(M5,MIN(M10,M20))<1+*M;A1:=(K1/K2-1)<;A2:=(K1/K2-1)<;A3:=V>REF(V,1)* AND V>MA(V,5);XG:A AND A1 AND A2 AND A3 ;七. 金叉选股指标快线:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2);慢线:=EMA(REF(快线,1),2);A3:=V>REF(V,1)* AND V>MA(V,5);XG:CROSS(快线,慢线) AND C>O ANDV>=MA(V,21) AND V> REF(V,1) AND CAPITAL<=0 ;八.角度MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:CROSS(MA5,MA10) AND CROSS(MA10,MA20) ANDCROSS(MA5,MA20) ;IF(角度MA3>45 AND 角度MA5>40 AND 角度MA10>10AND 角度MA20>20 AND MA(C,135)>REF(MA(C,135),1),1,0),COLOR00FF00九1.聚宝盆DIFF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);DEA:=EMA(DIFF,M);MACD2:=2*(DIFF-DEA);HHV(MACD2,4)<0 AND MACD2>REF(MACD2,1) AND REF(MACD2,1)<REF(MACD2,2) AND REF(MACD2,2)<REF (MACD2,3);2.强势股{SJXXG四均线选股}MA3:=MA(C,3);MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);V0:=MA(C,3)>REF(MA(C,3),1) AND MA(C,5)>REF(MA(C,5),1) AND C>MA(C,3)AND MA(C,3)>MA(C,5) ; {均线C,MA3,MA5多头排列并向上;}角度MA3:=ATAN((MA3/REF(MA3,1)-1)*100)*180/;角度MA5:=ATAN((MA5/REF(MA5,1)-1)*100)*180/;角度MA10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/;角度MA20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/;选股MA20:IF(角度MA3>45 AND 角度MA5>45 AND 角度MA10>60 AND 角度MA20>45 AND MA(C,250)>REF(MA(C,250),1),1,0),COLOR00FF00;{设计思路:日均线角度大于45度;2:5日均线角度大于45度;3:10日均线角度大于60度;日均线角度大于45度;向上;};3。
各种选股公式(通达信)
各种选股公式(通达信)股票公式不明白请查阅:股票公式文件使用以及说明!各种选股公式(通达信)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这个时间短内价格有可能超过开盘价,如果形成十字星,则股票还有继续调整的可能,上锤头一般是调整结束的标志。
通达信精准选的公式
通达信精准选的公式通达信精准选股公式需要根据个人投资理念和风险偏好进行定制,下面是一些常见的通达信选股公式供您参考:1. 多方炮选股公式:TJ1:=COANDC=H;TJ2:=VOLTJ4:=EVERY(MAX(C,O)MA(C,7),3)ANDCAPITAL;TJ3:=COANDC=H;XG:TJ1ANDREF(TJ2,1)ANDREF(TJ3,2)ANDTJ4。
2. 向上跳空缺口三天不回补选股公式:XSTK:=LOWREF(HIGH,1);TT1:=BARSLAST(XSTK)+1;HH:=REF(HIGH,TT1);不回补:=TT1=3ANDCOUNT(XSTK,TT1)=1ANDLOWHHANDLOW=(EXIST(CROSS(HH,LOW),TT1));COUNT(LOWREF(HIGH,1),3)0AND不回补。
3. 超级牛魔选股公式: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(CLOSEVOL100,4)/SUM(VOL100,4);VARB:=INTPART(VARA100)/100;VARC:=SUM(CLOSEVOL100,7)/SUM(VOL100,7);VARD:=INTPART(VARC100)/100。
需要注意的是,这些公式仅供参考,并不能保证选出的股票一定符合预期。
在实际操作中,还需要结合市场走势、基本面分析和技术分析等多个因素进行综合考虑。
同时,也需要注意风险控制,合理配置资产,避免过度交易带来的风险。
通达信指标公式源码通达信无敌平台突破选股公式
通达信无敌平台突破选股公式W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));W5:=W4 AND COUNT(W4,5);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)*10 0;CC:=EMA(VAR5,3);均5:=MA(CLOSE,5), COLORYELLOW;均10:=MA(CLOSE,10), COLORF00FF0;均30:=MA(CLOSE,30), COLOR00FF00;均60:=MA(CLOSE, 60), COLORRED;均250:= MA(CLOSE, 250), COLORBLUE ;上轨:=均30 + 2*STD(CLOSE,30), COLORYELLOW ;下轨:=均30 - 2*STD(CLOSE,30), COLORYELLOW ;VV2:=REF(CLOSE,1);VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100;VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100; VAR11:=(HIGH+LOW+OPEN+2*CLOSE)/5;VAR22:=REF(VAR11,1);VAR33:=SMA(MAX(VAR11-VAR22,0),10,1)/SMA(ABS(VAR11-VAR22),10,1)*100;HY3:=IF(COUNT(VAR33<20,5)>=1 AND COUNT(VAR11=LLV(VAR11,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);S:=MA(VOL,5)/MA(VOL,60),COLORRED,,LINETHICK2;A:=MA(S,5),COLORGREEN,,LINETHICK2;BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;F:=MA(S,121);RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;K:=SMA(RSV,15,1);D:=SMA(K,15,1);J:=3*K-2*D;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;S1:=IF((J<11 AND BIAS>-11 AND CROSS( S,F) AND (S-F)>0.010),2,0);HJC:=( CROSS(CC,BB)AND CC>=REF(CC,1) AND BB<=REF(BB,3)AND CC>=49.5 AND MA(C,3)>=REF(MA(C,3),1)AND MA(C,7)>=REF(MA(C,7),1) ANDMA(C,60)>REF(MA(C,60),3)) OR S1,COLORRED;BHG:HJC>0 OR REF(HJC,1)>0 OR REF(HJC,2)>0 OR REF(HJC,3)>0 OR REF(HJC,4)>0 OR REF(HJC,5)>0 OR REF(HJC,6)>0 OR REF(HJC,7)>0 OR REF(HJC,8)>0 OR REF(HJC,9)>0 OR REF(HJC,10)>0 AND W5;。
通达信精准选股公式
通达信精准选股公式:条件选股公式源码:年认同价:=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;老鼠仓是个很不错的指标,信号发出一般都在一个波段的底部起涨之时。
221个精选选股方法及公式表达技巧通达信指标公式源码.doc
221个精选选股方法及公式表达技巧通达信指标公式源码.doc众多的选股技巧和思路,开拓你的选股思路通达信221个选股小技巧标签:通达信股道探路者选股技巧股票分类:选股221个选股小技巧股票软件源码如下:1,30个交易日内,股价跌幅达到一半的股票:xg:(hhv(c,30)-c)/hhv(c z30)>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);< p="">5,选股:EXPM A 5日与10日金叉并且第二天的收盘价在EXPMA 的5日线以上. cross(ref(ema(c z5),l),ref(ema(c,10),1)) and c>ema(c z5);6,请编买入公式:1.将BIAS指标的参数设置为24 R,将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,colorffOOff;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<-6 and cross(k,d) and d<16;7,要求是量大、换手率达到3左右,涨幅>7个点。
xg:v/capital*100>3 and (c/ref(c,l)>1.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100;9,”阴转阳”的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,l)o;10,股价回抽20日均线选股公式xg:ref(c,l)>ma(c z20) and cross(ma(c,20),c);11,一根大阳线,至少有5个点以上,再连着出现二根振幅不大于5的十字星或是小K线xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2;12,行情信息里的''涨幅〃的原码(c-ref(c,l))/c*100;13,kdj的J从上向下穿越0轴发出信号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 Z COLORFFOOFF;xg:cross(0,j);14,股价4天中有两天在10日线上count(c>ma(c,10)z4)=2;15,选出10天内出现了涨停的个股count(c/ref(c z l)>l.l,10)>0;又:今涨停:=C/REF(C,l)>1.09;选股:count(今涨停小);16,—阳上穿10, 20, 30日线,量能是前一天3倍。
通达信指标公式源码长下影的选股公式
长下影的选股公式(无未来,选股)一个用长下影选股的公式。
一个是长下影1,这个是收长下影当天出信号的。
还有一个是长下影2,这个是加了个条件,第二天出信号的{长下影1}{收长下影当天出信号}XG1:=(L=LLV(L,30) AND (O-L)>=(C-O)*1.2 AND COUNT((C<=O),5)>=2 AND C>O AND (L-REF(C,1))/REF(C,1)<=-0.02);XG:XG1;{长下影2} {长下影第二天出信号}ST:=(NAMELIKE('S') OR NAMELIKE('*S'))=0;{剔除ST}XG1:=(L=LLV(L,30) AND (O-L)>=(C-O)*1.2 AND COUNT((C<=O),5)>=2 AND C>O AND (L-REF(C,1))/REF(C,1)<=-0.02);XG2:=COUNT(XG1,2)=1;{成交量}TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60, IF(PERIOD=5,240,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);预测:=IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL);成交量1:=预测>=REF(V,1) OR V>=REF(V,1);XG3:XG2 AND L>=REF(O,1) AND ST AND 成交量1;{第二天开盘后选的};。
精选的通达信选股指标公式大集合
简单的选股指标公式大集合这些选股公式对于一些突发奇想很有帮助,至少对在下是这样以下内容于数月前复制于网络,向原作者致敬一、次日涨停W1:=C=HHVC,20;W2:=BARSLASTW1;W3:=IFW2>0,REFC,W2,REFC,W2;W4:=CROSSC,REFW3,1;W4 AND COUNTW4,5=1;二、黄转紫选股DIFF:=EMADCLOSE,12-EMADCLOSE,26;DEA:=EMADIFF,9;MACD:=DIFF-DEA2;紫柱:MACD<0 AND MACD>REFMACD,1 AND REFMACD,1<REFMACD,2;三、低位金叉选股DIFF:=EMADCLOSE,12-EMADCLOSE,26;DEA:=EMADIFF,9;MACD:=DIFF-DEA2;低位金叉:CROSSDIFF,DEA AND DIFF<;四、二次金叉选股DIFF:=EMADCLOSE,12-EMADCLOSE,26;DEA:=EMADIFF,9;MACD:=DIFF-DEA2;JCCOUNT:=COUNTCROSSDIFF,DEA,BARSLASTDEA>=0;二次金叉:CROSSDIFF,DEA AND DEA<0 AND COUNTJCCOUNT=2,21=1;五、绝地反弹1 、VAR1:=REFLOW,1;VAR2:=SMAABSLOW-VAR1,13,1/SMAMAXLOW-VAR1,0,13,1100;VAR3:=EMAIFCLOSE,VAR213,VAR2/13,13;VAR4:=LLVLOW,34;VAR5:=HHVVAR3,34;VAR6:=IFLLVLOW,55,1,0;VAR7:=EMAIFLOW<=VAR4,VAR3+VAR52/2,0,3/618VAR6;XL1:=MALOW,2;XL2:=MALOW,26;XL3:=REFXL1,1<XL2 AND REFXL1,1<XL1 AND REFXL1,1<REFXL1,2;启动:=IFXL3,0,VAR73,COLORRED;XG:启动>25;2、= LLVV,4 ANDV >=REFV,1HHVV,3=REFV,1 AND HHVV,5=REFV,1 AND HHVV,21=REFV,1 ANDV >=REFV,101>0 AND T02>0;六.三线粘合M:=1;M5:=MACLOSE,5;M10:=MACLOSE,10;M20:=MACLOSE,20;K1:=MAXMAXM5,M10,MAXM10,M20;K2:=MINMINM5,M10,MINM10,M20;A:=MAXM5,MAXM10,M20/MINM5,MINM10,M20<1+M;A1:=K1/K2-1<;A2:=K1/K2-1<;A3:=V>REFV,1 AND V>MAV,5;XG:A AND A1 AND A2 AND A3AND C>O ANDV> REFV,12.三条线粘合N1:=5;N2:=10;N3:=20;M:=1;MA1:=MAC,N1;MA2:=MAC,N2;MA3:=MAC,N3;A3:=V>REFV,1 AND V>MAV,5;MAXMA1,MAXMA2,MA3/MINMA1,MINMA2,MA3<1+MAND C>O ANDV> REFV,13.均线粘合M:=1;M5:=MACLOSE,5;M10:=MACLOSE,10;M20:=MACLOSE,20;K1:=MAXMAXM5,M10,MAXM10,M20;K2:=MINMINM5,M10,MINM10,M20;A:=MAXM5,MAXM10,M20/MINM5,MINM10,M20<1+M;A1:=K1/K2-1<;A2:=K1/K2-1<;A3:=V>REFV,1 AND V>MAV,5;XG:A AND A1 AND A2ANDA3 ;七.金叉选股指标快线:=EMAEMAEMAEMACLOSE,2,2,2,2;慢线:=EMAREF快线,1,2;A3:=V>REFV,1 AND V>MAV,5;XG:CROSS快线,慢线AND C>O ANDV>=MAV,21 ANDV> REFV,1八.角度MA5:=MAC,5;MA10:=MAC,10;MA20:=MAC,20;V0:CROSSMA5,MA10 AND CROSSMA10,MA20 ANDCROSSMA5,MA20;IF角度MA3>45 AND 角度MA5>40 AND 角度MA10>10AND 角度MA20>20 AND MAC,135>REFMAC,135,1,1,0,COLOR00FF00九1.聚宝盆DIFF:=EMACLOSE,SHORT-EMACLOSE,LONG;DEA:=EMADIFF,M;MACD2:=2DIFF-DEA;HHVMACD2,4<0 AND MACD2>REFMACD2,1 AND REFMACD2,1<REFMACD2,2 AND REFMACD2,2<REF MACD2,3;2.强势股{SJXXG四均线选股}MA3:=MAC,3;MA5:=MAC,5;MA10:=MAC,10;MA20:=MAC,20;V0:=MAC,3>REFMAC,3,1 AND MAC,5>REFMAC,5,1 AND C>MAC,3AND MAC,3>MAC,5 ; {均线C,MA3,MA5多头排列并向上;}角度MA3:=ATANMA3/REFMA3,1-1100180/;角度MA5:=ATANMA5/REFMA5,1-1100180/;角度MA10:=ATANMA10/REFMA10,1-1100180/;角度MA20:=ATANMA20/REFMA20,1-1100180/;选股MA20:IF角度MA3>45 AND 角度MA5>45 AND 角度MA10>60 AND 角度MA20>45 AND MAC,250>REFMAC,250,1,1,0,COLOR00FF00;{设计思路:日均线角度大于45度;2:5日均线角度大于45度;日均线角度大于45度;向上;};3;紫色冲关1.CROSS CLOSE,MAC,30AND CLOSE>MAC,22 AND CLOSE>MAC,30ANDCOUNTMACLOSE,13>REFMACLOSE,13,1,1AND COUNTMACLOSE,8>REFMACLOSE,8,1,1AND COUNTMACLOSE,20>REFMACLOSE,20,1,1AND CLOSE/OPEN>AND DYNAINFO37>% COLORLIBLUE;2.QSXS:=MACLOSE,8>REFMACLOSE,8,1 AND MACLOSE,3>REFMACLOSE,3,1 AND MACLOSE,5>REFMACLOSE,5,1;DXJC:=CROSSCLOSE,MAC,21 AND CLOSE>MAC,13 AND CLOSE/OPEN>;HSL:=VOL/CAPITAL100;选股:QSXS AND DXJC AND HSL>2;3.{SJXXG四均线选股}MA3:=MAC,1;MA5:=MAC,3;MA10:=MAC,5;MA20:=MAC,10;V0:=MAC,1>REFMAC,1, AND MAC,3>REFMAC,3, AND C>MAC,1AND MAC,1>MAC,1 ; {均线C,MA3,MA5,MA10,MA20多头排列并向上;}角度MA3:=ATANMA3/REFMA3,1-1100180/;角度MA5:=ATANMA5/REFMA5,1-1100180/;角度MA10:=ATANMA10/REFMA10,1-1100180/;角度MA20:=ATANMA20/REFMA20,1-1100180/;选股MA20:IF角度MA3>50 AND 角度MA5>40 AND 角度MA10>30AND 角度MA20>20 AND MAC,250>REFMAC,250,1,1,0,COLOR00FF00;{设计思路:日均线角度大于40度;2:3日均线角度大于40度;日均线角度大于40度;向上;};4.{SJXXG四均线选股}MA3:=MAC,5;MA5:=MAC,10;MA10:=MAC,15;MA20:=MAC,20;V0:=MAC,5>REFMAC,10,1 AND MAC,10>REFMAC,15,1AND MAC,15>MAC,20 ; {均线C,MA3,MA5多头排列并向上;}角度MA3:=ATANMA3/REFMA3,1-1100180/;角度MA5:=ATANMA5/REFMA5,1-1100180/;角度MA10:=ATANMA10/REFMA3,1-1100180/;角度MA20:=ATANMA20/REFMA5,1-1100180/;选股MA20:IF角度MA3>42 AND 角度MA5>25 AND 角度MA10>15 AND 角度MA20>10 AND MAC,135>REFMAC,135,1,1,0,COLOR00FF00;{设计思路:日均线角度大于30度;2:5日均线角度大于40度;3:10日均线角度大于45度;日均线角度大于40度;向上;};5.5日最底V5:=LLVV,5;QSXS:=MACLOSE,5>REFMACLOSE,5,1 AND MACLOSE,8>REFMACLOSE,8,1AND MACLOSE,21>REFMACLOSE,21,1;DXJC:=CROSSCLOSE,MAC,21 AND CLOSE>MAC,21 AND CLOSE/OPEN>;HSL:=VOL/CAPITAL100;选股:V5 AND QSXS AND DXJC AND HSL>2;1....{蓄势待发}V0:=EMAC,5;EMA10:=EMAC,10;EMA20:=EMAC,20;EMA30:=EMAC,30;EMA60:=EMAC,60;M1:=1000EMA10/EMA60<=1015 AND 1000EMA10/EMA60>=975;M2:=1000EMA20/EMA60<=1020 AND 1000EMA20/EMA60>=980;M3:=1000EMA30/EMA60<=1015 AND 1000EMA30/EMA60>=985;M4:=M1 AND M2 AND M3 AND CROSSV0,EMA10;M5:=M1 AND M2 AND M3 AND CROSSV0,EMA30;T1:=1000EMA10/EMA30<=1010 AND 1000EMA10/EMA30>=990;T2:=1000EMA20/EMA30<=1010 AND 1000EMA20/EMA30>=990;T3:=T1 AND T2 AND CROSSV0,EMA10;T4:=T1 AND T2 AND CROSSV0,EMA30;M4 OR M5 OR T3 OR T4;2.短线之王VAR1:=-100HHVHIGH,3-CLOSE/HHVHIGH,3-LLVLOW,3;CROSSVAR1,-87 AND OPEN<MACLOSE,5 AND CLOSE>=REFCLOSE,1 AND INDEXC>REFINDEXC,1 AND CLOSE<=LLVCLOSE,58;3.枪挑小梁王W1:=C=HHVC,20;W2:=BARSLASTW1;W3:=IFW2>0,REFC,W2,REFC,W2;W4:=CROSSC,REFW3,1;枪挑小梁王:W4 AND COUNTW4,5=1;4.短线之王VAR1:=-100HHVHIGH,3-CLOSE/HHVHIGH,3-LLVLOW,3;CROSSVAR1,-87 AND OPEN<MACLOSE,5 AND CLOSE>=REFCLOSE,1 AND INDEXC>REFINDEXC,1 AND CLOSE<=LLVCLOSE,58;5.财务突破选股{财务突破选股公式-创幻闲云孤鹤-通信达专用}年认同价:=MAC,240;价格中枢:=SUM年认同价,0/BARSSINCE年认同价>0+239;箱顶:=价格中枢;箱底:=价格中枢;毛利润率:=FINANCE21/FINANCE20;成长价值:=年认同价1+毛利润率;收益价值:=年认同价+FINANCE33;回调认同:=EMAEXPMAC,20,13;多头:=回调认同>REF回调认同,1AND成长价值>REF成长价值,1AND收益价值>REF收益价值,1ANDDYNAINFO7>0;回调条件:=COUNTC<回调认同,5>=3;回调突破:=REFC,1<=REF回调认同,1ANDC>回调认同AND回调条件AND 多头;成长条件:=COUNTC<成长价值,5>=3;成长突破:=REFC,1<=REF成长价值,1ANDC>成长价值AND成长条件AND 多头;收益条件:=COUNTC<收益价值,5>=3;收益突破:=REFC,1<=REF收益价值,1ANDC>收益价值AND收益条件AND 多头;箱底条件:=COUNTC<箱底,5>=3;箱底突破:=REFC,1<=REF箱底,1ANDC>箱底AND箱底条件AND 多头;价格条件:=COUNTC<价格中枢,5>=3;价格突破:=REFC,1<=REF价格中枢,1ANDC>价格中枢AND价格条件AND 多头;箱顶条件:=COUNTC<箱顶,5>=3;箱顶突破:=REFC,1<=REF箱顶,1ANDC>箱顶AND箱顶条件AND 多头;突破买点:回调突破+成长突破+收益突破+箱底突破+价格突破+箱顶突破;6.横盘是银VAR1:=CLOSE-LLVLOW,9/HHVHIGH,9-LLVLOW,9100;VAR2:=SMAVAR1,3,1;VAR3:=SMAVAR2,3,1;VAR4:=EMACLOSE,12-EMACLOSE,26;VAR5:=EMAVAR4,9;VAR6:=2VAR4-VAR5;COUNTCROSSVAR2,VAR3,2>=1 AND COUNTCROSSVAR6,0,5>=1 AND MACLOSE,5>MACLOSE,10 AND MACLOSE,10>MACLOSE,20 ANDCLOSE>MACLOSE,5;{“短线是银”的使用说明:此组合选择比较简单,初学者易于掌握,短线有一定可操作性与准确性;但只适合于3天内的短线炒作,不能确定长期趋势;选股设置:2日内KD金叉,5日内MACD金叉,均线5日,10日,20日多头排列,收盘价涨过5日均线;};7.黑马起步选股1VAR5:=EMASMACLOSE-LLVLOW,100/HHVHIGH,100-LLVLOW,100100,8,1,3; 选股:CROSSVAR5,15 OR CROSSVAR5,20 OR CROSSVAR5,25;8.起攀选股{起攀选股}VAR6:=2C+H+L/4;VAR7:=LLVL,27;VAR8:=HHVH,27;攀登:=EMAVAR6-VAR7/VAR8-VAR7100,13-50;金山:=EMAREF攀登,1+攀登,3;起攀:CROSS攀登,金山AND C/REFC,1>;{根据起攀图指标改编,这是精简后的指标};9.中短波选股{中短波选股}HZ:=EMACLOSE,13;短波:=EMAHZ,1;中波:=EMAHZ,26;均线148天:=EMAC,148;成本:=SUMAMOUNT,0/SUMVOL,0/100;HZ2:=EMAHZ,8;CROSS短波,HZ2;{结合中短波主图使用};10.黑马摇篮之大{黑马摇篮之大黑马}SS1:=LOW+HIGH+CLOSE2/4;SS2:= MASS1,4;SS3:=HHVSS2,10;SS4:=MASS3,3;SS5:=SS3;XKKJ:=IFSS5>SS3,SS3,SS5;FF1:=LLVSS2,10;FF2:=MAFF1,3;FF3:=FF1;DKKJ:=IFFF3<FF1,FF1,FF3;MA13:=MAC,13;ZDHM:=CROSSC,DKKJ AND CROSSC,MA13 AND CROSSC,XKKJ;ZHM:=CROSSC,MA13 AND CROSSC,XKKJ;大黑马:ZDHM OR ZHM;11.黑马摇篮之小{黑马摇篮之小黑马}A:=3CLOSE+LOW+OPEN+HIGH/6;D1:=20A+19REFA,1+18REFA,2+17REFA,3+16REFA,4+15REFA,5+14REFA,6 +13REFA,7+12REFA,8+11REFA,9+10REFA,10+9REFA,11+8REFA,12+7REFA,13+6REFA,14+5REFA,15+4REFA,16+3REFA,17+2REFA,18+ REFA,20/211;D2:=EMAD1,2;D3:=EMAD2,2;K1:=EMAD3,2;小黑马:CROSSD1,K1;12.蓄势待发{蓄势待发}V0:=EMAC,5;EMA10:=EMAC,10;EMA20:=EMAC,20;EMA30:=EMAC,30;EMA60:=EMAC,60;M1:=1000EMA10/EMA60<=1015 AND 1000EMA10/EMA60>=975;M2:=1000EMA20/EMA60<=1020 AND 1000EMA20/EMA60>=980;M3:=1000EMA30/EMA60<=1015 AND 1000EMA30/EMA60>=985;M4:=M1 AND M2 AND M3 AND CROSSV0,EMA10;M5:=M1 AND M2 AND M3 AND CROSSV0,EMA30;T1:=1000EMA10/EMA30<=1010 AND 1000EMA10/EMA30>=990;T2:=1000EMA20/EMA30<=1010 AND 1000EMA20/EMA30>=990;T3:=T1 AND T2 AND CROSSV0,EMA10;T4:=T1 AND T2 AND CROSSV0,EMA30;M4 OR M5 OR T3 OR T4;13.四线粘合{四线粘合}V0:=EMAC,5;V1:=EMAC,10;V2:=EMAC,15;V3:=EMAC,30;V4:=EMAC,60;M1:=1000V1/V4<=1015 AND 1000V1/V4>=975;M2:=1000V2/V4<=1020 AND 1000V2/V4>=980;M3:=1000V3/V4<=1015 AND 1000V3/V4>=985;M4:=M1 AND M2 AND M3 AND CROSSV0,V1;M5:=M1 AND M2 AND M3 AND CROSSV0,V3;M4 OR M5;14.拉升在即{拉升在即}ABV:=MASUMIFCLOSE>REFCLOSE,1,VOL,IFCLOSE<REFCLOSE,1,-VOL,0,0/25000,2; M1:=EMAABV,12;M2:=EMAABV,26;MTM:=CLOSE-REFCLOSE,1;MMS:=100EMAEMAMTM,6,6/EMAEMAABSMTM,6,6;MMM:=100EMAEMAMTM,12,12/EMAEMAABSMTM,12,12;MML:=100EMAEMAMTM,26,26/EMAEMAABSMTM,26,26;A:=VOL/CAPITAL100;S:=MAA,30/MAINDEXA,10MAINDEXA,60;Y:=MAA,120/MAINDEXA,10MAINDEXA,60;X:=1;拉升在即:S<X AND Y<X AND MMS>MML AND ABV>M1 AND CROSSS,Y; 黑马易找VAR1:=MACLOSE,5;VAR2:=MACLOSE,10;VAR3:=MACLOSE,30;VAR4:=MACLOSE,60;VAR5:=EMACOST85,7;VAR6:=EMACOST15,7;VAR7:=SUMCLOSEVOL100,4/SUMVOL100,4;VAR8:=INTPARTVAR7100/100;VAR9:=SUMCLOSEVOL100,7/SUMVOL100,7;VARA:=INTPARTVAR9100/100;VARB:=SUMCLOSEVOL100,28/SUMVOL100,28;VARC:=INTPARTVARB100/100;VARD:=EMACLOSE,5-EMACLOSE,10;VARE:=EMAVARD,9;VARF:=-100HHVCLOSE,5-CLOSE/HHVCLOSE,5-LLVLOW,5+100;VAR10:=-100HHVCLOSE,10-CLOSE/HHVCLOSE,10-LLVLOW,10+100; VAR11:=-100HHVCLOSE,20-CLOSE/HHVCLOSE,20-LLVLOW,20+100; VAR12:=-100HHVCLOSE,30-CLOSE/HHVCLOSE,30-LLVLOW,30+100; VAR13:=REFVARE,1;VAR14:=VARE;VAR15:=VAR14-VAR13;VAR16:=REFVARD,1;VAR17:=VARD;VAR18:=VAR17-VAR16;VAR19:=OPEN;VAR1A:=CLOSE;黑马易找选股: VAR19<=VAR1 AND VAR19<=VAR2 AND VAR19<=VAR3 AND VAR1A>=VAR1 AND VAR1A>=VARC AND VAR15>0 AND VAR18>0;16.黑马起步选股2VAR5:=EMASMACLOSE-LLVLOW,100/HHVHIGH,100-LLVLOW,100100,8,1,3;选股:CROSSVAR5,30 OR CROSSVAR5,35 OR CROSSVAR5,40;17.黑马起步选股1VAR5:=EMASMACLOSE-LLVLOW,100/HHVHIGH,100-LLVLOW,100100,8,1,3;选股:CROSSVAR5,15 OR CROSSVAR5,20 OR CROSSVAR5,25;二;主图指标三;三线买卖快线:EMAEMAEMAEMACLOSE,2,2,2,2,LINETHICK2,COLOR0000FF;慢线:EMAREF快线,1,2,LINETHICK2,COLOR00FFFF;总趋势:EMAEMAEMAEMAEMACLOSE,55,2,2,2,2,LINETHICK2,COLORFF00FF;HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLAY:=0;AA:=REFH,HIGHN=HHVH,2HIGHN+1;QY:=BACKSETAA,HIGHN+1;CC:=FILTERQY,HIGHN AND H=HHVH,HIGHN+1;DRAWICONCC,H,2;DDD:=BARSLASTCC;GDTS:=IFCC,CURRBARSCOUNT,0;DINGBU:=IFDDD,REFH,DDD,H;{顶部}DINGBUTS:=IFDDD,REFGDTS,DDD,GDTS;DINGBU1:=REFDINGBU,DDD+1;GDCS1:=CONSTDINGBUTS;DINGBUTS1:=REFDINGBUTS,DDD+1;GDCS2:=CONSTDINGBUTS1;DINGBU2:=REFDINGBU1,DDD+1;MM:=IFCURRBARSCOUNT>GDCS2,0,1;高点压力:DRAWLINECURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1 COLORGREEN,LINETHICK2;DRAWLINECURRBARSCOUNT=GDCS2,H,ISLASTBAR,REFH,GDCS2-1,1,COLOR0055FF,POINTDOT; DRAWLINECURRBARSCOUNT=GDCS1,H,ISLASTBAR,REFH,GDCS1-1,1,COLORYELLOW,POINTDOT;AA1:=REFL,LOWN=LLVL,2LOWN+1;QY1:=BACKSETAA1,LOWN+1;CC1:=FILTERQY1,LOWN AND L=LLVL,LOWN+1;DRAWICONCC1,L,1;DD1:=BARSLASTCC1;DDTS:=IFCC1,CURRBARSCOUNT,0;YDB:=IFDD1,REFL,DD1,L;DDTS1:=IFDD1,REFDDTS,DD1,DDTS;DDCS1:=CONSTDDTS1;ZDB:=REFYDB,DD1+1;DDTS2:=REFDDTS1,DD1+1;DDCS2:=CONSTDDTS2;低点支撑:DRAWLINECURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1 COLORRED,LINETHICK2;ZGSTAR:=高点压力+低点支撑/2;ZGEND:=CONST高点压力+低点支撑/2;STARDAY:=IFDDCS2<GDCS2,DDCS2,GDCS2;中轨:DRAWLINECURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1,COLORFF55BB,LINETHICK2;DRAWLINECURRBARSCOUNT=DDCS1,L,ISLASTBAR,REFL,DDCS1-1,1,COLORMAGENTA,POINTDOT,; DRAWLINECURRBARSCOUNT=DDCS2,L,ISLASTBAR,REFL,DDCS2-1,1,COLORCYAN,POINTDOT;四;3线粘合MA3:EMAC,3,linethick2; MA5:EMAC,5,linethick2; MA7:EMAC,7,linethick2; MA14:EMAC,14,linethick1,STICK; MA114:EMAC,14,linethick2; DRAWICON crossMA3,MA7,L,1;五.三线乾坤快线:EMAEMAEMAEMACLOSE,2,2,2,2,LINETHICK2,COLOR0000FF;慢线:EMAREF快线,1,2,LINETHICK2,COLOR00FFFF;总趋势:EMAEMAEMAEMAEMACLOSE,55,2,2,2,2,LINETHICK2,COLORFF00FF;A1:=REFH,8=HHVH,28+1;B1:=FILTERA1,8;C1:=BACKSETB1,8+1;D1:=FILTERC1,8;{高点}R11:=BACKSETISLASTBAR,BARSLASTD1+1; S11:=R11>REFR11,1;DRAWLINED1,H,S11,H,1,COLORBLUE;A2:=REFL,8=LLVL,28+1;B2:=FILTERA2,8;C2:=BACKSETB2,8+1;D2:=FILTERC2,8;{低点}T11:=BACKSETISLASTBAR,BARSLASTD2+1; U11:=T11>REFT11,1;DRAWLINED2,L,U11,L,1,COLORBLUE;M:=INTPART38/5;A12:=REFH,M=HHVH,2M+1;B12:=FILTERA12,M;C12:=BACKSETB12,M+1;D12:=FILTERC12,M;{高点}R112:=BACKSETISLASTBAR,BARSLASTD12+1; S112:=R112>REFR112,1;DRAWLINED12,H,S112,H,1,COLORRED;A22:=REFL,M=LLVL,2M+1;B22:=FILTERA22,M;C22:=BACKSETB22,M+1;D22:=FILTERC22,M;{低点}T112:=BACKSETISLASTBAR,BARSLASTD22+1; U112:=T112>REFT112,1;DRAWLINED22,L,U112,L,1,COLORRED;VAR1111:=BACKSETREFHIGH,2=HHVHIGH,5,3;VAR2222:=CROSSVAR1111,;VAR3333:=BACKSETREFLOW,2=LLVLOW,5,3;VAR4444:=CROSSVAR3333,;压力:= REFHIGH,BARSLASTVAR2222;STICKLINECLOSE,REFHIGH,BARSLASTVAR2222,REFHIGH,BARSLASTVAR2222,,1,COLOREA91B5,LINETHICK3; 支撑:= REFLOW,BARSLASTVAR4444;STICKLINECLOSE,REFLOW,BARSLASTVAR4444,REFLOW,BARSLASTVAR4444,,1,COLOR00B4FF,LINETHICK3; 下档线:=CLOSE - LLVLOW,13 / HHVHIGH,13 - LLVLOW,13 100;RRRSV:=SMA下档线,3,1;KKK:=SMARRRSV,3,1;DDD:=3 RRRSV - 2 KKK;JJ12:=CLOSE - LLVLOW,55 / HHVHIGH,55 - LLVLOW,55 100;RSV24:=SMAJJ12,3,1;K24:=SMARSV24,3,1;D24:=3 RSV24 - 2 K24;压力2:=IFCROSSD24,DDD,HIGH,REFHIGH,BARSLASTCROSSD24,DDD,COLORFFFFFF;底部:=LLVHIGH,30,COLOR00FF00;DRAWICONL<=支撑AND H>支撑,L,0;DRAWICONH>=压力AND L<压力,H,0;DRAWICONCROSS快线,慢线,L,5;DRAWICONCROSS慢线,快线,H,6;三;副图指标1;黄金坑DIFF:=EMACLOSE,SHORT-EMACLOSE,LONG;DEA:=EMADIFF,M;MACD2:=2DIFF-DEA;CLOSE<0 AND CROSSDIFF,0,H,COLOR000080,NODRAW;CLOSE<0 AND CROSSMACD2,0,H,COLOR000080,NODRAW;CLOSE<0 AND CROSS0,DIFF,H,COLOR808080,NODRAW;CLOSE<0 AND CROSS0,MACD2,H,COLOR808080,NODRAW;DU0:=CROSSDIFF,0;UD0:=CROSS0,DIFF;TDU0:=BARSLASTDU0;TUD0:=BARSLASTUD0;DU3:=REFDU0,1;UD3:=REFUD0,1;TDU3:=BARSLASTDU3;TUD3:=BARSLASTUD3;UDGLINE:=IFTDU3<TUD3,REFHHVHIGH,2,TDU3,REFLLVLOW,2,TUD3;JDU0:=REFCLOSE,1<=REFUDGLINE,1 AND CLOSE>UDGLINE AND TDU0<TUD0; JUD0:=REFCLOSE,1>=REFUDGLINE,1 AND CLOSE<UDGLINE AND TUD0<TDU0; JDU1:=JDU0 AND COUNTJDU0,TDU0=1;JUD1:=JUD0 AND COUNTJUD0,TUD0=1;JDU2:=JDU1 AND REFBARSLASTJUD1,1<REFBARSLASTJDU1,1;JUD2:=JUD1 AND REFBARSLASTJUD1,1>REFBARSLASTJDU1,1;JDU3:=JDU1 AND REFBARSLASTJUD1,1>REFBARSLASTJDU1,1;JUD3:=JUD1 AND REFBARSLASTJUD1,1<REFBARSLASTJDU1,1;BSLINE:=IFBARSLASTJDU2<BARSLASTJUD2,IFREFCROSS0,MACD2,1,LLVLOW,2,REFLLVLOW,2,BARSLASTREF CROSS0,MACD2,1,IFREFCROSSMACD2,0,1,HHVHIGH,2,REFHHVHIGH,2,BARSLASTREFCROSSMACD2,0,1; STICKLINEMACD2>=0,0,MACD2,2,1,COLOR0000FF;STICKLINEMACD2>=0 AND MACD2<REFMACD2,1,0,MACD2,2,0,COLOR0000FF;STICKLINEMACD2<0,0,MACD2,2,0,COLORFFFF00;STICKLINEMACD2<0 AND MACD2>REFMACD2,1,0,MACD2,2,1,COLORFFFF00;DIF:DIFF,LINETHICK2,COLOR0000FF;MACD:DEA,COLORFF0000;DEF:MACD2,LINETHICK0,COLORFFFF00;STICKLINECLOSE>0,0,0,2,0,COLOR808080;DEFUT:=BARSLASTCROSSMACD2,0;DEFDT:=BARSLASTCROSS0,MACD2;DEFUL:=IFMACD2>=0,HHVMACD2,DEFUT+1,REFHHVMACD2,DEFUT+1,DEFDT+1;DEFDL:=IFMACD2<0,LLVMACD2,DEFDT+1,REFLLVMACD2,DEFDT+1,DEFUT+1;DEFU2L:=REFDEFUL,DEFUT+1;DEFD2L:=REFDEFDL,DEFDT+1;DRAWICONLLVMACD2,4>0 AND MACD2<REFMACD2,1 AND REFMACD2,1>REFMACD2,2 AND REFMACD2,2>REFMACD2,3,MACD2,2;DRAWICONHHVMACD2,4<0 AND MACD2>REFMACD2,1 AND REFMACD2,1<REFMACD2,2 AND REFMACD2,2<REFMACD2,3,MACD2,1;DRAWICONJUD1 OR BARSLASTJDU1>BARSLASTJUD1 AND MACD2>=0 AND REFMACD2,1<REFDEFU2L,1 AND MACD2>DEFU2L,MACD2,5;DRAWICONJDU1 OR BARSLASTJDU1<BARSLASTJUD1 AND MACD2<0 AND REFMACD2,1>REFDEFD2L,1 AND MACD2<DEFD2L,MACD2,3;VAR111:=JDU1 OR BARSLASTJDU1<BARSLASTJUD1;VAR112:=HHVMACD2,4<0 AND MACD2>REFMACD2,1 AND REFMACD2,1<REFMACD2,2 AND REFMACD2,2<REFMACD2,3;2.资金流向DIFF:=EMACLOSE,SHORT-EMACLOSE,LONG;DEA:=EMADIFF,M;MACD2:=2DIFF-DEA;CLOSE<0 AND CROSSDIFF,0,H,COLOR000080,NODRAW;CLOSE<0 AND CROSSMACD2,0,H,COLOR000080,NODRAW;CLOSE<0 AND CROSS0,DIFF,H,COLOR808080,NODRAW;CLOSE<0 AND CROSS0,MACD2,H,COLOR808080,NODRAW;DU0:=CROSSDIFF,0;UD0:=CROSS0,DIFF;TDU0:=BARSLASTDU0;TUD0:=BARSLASTUD0;DU3:=REFDU0,1;UD3:=REFUD0,1;TDU3:=BARSLASTDU3;TUD3:=BARSLASTUD3;UDGLINE:=IFTDU3<TUD3,REFHHVHIGH,2,TDU3,REFLLVLOW,2,TUD3;JDU0:=REFCLOSE,1<=REFUDGLINE,1 AND CLOSE>UDGLINE AND TDU0<TUD0;JUD0:=REFCLOSE,1>=REFUDGLINE,1 AND CLOSE<UDGLINE AND TUD0<TDU0;JDU1:=JDU0 AND COUNTJDU0,TDU0=1;JUD1:=JUD0 AND COUNTJUD0,TUD0=1;JDU2:=JDU1 AND REFBARSLASTJUD1,1<REFBARSLASTJDU1,1;JUD2:=JUD1 AND REFBARSLASTJUD1,1>REFBARSLASTJDU1,1;JDU3:=JDU1 AND REFBARSLASTJUD1,1>REFBARSLASTJDU1,1;JUD3:=JUD1 AND REFBARSLASTJUD1,1<REFBARSLASTJDU1,1;BSLINE:=IFBARSLASTJDU2<BARSLASTJUD2,IFREFCROSS0,MACD2,1,LLVLOW,2,REFLLVLOW,2,BARSLASTREF CROSS0,MACD2,1,IFREFCROSSMACD2,0,1,HHVHIGH,2,REFHHVHIGH,2,BARSLASTREFCROSSMACD2,0,1; STICKLINEMACD2>=0,0,MACD2,2,1,COLOR0000FF;STICKLINEMACD2>=0 AND MACD2<REFMACD2,1,0,MACD2,2,0,COLOR0000FF;STICKLINEMACD2<0,0,MACD2,2,0,COLORFFFF00;STICKLINEMACD2<0 AND MACD2>REFMACD2,1,0,MACD2,2,1,COLORFFFF00;DIF:DIFF,LINETHICK2,COLOR0000FF;MACD:DEA,COLORFF0000;DEF:MACD2,LINETHICK0,COLORFFFF00;STICKLINECLOSE>0,0,0,2,0,COLOR808080;DEFUT:=BARSLASTCROSSMACD2,0;DEFDT:=BARSLASTCROSS0,MACD2;DEFUL:=IFMACD2>=0,HHVMACD2,DEFUT+1,REFHHVMACD2,DEFUT+1,DEFDT+1;DEFDL:=IFMACD2<0,LLVMACD2,DEFDT+1,REFLLVMACD2,DEFDT+1,DEFUT+1;DEFU2L:=REFDEFUL,DEFUT+1;DEFD2L:=REFDEFDL,DEFDT+1;DRAWICONLLVMACD2,4>0 AND MACD2<REFMACD2,1 AND REFMACD2,1>REFMACD2,2 AND REFMACD2,2>REFMACD2,3,MACD2,2;DRAWICONHHVMACD2,4<0 AND MACD2>REFMACD2,1 AND REFMACD2,1<REFMACD2,2 AND REFMACD2,2<REFMACD2,3,MACD2,1;DRAWICONJUD1 OR BARSLASTJDU1>BARSLASTJUD1 AND MACD2>=0 AND REFMACD2,1<REFDEFU2L,1 AND MACD2>DEFU2L,MACD2,5;DRAWICONJDU1 OR BARSLASTJDU1<BARSLASTJUD1 AND MACD2<0 AND REFMACD2,1>REFDEFD2L,1 AND MACD2<DEFD2L,MACD2,3;VAR111:=JDU1 OR BARSLASTJDU1<BARSLASTJUD1;VAR112:=HHVMACD2,4<0 AND MACD2>REFMACD2,1 AND REFMACD2,1<REFMACD2,2 AND REFMACD2,2<REFMACD2,3;3. 变色MACD1DIFIF1:=EMACLOSE,12 - EMACLOSE,26;DEAEA1:=EMADIFIF1,9;MACD1:=2DIFIF1-DEAEA1,STICK;MACD2:=EMAMACD1,3;STICKLINEMACD1>MACD2 AND MACD1>0,0,MACD1,1,0,COLORRED;STICKLINEMACD1>MACD2 AND MACD1<0,0,MACD1,1,0,COLORGREEN;STICKLINEMACD1<MACD2,0,MACD1,1,0,COLORCBCBC0;STICKLINEMACD1>=0 OR MACD1<=0,0,0,50,1,COLORWHITE;DIFIF1,COLOR33FF33,LINETHICK2;DEAEA1,COLORYELLOW,LINETHICK2;MACD:MACD1,NODRAW,COLORMAGENTA;强:IFDIFIF1>=DEAEA1,DIFIF1,DRAWNULL,COLORRED,LINETHICK2;弱:IFDEAEA1>=DIFIF1,DEAEA1,DRAWNULL,COLORFF9900,LINETHICK2; DRAWICONCROSSDIFIF1,DEAEA1,DIFIF1+,1; DRAWICONCROSSDEAEA1,DIFIF1,,2;DRAWTEXTCROSSDIFIF1,DEAEA1,DIFIF1,'○',LINETHICK2, COLORYELLOW;2DIFIF1:=EMACLOSE,12 - EMACLOSE,26;DEAEA1:=EMADIFIF1,9;MACD1:=2DIFIF1-DEAEA1,STICK;MACD2:=EMAMACD1,3;STICKLINEMACD1>MACD2 AND MACD1>0,0,MACD1,1,0,COLORRED; STICKLINEMACD1>MACD2 AND MACD1<0,0,MACD1,1,0,COLORGREEN; STICKLINEMACD1<MACD2,0,MACD1,1,0,COLORCBCBC0; STICKLINEMACD1>=0 OR MACD1<=0,0,0,50,1,COLORWHITE;DIFIF1,COLOR33FF33,LINETHICK2;DEAEA1,COLORYELLOW,LINETHICK2;MACD:MACD1,NODRAW,COLORMAGENTA;强:IFDIFIF1>=DEAEA1,DIFIF1,DRAWNULL,COLORRED,LINETHICK2;弱:IFDEAEA1>=DIFIF1,DEAEA1,DRAWNULL,COLORFF9900,LINETHICK2; DRAWICONCROSSDIFIF1,DEAEA1,DIFIF1+,1; DRAWICONCROSSDEAEA1,DIFIF1,,2;DRAWTEXTCROSSDIFIF1,DEAEA1,DIFIF1,'○',LINETHICK2, COLORYELLOW;4. 至尊MACDDIFF:EMADCLOSE,12-EMADCLOSE,26;DEA:EMADIFF,9,COLORFFFF00;MACD:DIFF-DEA2;STICKLINEMACD>=0 AND MACD>=REFMACD,1,0,MACD,1,0,COLORRED;STICKLINEMACD>=0 AND MACD<=REFMACD,1,0,MACD,1,0,COLORGREEN;STICKLINEMACD<=0 AND MACD>=REFMACD,1,0,MACD,1,0,COLORFF00FF;STICKLINEMACD<=0 AND MACD<=REFMACD,1,0,MACD,1,0,COLOR00FFFF;多转空:=LLVMACD,4>0 AND MACD<REFMACD,1 AND REFMACD,1>REFMACD,2 AND REFMACD,2>REFMACD,3;空转多:=HHVMACD,4<0 AND MACD>REFMACD,1 AND REFMACD,1<REFMACD,2 AND REFMACD,2<REFMACD,3;DRAWICON多转空,MACD,2;DRAWICON空转多,MACD,1;低位金叉:=CROSSDIFF,DEA AND DIFF<;DRAWTEXT低位金叉,DEA,'低位金叉',COLORFF00FF;JCCOUNT:=COUNTCROSSDIFF,DEA,BARSLASTDEA>=0;二次金叉:=CROSSDIFF,DEA AND DEA<0 AND COUNTJCCOUNT=2,21=1;STICKLINE二次金叉,0,,2,0,COLORFF00FF;DRAWTEXT二次金叉,DEA,'二次金叉',COLORRED;A1:=BARSLASTREFCROSSDIFF,DEA,1;底背离:=REFCLOSE,A1+1>CLOSE AND DIFF>REFDIFF,A1+1 AND CROSSDIFF,DEA;DRAWTEXT底背离,,'底背离',COLORWHITE;A2:=BARSLASTREFCROSSDEA,DIFF,1;顶背离:=REFCLOSE,A2+1<CLOSE AND REFDIFF,A2+1>DIFF AND CROSSDEA,DIFF;DRAWTEXT顶背离,+MACD,'顶背离',COLORWHITE;1,30个交易日内,股价跌幅达到一半的股票:xg:hhvc,30-c/hhvc,30>;2,今天的量是5天平均的2倍以上xg:v>mav,52;缩量vol/mavol,10<;3,两天内,累计下跌等于或超过20%选股.xg:refc,2-c/c>;4,股价是25天以来新低.xg:c<refllvc,25,1;5,选股:EXPMA5日与10日金叉并且第二天的收盘价在EXPMA的5日线以上.crossrefemac,5,1,refemac,10,1 and c>emac,5;6,请编买入公式:1. 将BIAS指标的参数设置为24日,将KD指标的参数设置为9;3;3;2. BIAS指标要小于-6,这只是确认该股超跌的初选条件;3. KD指标产生黄金交叉,K线上穿D线;4. KD交叉同时,KD指标中的D值要小于16;BIAS3 :=CLOSE-MACLOSE,24/MACLOSE,24100,colorff00ff;RSV:=CLOSE-LLVLOW,9/HHVHIGH,9-LLVLOW,9100;K:=SMARSV,3,1,COLORWHITE;D:=SMAK,3,1,COLORYELLOW;xg:BIAS3<-6 and crossk,d and d<16;7,要求是量大、换手率达到3左右,涨幅>7个点;xg:v/capital100>3 and c/refc,1>;8,个股分时图上都有一条黄线,叫做均价线a/capital100;9,"阴转阳"的公式也就是昨天收阴线,今天收阳线xg:refc,1<refo,1 and c>o;10,股价回抽20日均线选股公式xg:refc,1>mac,20 and crossmac,20,c;11,一根大阳线,至少有5个点以上,再连着出现二根振幅不大于5的十字星或是小K线xg:refc,3-refc,4/refc,3> and counth-l/l<,2=2;12,行情信息里的“涨幅”的原码c-refc,1/c100;13,kdj的J从上向下穿越O轴发出信号RSV:=CLOSE-LLVLOW,9/HHVHIGH,9-LLVLOW,9100;K:=SMARSV,3,1,COLORWHITE;D:=SMAK,3,1,COLORYELLOW;J:=3K-2D,COLORFF00FF;xg:cross0,j;14,股价4天中有两天在10日线上countc>mac,10,4=2;15,选出10天内出现了涨停的个股countc/refc,1>,10>0;又:今涨停:=C/REFC,1>;选股:count今涨停,n;16,一阳上穿10,20,30日线,量能是前一天3倍;xg:crossc,mac,10 and crossc,mac,20 and crossc,mac,30 andv>refv,13;17,共三根K线,第一根K线为阴线;第二根K线为阴线线,最高价低于第一根K线,最低价高于第一根K线;第三根K 线阴阳不限,最高价低于第二根K线,最低价高于第二根K线;满足后发出信号~w1:=refc,2<refo,2;w2:=refh,2>refh,1 and refl,2<refl,1;w3:=refh,1>h and refl,1<l;xg:w1 and w2 and w3;18, 选出今日成交量大于昨日成交量一成的股票;19, 连续5天,当日的5日均线减前一天的5日均线差值小于1. countmac,5-refmac,5,1<1,5=5;20,股价上穿5周均线:xg:crossc,mac,5;注意:选股时用周线21,上穿30日均线的公式xg:crossc,mac,30;22,两笔阴线中间夹着一根阳线或数根K线,其中两笔阴线最低点相等xg:refl,2=l;23,量比大于1 同时换手大于2的公式xg:v/refv,1>1 and AMOUNT/CAPITAL100>2;24,换手:VOL100/CAPITAL;周期换手:SUM换手,10;25,流通盘小于4000万的选股公式xg:CAPITAL/100<4000;26,涨停开盘跌停收盘选股xg:h/refc,1> and refc,1/l>;27,当天开盘价与收盘价相等的选股公式xg:c=o;28,5日均线向上流通盘小于5000万换手率大于3的选股公式lt:CAPITAL/100<5000;换手:=VOL100/CAPITAL<3;w1:mac,5>refmac,5,1;xg:lt and 换手and w1;xg:c>l;30, o=l就没有下引线了,那就:xg:c>l and o>l;31,当日收盘下穿5日均价xg:crossmac,5,c;32,最低价小于前一日的最低价但收盘后为阳线;xg:l<refl,1 and c>o;33,30日内到本日收盘价下跌20%的公式xg:hhvc,30/c>;34,选周线跳空缺口的个股;xg:HIGH<REFLOW,1 ORLOW>REFHIGH,1;周期选周线35,30日均线走平或走高的个股xg:mac,30>refmac,30,1;36,连续4天的收盘价格波动幅度在3%之内连续走平或向上countabsc-refc,1/refc,1< and c>refc,1,3=3;37,下影线长于上影线c-l>h-c;38, 收盘价+收盘价的10%c+c;39,今天高开的公式c>o;40,今天的量大于等于昨天量的2倍,股价上涨xg:v>refv,12 and c>refc,1;41,今天的量小于昨天量的2倍以上,股价上涨xg:v<refv,12 and c>refc,1;42,31天均线向上的股xg:mac,30>refmac,20,1;43升降幅在-n%----n%之间w1:absrefc,1-refc,2/refc,2100<n;44,换手率10天30%以上的选股公式sumVOL/CAPITAL100,10>30;45,60个交易日内,涨幅大于%涨停的天数countc/refc,1>,60;46,昨天跌幅大于3%,今天开盘高开2%以上的选股公式; xg:refc,1/refc,2< and o/refc,1>;47,选出周换手率小于10%的股票sumVOL/CAPITAL100,5<10;48,成交量创20日新低,并且股价也创20日新低xg:v=llvv,20 and c=llvc,20;49,5日不涨,绿线收盘选票指标countc<o,5=5;50,"今日MACD等于昨天的MACD ,且macd>0" 的指标DIFF:=EMACLOSE,12-EMACLOSE,26;DEA:=EMADIFF,9;MACD:=2DIFF-DEA;xg:macd=refmacd,1 and macd>051,连续2天收盘价跌破30日均线,就显示"卖出"信号a1:countc<mac,30,2=2;drawtexta1,c,卖出,colorgreen;52,股票在这条均线上在8天以上,上下幅度不大,a1:absc-mac,120/mac,120<;xg:counta1,8=8;53, 连续三天高开高走的选股公式counto>refc,1 and c>o,3=3;54,n天内曾经有m个涨停countc/refc,1>,n>m;55,股价比昨天的高,量比昨天小,放量;xg:c>refc,1 and v<refv,1 and refv,1>refv,22;56,连续3天每天的最低价都比前一天高countl>refc,1,3=3;57,周量缩小50%或40%或n%a1:vol/capital100;xg:a1/refa1,1<n/100;58,股价超过五日均价的15%以上,并给出卖出信号卖出:c/mac,5>;59,连收两个十字星的选股公式countabsc-o/o<,2=2;60,n横盘天数,n1横盘的上下幅度REFHHVH,N-LLVL,N/LLVL,N,1<=n1/100and refv,1<refmav,5,1 and crossv,mav,5 and crossv,mav,10;61,收盘价连续8天都站在5日均线的股票;countc>mac,5,8=8;62,振幅大于5%,收盘价大于小于15元,三日均线大于昨日的三日均线,去掉ST股;a1:=h/l>;a2:=c> and c<15;a3:=mac,3>refmac,3,1;xg:a1 and a2 and a3;63,收盘价下有60天前的远期获利盘n%;{60天前的远期获利盘:=ppart60100;}aa:WINNERrefc,60 100;64,连续三日收阳后日收盘高于前日且每日收于当日最高价附近每日涨幅不大于4% 选股:countc>o and c>refc,1 and absh-c/c< and c/refc,1<,3=3;65,昨日收阴, 今日收阳,的K线组合;C>O AND REFC,1<REFO,1;6,股价突破5ma买入,跌破5ma卖出;买入和卖出用箭头表示副图a1:crossc,mac,5;a2:crossmac,5,c;drawtexta1,low,↑,colorred;drawtexta2,h,↑,color00ffff;67,今天的250平均线大于昨天的昨天的250平均线mac,250>refmac,250,1;68,历史高点到前一高点画线POLYLINEh>=hhvc,0,h;69,均线中增加一根线,这根线的价格是5日线的倍aa:mac,5;70,20天均线向上的股xg:mac,20>refmac,20,1;71,连续3天收盘全是阴线;countc<refc,1,3=3;72,今天收盘价在昨天收盘价-2%~2%之间c/refc,1> and c/refc,1<;73,收盘价在5日均线以上5天countc>mac,5,5=5;74,N天前换手率大于8%REFVOL/CAPITAL100,N>8;75,一条均线18MA 股价上涨后“缩量”回调到18MAXG:COUNTV<REFV,1 AND C<O,N=N AND C>MAC,18;N “缩量”回调的天数76,1;昨日量是n天以来最低量,n可调;2;今日量是昨日量的m倍,m可调;3;今日k线收阳线;xg:refv,1=llvrefv,1,n and v>refv,1m and c>o;77,第一天收阴,第二天,第三天,第四天,收出红三兵XG:REFC,3<REFC,4 AND COUNTC>O,3=3;78,月k线十字星收盘并且5月线拐点向上;XG:ABSC-O/O< AND MAC,5>REFMAC,5,1;用月线选股79,最近3天包括昨天.前天股价突破250日均线COUNTC>MAC,250,3=3;80,跳高大阴线,条件: 1 开盘跳空4%以上2 大阴线实体6%以上.O/REFC,1> AND C/REFC,1<;81,条件:1: 假设大前天创最近新高,要求这天涨幅是超过7%的大阳线,且创最近一个月的新高.“中阴之后,跳拉阳”c/refc,1>;85,countx,n 意思是n天内出现过信号的,假设n=10,那么就是10天内出现信号包括今天,如果不加这个的话,就是限定在今天出信号才选出来,以前的不管;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
众多的选股技巧和思路,开拓你的选股思路通达信221个选股小技巧标签:通达信股道探路者选股技巧股票分类:选股221个选股小技巧股票软件源码如下:1,30个交易日内,股价跌幅达到一半的股票:xg:(hhv(c,30)-c)/hhv(c z30)>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,选股:EXPM A 5日与10日金叉并且第二天的收盘价在EXPMA的5日线以上. cross(ref(ema(c z5),l),ref(ema(c,10),1)) and c>ema(c z5);6,请编买入公式:1.将BIAS指标的参数设置为24 R,将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,colorffOOff;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<-6 and cross(k,d) and d<16;7,要求是量大、换手率达到3左右,涨幅>7个点。
xg:v/capital*100>3 and (c/ref(c,l)>1.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100;9,”阴转阳”的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,l)<ref(o,l) and c>o;10,股价回抽20日均线选股公式xg:ref(c,l)>ma(c z20) and cross(ma(c,20),c);11,一根大阳线,至少有5个点以上,再连着出现二根振幅不大于5的十字星或是小K线xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2;12,行情信息里的''涨幅〃的原码(c-ref(c,l))/c*100;13,kdj的J从上向下穿越0轴发出信号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 Z COLORFFOOFF;xg:cross(0,j);14,股价4天中有两天在10日线上count(c>ma(c,10)z4)=2;15,选出10天内出现了涨停的个股count(c/ref(c z l)>l.l,10)>0;又:今涨停:=C/REF(C,l)>1.09;选股:count(今涨停小);16,—阳上穿10, 20, 30日线,量能是前一天3倍。
xg:cross(c,ma(c z10)) and cross(c,ma(c,20)) and cross(c,ma(c z30)) and v>ref(v,l)*3; 17,共三根K线,第一根K线为阴线;第二根K线为阴线线,最高价低于第一根K线,最低价高于第一根K线;第三根K线阴阳不限,最高价低于第二根K线,最低价高于第二根K 线。
满足后发出信号〜wl:=ref(c,2)<ref(o z 2);w2:=ref(h,2)>ref(h,l) and ref(l,2)<ref(l,l);w3:=ref(h,l)>h and ref(l z l)<l;xg:wl and w2 and w3;18,选出今日成交量大于昨日成交量一成的股票。
xg:v>ref(v,l)*l.l;19,连续5天,当日的5日均线减前一天的5日均线差值小于1. count((ma(c,5)-ref(ma(c,5),l))<l,5)=5;20,股价上穿5周均线:xg:cross(c z ma(c,5));注意:选股时用周线21,上穿30日均线的公式xg:cross(c,ma(c,30));22,两笔阴线中间夹着一根阳线或数根K线,其中两笔阴线最低点相等xg:ref(l,2)=l;23,量比大于1同时换手大于2的公式xg:v/ref(v,l)>l and AMOUNT/CAPITAL*100>2;24,换手:VOL*100/CAPITAL;周期换手:SUM(换手,10);25,流通盘小于4000万的选股公式xg:CAPITAL/100<4000;26,涨停开盘跌停收盘选股xg:h/ref(c,l)>l.l and ref(c, 1)/1 >1.1;27,当天开盘价与收盘价相等的选股公式xg:c=o;28,5日均线向上流通盘小于5000万换手率大于3的选股公式lt:CAPITAL/100<5000;换手:=VOL*100/CAPITAL<3;wl:ma(c,5)>ref(ma(c,5),l);xg:lt and 换手and wl;29,收下影线xg:c>l;光头阳线:V/REF(MA(V Z5)Z1)>2.5 AND C>0 AND C=H;30,o=l就没有下引线了,那就:xg:c>l and o>l;31,当Fl收盘下穿5日均价xg:cross(ma(c,5),c);32,最低价小于前一日的最低价但收盘后为阳线。
xg:l<ref(l z l) and c>o;33,30日内到本Fl收盘价下跌20%的公式xg:hhv(c,30)/01.2;34,选周线跳空缺口的个股。
xg:HIGH<REF(LOW z l) ORLOW>REF(HIGH Z1);周期选周线35,30日均线走平或走高的个股xg:ma(c,30)>ref(ma(c,30),1);36,连续4天的收盘价格波动幅度在3%之内连续走平或向上count(abs(c-ref(c, 1 )/ref(c z 1))<0.03 and c>ref(c,l),3)=3;37,下影线长于上影线(c-l)>(h-c);38,收盘价+收盘价的10%(c+c*0.1);39,今天高开的公式C>0;40,今天的量大于等于昨天量的2倍,股价上涨xg:v>ref(v,l)*2 and c>ref(c z l);41,今天的量小于昨天量的2倍以上,股价上涨xg:v<ref(v,l)*2 and c>ref(c z l);42,大部分股票跌到43日均线时就会反弹,如果在43日均线附近买入,短线成功率占90% 以上,即时选出还差几分钱就跌到43 H均线的股票。
xg:abs(c-ma(c z43))/ma(c,43)<0.01;43,{选出每天换手5%-15%之间的股票}Varl: = 100*VOL/CAPITAL;wl:=varl>5;w2:=varl<15;xg:wl and w2;44,换手率10天80%以上的选股公式sum(VOL/CAPITAL*100,10)>80;45,60个交易Fl内,涨幅大于9.9% (涨停)的天数count(c/ref(c z l)> 1-099,60);46,昨天跌幅大于3%,今天开盘高开2%以上的选股公式。
xg:ref(c,l)/ref(c,2)<0.97 ando/ref(c,l)>1.02;47,选出周换手率小于10%的股票sum(VOL/CAPITAL*100,5)<10;48,成交量创20日新低,并且股价也创20 H新低xg:v=llv(v,20) and c=llv(c,20);49, 5 Fl不涨,绿线收盘选票指标coun t(c<o,5)=5;50,“今日MACD等于昨天的MACD,且macd>0n的指标DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA: = EMA(DIFF,9);MACD:=2*(DIFF-DEA);xg:macd=ref(macd,l) and macd>051,连续2天收盘价跌破3 0日均线,就显示“卖H「信号al:co un t(c<ma(c,30),2)=2;drawtext(al,c/^ 出')z colorg reen;52,股票在这条均线上在8天以上,上下幅度不大,al:abs((c-ma(c,120))/ma(c,120))<0.1;xg:count(al z8)=8;53,连续三天高开高走的选股公式count(o>ref(c,l) and c>o,3)=3;54,n天内曾经有m个涨停count(c/ref(c z l)>1.09,n)>m;55,股价比昨天的高,量比昨天小,放量。
xg:c>ref(c,l) and v<ref(v,l) and ref(v z l)>ref(v,2)*2;56,连续3天每天的最低价都比前一天高count(l>ref(c,l),3)=3;57,周量缩小50%或40%或n% al:vol/capital*100;xg:al/ref(al,l)<n/100;58,股价超过五日均价的15%以上,并给出卖出信号卖出:c/ma(c,5)>1.15;59,连收两个十字星的选股公式count(abs((c-o)/o<0.01),2)=2;60,n横盘天数,nl横盘的上下幅度REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),l)<=(nl/100)and ref(v, 1)<ref(ma(v z5)z 1) and cross(v z ma(v,5)) and cross(v,ma(v,10));61,收盘价连续8天都站在5日均线的股票。
count(c>ma(c,5),8)=8;62,振幅大于5%,收盘价大于3.5小于15元,三日均线大于昨日的三日均线,去掉ST 股。