通达信选股公式大全--简单就是美

合集下载

精选的通达信选股指标公式大集合

精选的通达信选股指标公式大集合

简单的选股指标公式大集合这些选股公式对于一些突发奇想很有帮助, 至少对在下是这样! 以下内容于数月前复制于网络, 向原作者致敬!一、次日涨停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=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天内出现信号包括今天,如果不加这个的话,就是限定在今天出信号才选出来,以前的不管;。

精选的通达信选股指标公式大集合

精选的通达信选股指标公式大集合

简单的选股指标公式大集合这些选股公式对于一些突发奇想很有帮助,至少对在下是这样!以下内容于数月前复制于网络,向原作者致敬!一、次日涨停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。

通达信选股公式大全--简单就是美

通达信选股公式大全--简单就是美

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,选股:EXPMA5日与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)<ref(o,1) and c>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倍。

通达信选股公式

通达信选股公式

条件选股公式源码:年认同价:=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;{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。

精选的通达信选股指标公式大集合

精选的通达信选股指标公式大集合

简单的选股指标公式大集合这些选股公式对于一些突发奇想很有帮助,至少对在下是这样!以下内容于数月前复制于网络,向原作者致敬!一、次日涨停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;角度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 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。

10个通达信选股公式

10个通达信选股公式

10个通达信选股公式10个通达信选股公式{量坑拐点}〖量〗:VOL,NODRAW,VOLSTICK;STICKLINE(V>=3*REF(V,1),V/3,V/3,3.9,0),COLORWHITE;STICKLINE(V>=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW;流通〖亿〗:CAPITAL/1000000,LINETHICK0;内外比:DYNAINFO(51),COLORYELLOW,NODRAW;单日量比:V/REF(V,1),COLORWHITE,NODRAW;五日量比:V/(REF(MA(V,5),1)/240*FROMOPEN),COLORYELLOW,NODRA W; 5换:SUM(100*V/CAPITAL,5),LINETHICK0;10换:SUM(100*V/CAPITAL,10),LINETHICK0;20换:SUM(100*V/CAPITAL,20),LINETHICK0;超跌短买支撑价:LLV(LOW,19), COLORLIRED,POINTDOT,LINETHICK4;阻力价:HHV(HIGH,19),COLORLIBLUE,POINTDOT, LINETHICK4;MA5:MA(C,5),COLORWHITE,LINETHICK1;IF(MA5>REF(MA5,1),MA5,DRAWNULL),COLORRED,LINETHIC K2;IF(MA5<ref(ma5,1),ma5,drawnull),colorgreen,linethick2;<p="">MA13:MA(CLOSE,13),COLORYELLOW;MA21:MA(CLOSE,21),COLORMAGENTA;MA34:=MA(CLOSE,34);MA60:MA(CLOSE,60),COLORGREEN;MA120:MA(CLOSE,120),COLORBLUE;QQ:=0,COLORWHITE;MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);JG:=CROSS(MA1,MA2);VOLUME:=VOL,VOLSTICK;MA VOL1:=MA(VOLUME,5);MA VOL2:=MA(VOLUME,10);NL:=CROSS(MA VOL1,MA VOL2);DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2,COLORSTICK;NA:=CROSS(DIF,DEA);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);J:=3*K-2*D;KD:=CROSS(K,D) AND CROSS(J,D);一招定乾坤:DRAWTEXT((JG AND NL AND NA) OR (JG AND NL AND KD) OR (JG AND NA AND KD) OR (NL AND NA AND KD),L*0.94,'一招定乾坤'),COLORYELLOW;X:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20,LOW*0.98,'★短进'),COLORLIMAGENTA;JH9:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*100;DRAWTEXT(CROSS(84,JH9),H*1.02,'★S'),COLORGREEN;空:=EMA(C,5);均衡:=EMA(空,5),COLORWHITE;中轨:=HHV(MA(H,13),13),COLORRED,LINETHICK2;V AR5:=FILTER(均衡>REF(均衡,1)AND 中轨REF(C,1),11);DRAWTEXT(V AR5,L*0.98,'追涨'),COLORMAGENTA;菩提:=MEMA(H,20);般:=MEMA(CLOSE,7),COLORBROWN;若:=MEMA(CLOSE,3),COLORLIBLUE;DRAWICON(LONGCROSS(般,若,0.25) AND 菩提>H ,L*0.98,1),COLORRED; YM:=(H+O+L+3*C)/6;XM:=EMA(100-(100/(1+SUM(IF(YM>REF(YM,1),YM*VOL,0),14)/SUM (IF(YM<ref(ym,1),ym*vol,0),14))),5);< p="">ZM:=DRAWLINE(XM>=HHV(XM,4),XM,XM<=LLV(XM,4),XM, 1);TJ1:=XM=ZM;TJ2:=XM<ref(xm,1);< p="">DRAWTEXT(TJ1 AND TJ2,LOW*0.95,'买进'),COLORYELLOW;趋势线:=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) , , COLORBLUE;DRAWTEXT(CROSS(趋势线,10),LOW*0.90,'底买'),COLORMAGENTA;V AR111:=(((CLOSE - MA(CLOSE,6))/(MA(CLOSE,6)))*(200) + ((CLOSE - MA(CLOSE,24))/(MA(CLOSE,24)))*(200) + ((CLOSE - MA(CLOSE,32))/(MA(CLOSE,32)))*(200))/(3);DRAWICON((V AR111 > 20) AND FILTER((V AR111 < REF(V AR111,1)),5),(HIGH)*(1.02),2),COLORGREEN;RSV99:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;K99:=MA(RSV99,2.5);D99:=MA(K99,2.5);J99:=3*K99-2*D99;JJ99:=J99<20;DRAWTEXT(REF(J99,1)<20 AND EMA(C,20)>REF(EMA(C,20),1) AND NOT(JJ99),LOW*0.92,'超跌短进'),COLORMAGENTA;{坚决全仓}H1:=EMA(C,8);H2:=EMA(H1,20);HH2:=XMA(CLOSE,14);HH3:=MEMA(CLOSE,4);V AR1:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;V AR2:=SMA(V AR1,7,1);V AR3:=SMA(V AR2,5,1);坚决全仓:CROSS(V AR2,V AR3) AND V AR2<20 AND HH2>HH3;四线看涨行情趋势明朗,顺势而为,四线看涨1 、全天的最高价和最低价,都低于四条线,通常都可买在底部2、四条线处在全天的最高价和最低价之间,可以顺势买入==公式源码==EMA5:EMA(C,5),COLOR00FF00;EMA10:EMA(C,10),COLORYELLOW;EMA20:EMA(C,20),COLORFF00FF;{20日均线通常被称为脊梁线} EMA30:EMA(C,30),COLORFFCCCC;{30日均线通常被称为生命线}W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));{并线开花主图}MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;MA1:MA(MID,4),COLORYELLOW;MA2:MA(MID,9),COLORRED;MA3:MA(MID,13),COLORFFCC66;MA4:MA(MID,21),COLORGREEN;MA55:MA(MID,55),LINETHICK1;乖离线:=((C-REF(MA1,1))/20+MA1)*1.20;V AR1:=CROSS(MA1,MA2) AND CROSS(MA1,MA3) AND V>REF(V,1);V AR2:=MA1>REF(MA1,2) AND V>REF(V,1) AND CROSS(C,MA1);V AR3:=EMA(100-(100/(1+SUM(IF(MID>REF(MID,1),MID*VOL,0),14)/SUM(IF(MID<ref(mid,1),mid*vol,0),14))),5);< p="">V AR4:=DRAWLINE(V AR3>=HHV(V AR3,4),V AR3,V AR3<=LLV(V AR3,4),V AR3,1 );V AR5:=V AR3=V AR4;V AR6:=V AR3<="" p="">V AR7:=(((MID - MA(MID,6))/(MA(MID,6)))*(200) + ((MID - MA(MID,24))/(MA(MID,24)))*(200) + ((MID - MA(MID,32))/(MA(MID,32)))*(200))/(3);V AR8:=MA2>=REF(MA2,1) AND CROSS(C,MA1) AND CROSS(C,MA2) AND V>REF(V,1);V AR9:=V AR5 AND V AR6;V AR10:=V AR2 OR V AR8 OR V AR9;STICKLINE(V AR1,L,L-0.09,4,0),COLORYELLOW;DRAWTEXT(V AR1,L-0.13,'金叉'),COLORYELLOW;STICKLINE(CROSS(C,MA2) AND CROSS(C,MA3) AND CROSS(C,MA1),L,L-0.09,4,0),COLORYELLOW;DRAWTEXT(CROSS(C,MA2) AND CROSS(C,MA3) AND CROSS(C,MA1),L-0.13,'并线开花'),COLORYELLOW;STICKLINE(CROSS(C,乖离线),H,H+0.09,4,0),COLOR00FF00;DRAWTEXT(CROSS(C,乖离线) ,H+0.13,'卖点(打点停板不卖)'),COLOR00FF00; STICKLINE(MA3>=REF(MA3,1) AND MA1>=REF(MA1,1) AND CROSS(C,MA3),L,L-0.09,4,0),COLORFFCC66;DRAWTEXT(MA3>=REF(MA3,1) AND MA1>=REF(MA1,1) AND CROSS(C,MA3),L-0.13,'牛象'),COLORRED;STICKLINE(V AR10 AND REF(NOT(V AR10),1),O,O*1.01,2,0),COLORYELLOW; DRAWICON(V AR10 AND REF(NOT(V AR10),1),L,1);DRAWICON((V AR7 > 20) AND FILTER((V AR7 < REF(V AR7,1)),5),(HIGH)*(1.02),2),COLORGREEN;{三线逃顶攻守兼备}{参数:n1 1 100 3n2 1 150 5}N1:=3;N2:=5;{三线逃顶}上升线:EMA(C,N1),COLORRED,LINETHICK2;下降线:EMA(C,N2),COLORGREEN,LINETHICK2;中间线:EMA(下降线,N2),COLORWHITE,LINETHICK2;V ARF1:=COUNT(CROSS(上升线,中间线),2)=1;V ARF2:=COUNT(CROSS(下降线,中间线),2)=1;ZAI:=FILTER(V ARF1 AND V ARF2,2);VV2:=REF(CLOSE,1);VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100; DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2);DRAWTEXT(REF(VV3,1)>81 AND VV3<80,HIGH,'快卖↓'),COLORYELLOW; VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;DRAWTEXT(IF(CLOSEMA(VOL,5)/240 ANDCLOSE>=REF(CLOSE,1)*1.08 ANDCLOSE<ma(close,13)*1.3,1,0),low,'追'),coloryellow;< p=""> V ARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;V ARB:=EMA(0.667*REF(V ARA,1)+0.333*V ARA,5);DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(V ARA>=V ARB AND V ARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');V ARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1) *100;DRAWICON(CROSS(82,V ARR1),HIGH,2);DRAWTEXT(CROSS(82,V ARR1),HIGH,'快卖↓'),COLORYELLOW;V AR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;V AR2:=REF(V AR1,1);V AR3:=SMA(MAX(V AR1-V AR2,0),10,1)/SMA(ABS(V AR1-V AR2),10,1)*100;HY3:=IF(COUNT(V AR3<20,5)>=1 AND COUNT(V AR1=LLV(V AR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);DRAWTEXT(HY3,LOW,'▲注意买入'),COLORRED;量能选股〖量〗:VOL,NODRAW,VOLSTICK;STICKLINE(V>=3*REF(V,1),V/3,V/3,3.9,0),COLORWHITE;STICKLINE(V>=2*REF(V,1),V/2,V/2,3.9,0),COLORYELLOW;流通〖亿〗:CAPITAL/1000000,LINETHICK0;内外比:DYNAINFO(51),COLORYELLOW,NODRAW;单日量比:V/REF(V,1),COLORWHITE,NODRAW;五日量比:V/(REF(MA(V,5),1)/240*FROMOPEN),COLORYELLOW,NODRA W;5换:SUM(100*V/CAPITAL,5),LINETHICK0;10换:SUM(100*V/CAPITAL,10),LINETHICK0;20换:SUM(100*V/CAPITAL,20),LINETHICK0;{波段买点看清趋势,注意量能,波段操作}A1:=REF(CLOSE,2);A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100;波段介入点:IF(A2<19,19,0),COLORWHITE;{快速短线}{P1:2,20,5;P2:2,20,4}80, POINTDOT;20, POINTDOT;V AR1:=LLV(LOW,P1);V AR2:=HHV(HIGH,P1);K: EMA((CLOSE-V AR1)/(V AR2-V AR1)*100,P2),COLORFF9900 , ;D: EMA(0.667*REF(K,1)+0.333*K,2), ,;V ARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);V ARD:=EMA(IF(C< EMA(C,250),V ARC*1000,V ARC*10),3);火焰山:EMA(IF(L<=LLV(L,30),V ARD/2+HHV(V ARD,30),0),3)/618; STICKLINE(火焰山>100,0,火焰山*1.2,8,0);STICKLINE(火焰山>100,0,火焰山,4,1);金包: IF(TROUGHBARS(3,15,1)=0 ANDHIGH>LOW+0.01,20,0),COLORYELLOW ,LINETHICK1 ;V AR3:=PEAKBARS(3,15,1)<10;V AR5:=IF(V AR3=1,2,0);顶:= IF(V AR5=2,2,0);顶A:IF(顶>REF(顶,1),50,0),COLORGREEN;DRAWTEXT(顶A=50,45,'快逃'),COLOR00FF00;DRAWTEXT(金包=20,20,'金包'),COLORRED;回落就买上升趋势:EMA(CLOSE,5),COLORWHITE,LINETHICK2;支撑压力:EMA(CLOSE,21),COLORYELLOW,LINETHICK1;Y:=EMA(CLOSE,10),LINETHICK0;X:=EMA(CLOSE,16),LINETHICK0;STICKLINE(上升趋势<支撑压力,支撑压力,上升趋势,0.1,0),COLOR00FF00,LINETHICK1;DRAWTEXT(CROSS(上升趋势,支撑压力),上升趋势,'★买') ,COLORFF00FF; DRAWTEXT((C<=X)AND(上升趋势>Y),L*0.99,'●'),COLORE66878; DRAWICON((C<=X)AND(上升趋势>Y),L*0.97,4);</ma(close,13)*1.3,1,0),low,'追'),coloryellow;<></ref(mid,1),mid*vol,0),14))),5);<></ref(xm,1);<></ref(ym,1),ym*vol,0),14))),5);<></ref(ma5,1),ma5,drawnull),colorgreen,linethick2;<>。

通达信选股最全公式

通达信选股最全公式

1、通达信选股公式{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 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;{集成了MACD、KDJ、RSI三个指标的底背离};2、老鼠仓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;3、抄底高手{M 15 35 30N 12 32 27D 18 50 42}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>940101 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF (OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5));VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL);VAR6:=(CLOSE-VAR5)/VAR5*100;VAR7:=REF(VAR6,1)+D<0 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)<REF(VAR6,2) AND VAR6-REF(VAR6,1)>1.8 AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND(REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5));VAR4 OR VAR7;3、短线黑马{K 100 140 100}VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR3:=(CLOSE-VAR1)/VAR1*100<-11/K*100;VAR4:=(VAR1-VAR2)/VAR2*100<-22.3/K*100;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF (OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5) <REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF (CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=DMA(CLOSE,VOL/MA(VOL,3)/3);VAR7:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR8:=(CLOSE-VAR6)/VAR6*100<-5;VAR9:=(VAR6-VAR7)/VAR7*100<-18;VARA:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100;VARB:=SMA(VARA,30,1);VARC:=SMA(VARB,50,1);VARD:=VAR8 AND VAR9 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));VARE:=VARD AND COUNT(VARD,2)=1 ;VAR5 OR VARE;4、逆势操作VAR1:=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) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(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) ;5、成交量变异率VR买入WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),N)/SUM((IF(CLOSE<OPEN,VOL,0)+IF(CLOSE=OPEN ,VOL/2,0)),26)*100;VOL变异率VR买入:CROSS(LL,WVR);{N 5 100 26 5}{LL 0 80 70 5};MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA120:=SMA(C,120,1);ZH520:=ABS(MA5-MA20)/MA20*100<=10;ZH530:=ABS(MA5-MA30)/MA30*100<=10;QSXS1:=MA5>REF(MA5,1);QSXS2:=MA20>REF(MA20,1);QSXS3:=MA30>REF(MA30,1);DTPL:=MA20>MA30 AND MA30>MA120;LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3));LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;买:LYKK AND NOT(REF(LYKK,1));虚拟成交量>昨日VOL的2倍的股VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*2.0;ABS(VVOL)-昨日VOL>=0;{大于昨日的2.0倍};成交量是昨日的1.8倍VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*1.8;ABS(VVOL)-昨日VOL>=0;{大于昨日的1.8倍};6、PDI上穿三线选股公式源码:TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);PDI:=DMP*100/TR0,colorred;MDI:=DMM*100/TR0;ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);ADXR:=(ADX+REF(ADX,6))/2;CROSS(PDI,MDI) AND CROSS(PDI,ADX) AND CROSS(PDI,ADXR)今日量比昨放大1倍后三日股价不跌回当日收盘价的选股公式选股公式:{成交量比前一天放大1倍,后3天,股价没有跌破放量那天的收盘价}var1:=v>ref(v,1)*2;ref(var1,3) and count(c>ref(c,3),3)=3;7、倍量柱加三天量减价升喇叭形的真黄金柱公式倍数:=1.9;倍量1:=REF(VOL,3)>倍数*REF(VOL,4) AND REF(C,3)>=REF(O,3);价升量缩:= LLV(C,3)>=REF(L,3) AND HHV(VOL,3)<=REF(VOL,3);连阳:= COUNT(C>=O,4)=4;选股:倍量1 AND 价升量缩 AND 连阳;8、“凹口起柱”理论编写的凹口指标王子老师的平台起柱、过顶起柱、凹口起柱理论真是了不得,十分佩服,这里我冒昧的加一个,那就是顶部起柱,经观察,股票起柱时是主力行为的表现,是主力意图的表现!是主力留下的痕迹!是量柱开口说话的语言!这个指标或许可以帮助朋友们看懂主力的行为意图,看出量柱的语言!T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0 OR T3 AND T1 AND T0 ;下载 (53.76 KB)2010-1-12 21:299、倍量过左峰选股源码--通达信SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1);SR2:=FILTER(SR1,10);SR3:=BACKSET(SR2,10+1);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD));倍量:=VOL/REF(VOL,1)>=2 AND COUNT(CLOSE>OPEN,1) OR LOW>REF(HIGH,1) AND COUNT(OPEN>CLOSE,1) AND VOL/REF(VOL,1)>=2;突破前高:=CROSS(C,前高);XG:突破前高 AND 倍量;10、{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 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;{集成了MACD、KDJ、RSI三个指标的底背离};11、老鼠仓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;12、主力进场VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);XG:(VAR5>REF(VAR5,1) AND VAR5>0 ) OR (VAR5<REF(VAR5,1) AND NOT(VAR5=0)=1);13、60日天量T1:=V=HHV(V,100);T2:=V/REF(VOL,1)>=3;选股:T1 AND T2;14、135均量线选股VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);选股:CROSS(MAVOL1,MAVOL2)OR CROSS(MAVOL1,MAVOL3) OR CROSS(MAVOL2,MAVOL3);15、二次翻红DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=2*(DIF-DEA);FH1:=REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3) AND REF(MACD,3)<REF(MACD,4); FH2:=MACD>=0 AND COUNT(MACD>REF(MACD,1),1)=1;FH3:=FH1 AND FH2 AND EMA(C,13)>REF(EMA(C,13),1);FH4:=FH1 AND FH2 AND ABS((DIF-DEA)/C)<0.018;FH5:=FH1 AND FH2 AND MACD<0.10;二次翻红:=(FH3 OR FH4 OR FH5);低买:=CROSS(DIF,DEA) AND DIF<0;加油:=CROSS(DIF,DEA) AND DIF>0;XG:二次翻红 OR 低买 OR 加油;16、均量互换VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);选股:CROSS(MAVOL2,MAVOL3);17、成交额均量互换AMO:=AMOUNT;MAAMO1:=MA(AMO,5);MAAMO2:=MA(AMO,10);MAAMO3:=MA(AMO,40);XG:CROSS(TJ1,TJ2)AND CROSS(TJ1,TJ3)OR CROSS(MAAMO1,MAAMO2)AND CROSS(MAAMO1,MAAMO3);18、凹口起柱T7:=REF(VOL,6)/REF(VOL,7)>=2;T6:=REF(VOL,5)/REF(VOL,6)>=2;T5:=REF(VOL,5)/REF(VOL,4)>=1.5;T4:=REF(VOL,4)/REF(VOL,3)>=1.5;T3:=REF(VOL,2)/REF(VOL,3)>=1.5;T1:=V/REF(VOL,1)>2;T0:=C>O AND C>REF(C,1);选股:T7 AND T1 AND T0 OR T6 AND T1 AND T0 OR T5 AND T1 AND T0 OR T4 AND T1 AND T0OR T3 AND T1 AND T0;19、黄金柱选股VAR1:=V>REF(V,1)*2;REF(VAR1,3) AND COUNT(C>REF(C,3),3)=3;20、日成交量触及5日均量线M1:=MA(V,5);M2:V > M1;21、早盘量满--一个很管用的预警指标本指标描述的是上午10点前个股成交量与昨天基本相等(指标在上午10点以后就不工作了);这类股票往往是比较强势,只有在10点前成交量达到昨天水平才会预警;其中下跌的股票必须用肉眼给过滤掉。

各种选股公式(通达信)

各种选股公式(通达信)

各种选股公式(通达信)股票公式不明白请查阅:股票公式文件使用以及说明!各种选股公式(通达信)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。

需要注意的是,这些公式仅供参考,并不能保证选出的股票一定符合预期。

在实际操作中,还需要结合市场走势、基本面分析和技术分析等多个因素进行综合考虑。

同时,也需要注意风险控制,合理配置资产,避免过度交易带来的风险。

通达信精准选股公式

通达信精准选股公式

通达信精准选股公式:条件选股公式源码:年认同价:=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;老鼠仓是个很不错的指标,信号发出一般都在一个波段的底部起涨之时。

几个经典实用的通达信条件选股公式(高手归纳)

几个经典实用的通达信条件选股公式(高手归纳)

⼏个经典实⽤的通达信条件选股公式(⾼⼿归纳)今天分享很⽜的指标,供⼤家学习,适合⾃⼰的就是最好的,选⼀款适合你操作就⾏了!记住,都是运⽤通达信来选股的。

1,5⽇均线拐头向上MA1:=MA(CLOSE,5);向下天数:=COUNT(MA1向下天数>4 AND MA1>REF(MA1,1);2,⽼⿏仓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;展开剩余92%EE1:=V<MA(V,5)*1.5;⽼⿏仓:BB1 AND CC1 AND DD1 AND EE1;3,2阳夹1阴选股REF(C,2)>REF(O,2) AND REF(C,1)C>O AND C>=REF(O,1);4,回踩10均线VAR1:=MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30) AND MA(C,30)>MA(C,60);VAR2:=MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) ANDMA(C,30)>REF(MA(C,30),1) AND MA(C,60)>REF(MA(C,60),1);COUNT(VAR1 AND VAR2,3)=3 AND ABS((MA(C,10)-L)/L)*100<0.3 AND C>MA(C,10);5,涨停板敢死队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;6,短线之王VAR1:=(-100)*(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3));CROSS(VAR1,-87) AND OPEN<MA(CLOSE,5) AND CLOSE>=1.099*REF(CLOSE,1) AND INDEXC>0.98*REF(INDEXC,1) AND CLOSE<=1.47*LLV(CLOSE,58);7,主⼒介⼊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;8,中短波选股HZ:=EMA(CLOSE,13);短波:=EMA(HZ,1);中波:=EMA(HZ,26);均线148天:=EMA(C,148);成本:=SUM(AMOUNT,0)/SUM(VOL,0)/100;HZ2:=EMA(HZ,8);CROSS(短波,HZ2);{结合中短波主图使⽤};9,30⽇线低吸AA:=CLOSEBB:=CLOSE>=MA(CLOSE,30);CC:=MA(CLOSE,20)>MA(CLOSE,30);AA AND BB AND CC;10,周KDJ⾦叉A:='KDJ.K#DAY';B:='KDJ.D#DAY';AA:='KDJ.K#WEEK';BB:='KDJ.D#WEEK';周⾦叉:CROSS(AA,BB)AND CROSS(A,B);11,10、20、30、60五条均线粘合条件选股公式MA1:=MA(CLOSE,5);MA2:=MA(CLOSE,10);MA3:=MA(CLOSE,20);MA4:=MA(CLOSE,30);MA5:=MA(CLOSE,60);N5:=(MA1*5-REF(C,4)+C)/5;最⼤:=MAX(MAX(MAX(MAX(MA1,MA2),MA3),MA4),MA5);最⼩:=MIN(MIN(MIN(MIN(MA1,MA2),MA3),MA4),MA5);⽐值:=(最⼤/最⼩-1)*100;粘合:⽐值<2 AND MA1100;12,涨停缩量回调N:=8;M:=13;回踩线:=MA(C,M OR 60);中期线:=MA(C,30);长期线:=MA(C,60);均线多头:=中期线>REF(中期线,1) AND 长期线>REF(长期线,1);⼤阳:=C/REF(C,1)>=1.08;DYSJ:=BARSLAST(⼤阳);跟踪:=DYSJ<=13 AND COUNT(H>REF(L,DYSJ),DYSJ)=DYSJ AND C/REF(C,DYSJ)<0.95;阻击点:=V/REF(V,DYSJ)<0.65 AND L<回踩线 AND C>回踩线;机会:跟踪 AND 阻击点 AND 均线多头,COLOR00FF00;13,K线双底形态选股公式MA5 :=EMA(CLOSE,5);趋势:=MA5-EMA(MA5,2);JCSJ1:=BARSLAST(CROSS(趋势,0))+1;JCSJ2:=JCSJ1+REF(JCSJ1,JCSJ1);双底:IF(JCSJ1=1 AND MA5>REF(MA5,JCSJ2) AND COUNT(趋势<0,4)>=2,1,0);14,横盘放量突破——抓强势股选股LAST((H-L)/REF(C,1)<0.1,20,0) AND VOL>REF(VOL,1)*2 AND C>REF(C,1)*1.03AND 'DMI.PDI'>'DMI.MDI' AND CROSS('DMI.ADX','DMI.ADXR')AND'DMI.ADXR'>'DMI.MDI' AND 'DMI.PDI'>'DMI.ADX' AND'KDJ.D'>REF('KDJ.D',1); 15,MACD的拐点公式DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;MACD:=2*(DIFF-DEA);拐点:ref(macd,2)>ref(macd,1) and ref(macd,1)<macd;16,起爆点选股指标公式起爆:'KDJ.J'-REF('KDJ.J',1)>30 AND C/REF(C,1)>1.043 AND 'MACD.MACD'>0 AND 'MACD.DEA'>0;17,黄⾦坑RSV1:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100;RSV2:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;短线:=SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,14);中线:=SMA(RSV2,5,1)+2*STD(CLOSE,14);RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;长线:=SMA(RSV3,5,1);黄⾦坑:短线<20 AND 中线<20 AND 长线<20;附加:放量收阳来⾃微信公众号平台:李韩薇。

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

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日金叉并且第二天的收盘价在E XPMA 的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)<ref(o,1) and c>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 倍。

xg:cross(c,ma(c,10)) and cross(c,ma(c,20)) and cross(c,ma(c,30)) and v>ref(v,1)*3;17,共三根K 线,第一根K 线为阴线;第二根K 线为阴线线,最高价低于第一根K 线,最低价高于第一根K线;第三根K线阴阳不限,最高价低于第二根K 线,最低价高于第二根K线。

满足后发出信号〜w1:=ref(c,2)<ref(o,2); w2:=ref(h,2)>ref(h,1) and ref(l,2)<ref(l,1);w3:=ref(h,1)>h and ref(l,1)<l;xg:w1 and w2 and w3;18,选出今日成交量大于昨日成交量一成的股票。

xg:v>ref(v,1)*1.1;19,连续 5 天,当日的 5 日均线减前一天的 5 日均线差值小于 1.count((ma(c,5)-ref(ma(c,5),1))<1,5)=5;20,股价上穿 5 周均线: xg:cross(c,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,1)>1 andAMOUNT/CAPITAL*100>2;24,换手:VOL*100/CAPITAL;周期换手:SUM( 换手,10);25 ,流通盘小于4000 万的选股公式xg:CAPITAL/100<4000;26,涨停开盘跌停收盘选股xg:h/ref(c,1)>1.1 and ref(c,1)/l>1.1;27,当天开盘价与收盘价相等的选股公式xg:c=o;28 ,5 日均线向上流通盘小于5000 万换手率大于 3 的选股公式lt:CAPITAL/100<5000;换手:二VOL*100/CAPITAL<3;w1:ma(c,5)>ref(ma(c,5),1);xg:lt and 换手and w1;29,收下影线xg:c>l;30 ,o=l 就没有下引线了,那就:xg:c>l and o>l;31,当日收盘下穿 5 日均价xg:cross(ma(c,5),c);32,最低价小于前一日的最低价但收盘后为阳线。

xg:l<ref(l,1) and c>o; 33,30 日内到本日收盘价下跌20% 的公式xg:hhv(c,30)/c>1.2;34,选周线跳空缺口的个股。

xg:HIGH<REF(LOW,1) ORLOW>REF(HIGH,1);周期选周线35,30 日均线走平或走高的个股xg:ma(c,30)>ref(ma(c,30),1);36,连续 4 天的收盘价格波动幅度在3% 之内连续走平或向上count(abs(c-ref(c,1)/ref(c,1))<0.03 and c>ref(c,1),3)=3;37,下影线长于上影线(c-l)>(h-c);38,收盘价+收盘价的10% (c+c*0.1);39,今天高开的公式c>o;40,今天的量大于等于昨天量的 2 倍,股价上涨xg:v>ref(v,1)*2 andc>ref(c,1);41,今天的量小于昨天量的 2 倍以上,股价上涨xg:v<ref(v,1)*2 andc>ref(c,1);42,大部分股票跌到43 日均线时就会反弹,如果在43 日均线附近买入,短线成功率占90%以上,即时选出还差几分钱就跌到43 日均线的股票。

xg:abs(c-ma(c,43))/ma(c,43)<0.01;43 ,{选出每天换手5%-15% 之间的股票} Var1:=100*VOL/CAPITAL;w1:=var1>5;w2:=var1<15;xg:w1 and w2;44,换手率10 天80% 以上的选股公式sum(VOL/CAPITAL*100,10)>80;45,60 个交易日内,涨幅大于9.9% (涨停)的天数count(c/ref(c,1)>1.099,60);46,昨天跌幅大于3%,今天开盘高开2% 以上的选股公式。

xg:ref(c,1)/ref(c,2)<0.97 and o/ref(c,1)>1.02;47,选出周换手率小于10% 的股票sum(VOL/CAPITAL*100,5)<10;48,成交量创20 日新低,并且股价也创20 日新低xg:v=llv(v,20) and c=llv(c,20);49,5日不涨,绿线收盘选票指标count(c<o,5)=5;50, "今日MACD 等于昨天的MACD , 且macd>0" 的指标DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);xg:macd=ref(macd,1) and macd>051,连续2天收盘价跌破3 0日均线,就显示"卖出"信号a1:count(c<ma(c,30),2)=2;drawtext(a1,c, 卖出),colorgreen;52,股票在这条均线上在8 天以上,上下幅度不大, a1:abs((c-ma(c,120))/ma(c,120))<0.1;xg:count(a1,8)=8;53,连续三天高开高走的选股公式count(o>ref(c,1) and c>o,3)=3; 54,n 天内曾经有m 个涨停count(c/ref(c,1)>1.09,n)>m;55,股价比昨天的高,量比昨天小,放量。

xg:c>ref(c,1) and v<ref(v,1) and ref(v,1)>ref(v,2)*2;56,连续 3 天每天的最低价都比前一天高count(l>ref(c,1),3)=3;57,周量缩小50%或40%或n% a1:vol/capital*100;xg:a1/ref(a1,1)<n/100;58,股价超过五日均价的15% 以上,并给出卖出信号卖出:c/ma(c,5)>1.15;59,连收两个十字星的选股公式count(abs((c-o)/o<0.01),2)=2;60,n 横盘天数,n1 横盘的上下幅度REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)<=(n1/100) and ref(v,1)<ref(ma(v,5),1) and cross(v,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 股。

a1:=h/l>1.05;a2:=c>3.5 and c<15;a3:=ma(c,3)>ref(ma(c,3),1);xg:a1 and a2 and a3;63, 收盘价下有60 天前的远期获利盘n% 。

相关文档
最新文档