选股公式源码大全
通达信成功率高的选股指标公式
通达信成功率高的选股指标公式代码集{逆势买入}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;{股价经历了相当长一段时间下跌后,做空能量逐渐消耗。
成功率100%条件选股公式(源码、无加密、无未来、无时限)
成功率100%条件选股公式(源码、无加密、无未来、无时
限)
成功率100%条件选股公式(源码、无加密、无未来、无时限)
源码如下:
本指标是条件选股指标!
适合大智慧L2版本,不含DDE等指标,免费版的都能用。
Var1:=REF(INDEXC,1);
Var2:=SMA(MAX(INDEXC-Var1,0),6,1)/SMA(ABS(INDEXC-Var1),6,1)*100;
Var3:=Var2 AND Var2>20 AND Var2<90;
Var6:=
CROSS("KD.K#MIN60","KD.D#MIN60")>REF(CROSS("KD.K#MIN6 0","KD.D#MIN60"),1);
高成功选股:Var3 AND Var6;
指标导入的方法:打开大智慧L2--菜单栏上面的指标--指标管理--条件选股--其他--新建--把源码复制粘贴上--填写指标名称--确定。
选股时:打开大智慧--点菜单栏上面的工具--条件选股--其它--找到“高成功率选股”--执行选股OK。
(本指标结合了60分钟的KD指标,因为大智慧L2软件里面的60分钟线就保存20多天的,以前的没有,所以只能这样测试了。
随着时间的推移测试的时间还只能是这20多天的。
既然现在的成功率很高,往前推算或者往后推算成功率也会很高的!)
如果你把本指标放入技术指标,选股的方法参考图
(发帖是为了学习交流,选出的股票仅供参考,据此入市、风险自负)。
股票实战操盘之十个实用选股公式源码
1.攻击选股:用本公式所选出来的个股正处于放量上攻过程之中,日线系统和周线系统都很好A1:=DYNAINFO(4)>1.01*ref(c,1);{高开1%以上}A2:=DYNAINFO(7)>ma(c,10);{现价处于10日均线上方}A3:=ma(c,5)>ma(c,10) and ma(c,10)>ma(c,20);A4:=DYNAINFO(14)>2/100 and L>1.01*ref(c,1);{涨幅大于2%且最低价上涨1%}A5:=DYNAINFO(17)>2;A6:=ma(c,5)>ref(ma(c,5),1);A7:=ma(c,10)>ref(ma(c,10),1);A8:=ma(c,20)>ref(ma(c,20),1);A9:=KDJ.K>KDJ.D;A10:=MA(C#WEEK,5)>REF(MA(C#WEEK,5),1);A11:=MACD.DEA>REF(MACD.DEA,1);A12:=MACD>REF(MACD,1)>0;A13:=KDJ.K#WEEK>=KDJ.D#WEEK;{周KDJ的K值大于等于D值}A14:=MACD.DIF#week>MACD.DEA#WEEK;A15:=A1 AND A2 AND A3 AND A4;A16:=A5 AND A6 AND A7 AND A8;A17:=A9 AND A10 AND A11 AND A12;A18:=A13 AND A14;A15 AND A16 AND A17 AND A18;2.平常选股(1)大盘表现好时的选股:本选股公式用于平时选股,盘中选也可以。
所选出来的股票强于大盘,处于上升趋势,日线系统和周线系统都比较好。
还可以根据本方法选出的个股的多少来判断大盘接下来走强或走弱。
比如,能选出的股票远少于100只,说明很多个股不具备上涨基础,大盘接下来走弱的概率较大。
通达信指标选股源码大全
通达信指标选股源码大全波段王中王选股公式趋势线:=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;。
51个优秀公式指标源码
51个优秀公式指标源码{短线套利主图}ma6:ma(c,6),colorwhite,linethick2;ma18:ma(c,18),color0099ff,linethick2;ma55:ma(c,55),colorff00FF;ma125:ma(c,125),colorffcc66;ma250:ma(c,250),colorblue;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1);LD:=FILTER(C2,10);A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD)); t1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ; t2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD); 波峰:IF(t1,A,A),ColorFF00FF,POINTDOT;STICKLINE(t1,A,A,9,0),ColorFF00FF;波谷:IF(t2,B,B),Color80FF00,POINTDOT;STICKLINE(t2,B,B,9,0),Color80FF00;买进价:=((c-ref(ma6,1))/6+ma6)*1.004;买进条件:=cross(c,买进价) and 买进价>ref(买进价,1); 白K买进:IF(买进条件,l,h),COLORWHITE,POINTDOT; STICKLINE(买进条件,h,l,0,1),colorwhite,linethick2; STICKLINE(买进条件,o,c,4,1),colorwhite,linethick2;加码价:=((c-ref(ma18,1))/18+ma18)*1.004;加码条件:=cross(c,加码价) and 加码价>ref(加码价,1); 黄K加码:IF(加码条件,l,h),coloryellow,POINTDOT; STICKLINE(加码条件,h,l,0,1),coloryellow,linethick2; STICKLINE(加码条件,o,c,4,1),coloryellow,linethick2;{[通达信]开发人自称价值200万的设置为主图}多:EMA(C,3),COLORYELLOW;空:EMA(C,5),COLOR00FF00;均衡:EMA(空,5),COLORWHITE,;VARF1:=COUNT(CROSS(多,均衡),2)=1;VARF2:=COUNT(CROSS(空,均衡),2)=1;ZAI:=FILTER(VARF1 AND VARF2,2);DRAWTEXT(ZAI,均衡,'主升↑'),COLORFF00FF;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 ANDVV3<80,HIGH*1.03,'沽空↓'),COLOR YELLOW;VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;DRAWTEXT(IF(CLOSE<VF1 ANDVOL/240>MA(VOL,5)/240 ANDCLOSE>=REF(CLOSE,1)*1.08 ANDCLOSE<MA(CLOSE,13)*1.3,1,0),LOW,''),COLORRED; VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100; VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5); DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) ANDCOUNT(VARA>=VARB ANDVARA<-17,3) ANDREF(LOW,1)=LLV(LOW,120),1,0),LOW,'注意买入'); VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS( CLOSE-REF(C,1)),6,1)*100;DRAWICON(CROSS(82,VARR1),HIGH,2); DRAWTEXT(CROSS(82,VARR1),HIGH,'短空↓'),COLORYELLOW;VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;VAR2:=REF(VAR1,1);VAR3:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;HY3:=IF(COUNT(VAR3<20,5)>=1 ANDCOUNT(VAR1=LLV(VAR1,10),10)>=1 ANDCLOSE>=OPEN*1.038 ANDVOL>MA(VOL,5)*1.2,1,0);DRAWTEXT(HY3,LOW,'注意买入'),COLORRED;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;DRAWTEXT(CROSS(84,RSI) , HIGH*1.06,'逃顶!'),COLORYELLOW ;S1:=IF((J<11 AND BIAS>-11 AND CROSS( S,F) AND(S-F)>0.010),2,0),STICK,LINETHICK3,COLORGREEN; DRAWTEXT(S1=2,LOW,'关注'), COLORGREEN;中轨:HHV(MA(H,13),13),COLORRED,LINETHICK2;趋势:LLV(MA(H,13),1),COLORGREEN,LINETHICK2;{买卖指标}SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*1 00>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C, 20))*100);AA10:MA(CLOSE,8),COLOR0000FF;AA12:MA(CLOSE,1 2),COLOR0000FF;BB10:=((ATAN((AA10- REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) *10);MA13:=MA(CLOSE,13);STICKLINE((((AA12 <= AA10) AND (BB12 >= 1)) AND (BB10 >=1)),AA10,AA12,4,0),COLOR0080FF;STICKLINE((((AA12 >= AA10) AND (BB10 <= 1)) AND (BB10 <=1)),AA10,AA12,4,0),COLOR00FF00;X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1, 13),1))*3.1416*10;EMA8:=EMA(C,8);DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),EMA8,'∠45上升'),COLORWHITE;压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;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 ANDEE1;DRAWTEXT(FF1,(LOW*0.99),'老鼠仓'),COLOR4080FF;A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5, 1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1); 黑马线:=EMA(A51,5);A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L, 21)))*100;趋势线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2)); DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,(HIGH* 0.97),'▲大黑马'),COLORYELLOW;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE -LC),0),3,1) /SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEX T(CROSS(FF,MA15),(LOW* 0.99),'底背离'),COLORA6E500;DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA ((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25;注意买:=IF((VAR4<10),80,100);RSV:=(C-LLV(L,9))/(HHV(H,9 )-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;超跌:=IF(J<0,10,0);BDDD:=LLV(J,2)=LLV(J,8);买入:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD ANDJ<20,30,0);DRAWTEXT(买入AND 注意买=100 AND 超跌=0,LOW,'短线'),COLOR8000FF;MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA( EMA(ABS(MTM),6),6);买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) ANDCROSS(DX,MA(DX,2)),1,0);{天机均线}EMA250:MA(C,250),COLORRED;EMA6:MA(C,6),COLORRED LINETHICK2;EMA18:MA(C,18),COLORYELLOW;EMA55:MA(C,55),COLORFF00FF;EMA144:MA(C,144),COLORGREEN;EMA288:MA(C,288),COLORBLUE;中线【买入】:=COUNT(CLOSE<EMA18,5)=4 AND CLOSE/EMA18>1.004 AND CROSS(CLOSE,EMA18) AND EMA18>=REF(EMA18,1),LINETHICK,COLORRED;DRAWTEXT(中线【买入】,LOW*0.95,' 中线【买入】'),COLORRED;VL:=REF(LOW,1);VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL ,0),13,1))*100;VAR14:=MA(VAR12,13);VAR15:=LLV(LOW,34);VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH, 54)-LLV(LOW,54))*100,7,1),5,1);VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-L LV(LOW,54))*100,7,1)*16.18-VAR110*10.9;T:=FILTER(IF(VAR111<=VAR110 ANDVAR18>REF(VAR18,1),VAR18*8,0),20); DRAWTEXT(T,LOW-0.4,'←洗盘结束'),COLORFF00FF; DRAWTEXT(T,LOW-0.2,'|'),COLORFF00FF;VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LO W,36))*100;VAR22:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);VAR24:=SMA(VAR23,3,1);VAR25:=CROSS(VAR23,VAR24) AND VAR23<20; DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.4,'←抄底'),COLORRED;DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.2,'|'),COLORR ED;VAR29:=CROSS(VAR24,VAR23) AND VAR23>80; DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.4,'←逃顶'),COLORBLUE;DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.2,'|'),COLORB LUE;{(使用说明:天机均线1.该指标有明确的抄底,逃顶,洗盘结束信号及中线买入信号;2.均线设置周期为250,6,18,55,144,288;3.如果144线向上,出现洗盘结束+抄底为低吸的好机会;4.超短线用5分钟周期,短线用60分钟周期;股市无对错,只有赢和赔! 指标无好坏,操作在个人!在此特别感谢一发千钧大师,本指标沿用了大师的部分理念截图三个,一个跨度较长,一个跨度较短,另一个为60分钟周期,其他自行验证;操作要领1.有时间盯盘的按15分钟短线波段操作,只做"吃鱼身子"的上升行情,2.没时间看盘的按60分钟做波段操作,也能将"鱼"吃干净.3.长线爱好者用周线选股可免盯,看盘之苦,安然做"投资"4.中线爱好者用日线选股可安然做波段,避免坐"电梯".5.短线爱好者用30分钟线看盘可享受"冲浪"的快乐,安全做"投机".6.超短线(头天进、二天出)的用5分钟看盘"永不套牢".7.高手中的高手用1分钟线盯盘可享受"权证"的盛宴,"痛并快乐着".操盘要点1.定位:量身定做一套发挥"自身条件"的操作方案,严守买卖纪律.2.定势:趋势方向的判定,信自己的"感觉",顺势者心自顺.3.定量:针对不同(个股)行情阶段,严控投入资金比例,进退自如,先立于不败之地.4.定律:破底莫入、破顶莫追}高胜算系统操盘线:MA(C,4),COLORRED,LINETHICK3;安全线:MA(C,19),COLORGRAY,LINESTICK,LINETHICK1;牛熊分界线:MA(C,200),COLORYELLOW,CIRCLEDOT,LINETHICK 1;DRAWTEXT(CROSS(安全线,操盘线),H*1.01,'←S卖出'),Color00FF00;DRAWTEXT(CROSS(操盘线,安全线),L*0.99,'←B买入'),Color00FFFF;STICKLINE(CROSS(操盘线,安全线) ANDBACKSET(CLOSE>操盘线,2) AND(操盘线>安全线) AND (CLOSE>安全线),OPEN,CLOSE,2,1),COLORYELLOW;STICKLINE(CROSS(安全线,操盘线) ANDBACKSET(CLOSE<操盘线,2) AND(操盘线<安全线),OPEN,CLOSE,2,1);DRAWICON(CROSS(操盘线,安全线),L*0.98,1); DRAWICON(CROSS(安全线,操盘线),H*1,2);通达信主图公式:垂帘听股MA5:=MA(C,5);A:=(3*C+L+O+H)/6;垂帘:(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*R EF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+ 10*REF(A,10)+9*REF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+ 5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/21 0,COLORRED,POINTDOT;听股:MA(垂帘,13),COLORFFCCCC,CIRCLEDOT;ZAR1:=SLOPE(EMA(CLOSE,2),5)*15+C;ZAR2:=EMA(ZAR1,5);ZARA:=EMA(EMA(EMA(EMA(EMA(EMA(EMA(EMA(ZAR 2,5),5),5),5),5),5),5),5);ZARB:=BARSLAST(CROSS(CLOSE,ZARA));ZARC:=BARSLAST(CROSS(ZARA,CLOSE)); STICKLINE(CLOSE<ZARA,REF(CLOSE,ZARC),REF(C LOSE,ZARC),12,0),LINETHICK2,COLORFFCCCC; STICKLINE(CLOSE>ZARA ANDCLOSE>REF(CLOSE,ZARB),REF(CLOSE,ZARB),垂帘,0.2,0),COLORFFC8FF;STICKLINE(CLOSE>ZARA ANDCLOSE>REF(CLOSE,ZARB),REF(CLOSE,ZARB),REF (CLOSE,ZARB),12,0),COLORFFC8FF,LINETHICK2; {上涨:=0,COLORFFC8FF;}STICKLINE(CLOSE<ZARA ANDCLOSE<REF(CLOSE,ZARC),REF(CLOSE,ZARC),垂帘,0.2,0),COLOR00FF00;{止盈止损:0,COLOR00FF00;}VAR41:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(L OW,34)),3);VAR42:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);VAR4A:=REF(VAR41,1)>92 AND VAR41<92; DRAWTEXT(VAR4A,H+0.12,'●短卖'),COLOR00FF00;STICKLINE(C>=O,H,L,0,0),COLORRED; STICKLINE(C<O,H,L,0,0),COLORFFFF52; STICKLINE(C>=O,C,O,4,1),COLORRED; STICKLINE(C<O,C,O,4,0),COLORFFFF52;MA13:MA(C,13),COLORWHITE,LINETHICK2;MA55:=MA(C,55),COLORFF00FF;MA125:=MA(C,125),COLORFFCC66;MA250:=MA(C,250),COLORBLUE;{STICKLINE(CROSS(MA5,听股) AND MA5>听股AND C>O,MA13,MA13-0.09,4,0),COLORYELLOW;} DRAWTEXT(CROSS(MA5,听股) AND MA5>听股AND C>O,MA13-0.12,'垂帘听股'),COLORWHITE;T:=BARSLAST(L>REF(H,1));E:=COUNT(L<REF(H,T+1),T)<2;STICKLINE(L<REF(H,T+1 ) ANDE,L,L-0.09,4,0),COLOR0099FF;DRAWTEXT(L<REF(H,T+1 ) AND E,L-0.12,'缺口回补'),COLOR0099FF;VLL:=CROSS(MA(C,13),MA(C,21));DRAWTEXT(VLL,M A13,'●圆弧底'),COLORYELLOW;精品均线战法主图公式集{短线套利主图}ma6:ma(c,6),colorwhite,linethick2;ma18:ma(c,18),color0099ff,linethick2;ma55:ma(c,55),colorff00FF;ma125:ma(c,125),colorffcc66;ma250:ma(c,250),colorblue;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1);B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1);HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);A:=REF(C,BARSLAST(HD));B:=REF(C,BARSLAST(LD));t1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;t2:=BARSLAST(HD)>BARSLAST(LD) ANDNOT(LD);波峰:IF(t1,A,A),ColorFF00FF,POINTDOT;STICKLINE(t1,A,A,9,0),ColorFF00FF;波谷:IF(t2,B,B),Color80FF00,POINTDOT;STICKLINE(t2,B,B,9,0),Color80FF00;买进价:=((c-ref(ma6,1))/6+ma6)*1.004;买进条件:=cross(c,买进价)and买进价>ref(买进价,1);白K买进:IF(买进条件,l,h),COLORWHITE,POINTDOT; STICKLINE(买进条件,h,l,0,1),colorwhite,linethick2; STICKLINE(买进条件,o,c,4,1),colorwhite,linethick2;加码价:=((c-ref(ma18,1))/18+ma18)*1.004;加码条件:=cross(c,加码价)and加码价>ref(加码价,1);黄K加码:IF(加码条件,l,h),coloryellow,POINTDOT; STICKLINE(加码条件,h,l,0,1),coloryellow,linethick2; STICKLINE(加码条件,o,c,4,1),coloryellow,linethick2;{指标要点:白K买进,黄K加码.指标原理:短线均线设为6日和18日。
通达信20个高准确率选股公式源码
通达信20个高准确率选股公式源码是不是每次看收盘的涨停股望而兴叹,明明自己看过这个股票,当时为什么没买!都是对自己没有信心的表现。
我也分享20个高准确率的选股公式,有的含未来,仅供参考,结合指标分析。
推荐20个高成功率选股公式之一Var00:=LWINNER(1,CLOSE);Var1:=FORCAST(Var00,10);Var2:=MA(Var1,3);Var3:=MA(Var2,12);Var4:=MA(Var3,16);Var5:=MA(Var4,31);Var6:=MA(Var5,55);Var7:=Var5; Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;Var1h:=INDEXC;Var2h:=MA(Var1h,6);Var3h:=MA(Var1h,24);Var4h:=MA(Var1h,32);Var5h:=MA(Var1h,62);Var6h:=MA(Var1h,105);Var7h:=Var5h; Var8h:=Var4h>Var2h*1.11 AND Var3h>Var2h*1.095;Var9h:=Var2h>Var1h*0.95;pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) and ref(c,1)=ref(o,1)and ref(h,1)=ref(c,1) and ref(c,1)>0,0,1))>0;(Var7h AND Var8h AND Var9h AND CLOSE/COST(8)<=0.7985 and (count(c=l,4)<3 or c>ref(c,1)))and pt orVar7 and Var8 and Var9 and CLOSE/COST(5)<=0.8 AND((Var1>OPEN OR Var1>REF(OPEN,1) ORREF(Var1,1)))====================================== ========================================= =====推荐20个高成功率选股公式之二条件选股公式:BFBZ (20天10%利润,成功率98.52%信号量2209) 缺省周期:日线Var1:=INDEXC;Var2:=MA(Var1,6);Var3:=MA(Var1,24);Var4:=MA(Var1,32);Var5:=MA(Var1,62);Var6:=MA(Var1,105);Var7:=Var5<REF(Var5,1) AND Var6<REF(Var6,1) AND Var5<Var6*0.98;Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;Var7 AND Var8 AND Var9 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));====================================== ====================================== 推荐20个高成功率选股公式之三条件选股公式:魔鬼组合 (99.65% 缺省周期:日线Var2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);Var3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;Var4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;Var5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;Var6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;Var7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;Var8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;Var9:=(Var3+Var4+Var5+Var6+Var7+Var8)/6;VarA:=EMA(Var9,3);VarB:=ABS(Var6-Var8);VarC:=(Var9+VarB)/2;VarD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VarE:=VarD+VarC;VarF:=IF(Var2>0 AND VarE<0,200,0);Var10:=IF(VarC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);Var11:=IF(VarE<0 AND Var10=-50,100,0);Var12:=MA(CLOSE,3);Var13:=REF(CLOSE,2)*0.865;Var14:=REF(CLOSE,13)*0.772;Var15:=MIN(Var13,Var14);Var16:=100*VOL/CAPITAL;Var17:=MA(CLOSE,13);Var18:=IF((CLOSE-Var15)/CLOSE<0.03 AND SUM(Var16,5)/5<1.8,1,0);Var19:=IF(Var18>0 AND (Var10<0 OR Var2>0),100,0);Var1A:=Var19;Var1B:=IF(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0) AND Var19<10,50,0);Var1C:=(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0);Var1D:=VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;Var1E:=Var1C OR Var1D;g:=MA(CLOSE,80)-MA(CLOSE,10)/3;aaa:=Var1A and CLOSE<g;Var2a:=1;Var3a:=Var2a*(CLOSE-MA(CLOSE,33))/MA(CLOSE,33)*100;bbb:=HHV(CLOSE,13)/CLOSE>1.15 AND HIGH/LOW>1.08 AND CROSS(-30,Var3);Var1bb:=INDEXC;Var2b:=MA(Var1bb,6);Var3b:=MA(Var1bb,24);Var4b:=MA(Var1bb,32);Var5b:=MA(Var1bb,62);Var6b:=MA(Var1bb,105);Var7b:=Var5b<REF(Var5b,1) AND Var6b<REF(Var6b,1) AND Var5b<Var6b*0.98;Var8b:=Var4b>Var2b*1.11 AND Var3b>Var2b*1.095;Var9b:=Var2b>Var1bb*0.95;ccc:=Var7b AND Var8b AND Var9b AND CLOSE/COST(8)<=0.8 AND(CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));Var1cc:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2c:=DMA(CLOSE,VOL/MA(VOL,33)/33);Var3c:=(CLOSE-Var1cc)/Var1cc*100<-11;Var4c:=(Var1cc-Var2c)/Var2c*100<-22.3;Var5c:=Var3c AND Var4c;ddd:=Var5c 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)) ;A1:=INDEXC;A2:=MA(A1,5);A3:=MA(A1,20);A4:=MA(A1,30);B1:=A4>A2*1.08 AND A3>A2*1.055;B2:=A2>A1*1.03;B3:=B1 AND B2;M1:=MA(C,5);M2:=MA(C,10);M3:=M1<M2;N1:=(M1-C)/C>(9/100);N2:=(M2-M1)/M1>0.05;N3:=(H>L*1.07) AND COUNT(H>L*1.04,5)>2;N4:=COUNT(M3,7)>=7;N5:=N1 AND N2 AND N3 AND N4;eee:=B3 AND N5;ff:=(ref(c,32)-close)/ref(c,32)>=0.385;fff:=ccc and ff;Xar1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Xar2:=(CLOSE-xar1)/xar1*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;Xar3:=(CLOSE-ref(CLOSE,5))/CLOSE*100<-9;当前获利:=WINNER(CLOSE);大盘涨跌:=ema((INDEXC-ma(INDEXC,10))/INDEXC*100,14)<-4.9;换手率:=(ma(v,5)-VOL)/CAPITAL*100<0.8;量能变化:=(vol-MA(vol,21))/vol*100;买入信号:=大盘涨跌 AND Xar3 AND 当前获利<0.12 AND换手率 AND 量能变化>18;{飞雪迎春:(Xar2<-8.1 AND 买入信号=1);}{DRAWTEXT(飞雪迎春=1,0.8,'飞雪迎春' );}gg1:=大盘涨跌 AND Xar3 AND 当前获利<0.12 AND换手率 AND 量能变化>18;ggg:=aaa and gg1;(aaa and bbb) or (aaa and ccc) or (aaa and ddd) or (aaa and eee)or fff or ggg============================================================================ 推荐20个高成功率选股公式之四条件选股公式:飞鹰优化 (90.87%缺省周期:日线Var1:=CLOSE/MA(CLOSE,40)*100<78;Var2:=CLOSE/MA(CLOSE,60)*100<74;Var3:=HIGH>LOW*1.051;Var4:=Var3 AND COUNT(Var3,5)>1;Var4 AND (Var1 OR Var2) andma(c,27)/close>1.169 and ma(c,17)/close>1.158 andclose<ma(c,120) and ma(c,60)<ma(c,120) and ma(c,60)>ma(c,30) and "cci">-210============================================================================ 推荐20个高成功率选股公式之五条件选股公式:BIMOWANG (成功率93.12 信号3736 缺省周期:日线Var1:=EMA(WINNER(CLOSE)*70,3);Var2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);Var3:=CLOSE/MA(CLOSE,40)*100<76;Var4:=CLOSE/MA(CLOSE,60)*100<74;Var5:=HIGH>LOW*1.051;Var6:=Var5 AND COUNT(Var5,5)>1;Var6 AND (Var3 OR Var4) AND Var2<20 AND Var1<20AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;============================================================================ 推荐20个高成功率选股公式之六条件选股公式:股神选股(20天10利润成功率92.88% 信号量4310 缺省周期:日线参数描述: N(1,30,22)N2(1,10,5)N3(1,5,3)N4(-50,0,-30)Var1:=IF(DATE>=1031231, 0, 1);Var2:=CLOSE<0.980*REF(CLOSE, 1);Var3:=OPEN<REF(CLOSE, 1);Var4:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100*Var1;Var5:=(CLOSE-REF(OPEN, 29))/REF(OPEN, 29)*100*Var1;Var6:=MA(COST(N)/LOW, N3);Var7:=Var6>1.5 AND Var4>N2 AND Var5<N4;Q:Var7 OR (COUNT(Var7, 10) AND Var2 OR COUNT(Var7, 20) AND Var3)*Var1;====================================== ====================================== 推荐20个高成功率选股公式之七原公式加密,以下源码是从网上找的,不知是否与原公式一样,还请高手特别版。
通达信选股最全公式
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点前成交量达到昨天水平才会预警;其中下跌的股票必须用肉眼给过滤掉。
通达信 几种均线实用的选股 指标源码
通达信几种均线实用的选股指标源码1、四合一金叉选股公式一个5日均线金叉10日均线,成交量5日均量金叉10日均量,MACD金叉,KDJ 金叉,上面四个条件满足三个同时金叉就可以成立的选股公式: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;2、均价线,均量线,KDJ三金叉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) ANDV>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);3、5、10 日线,5、10日均量线,MACD。
通达信选股最全公式
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)>CANDREF(DIFF,A1+1)<DIFFANDCROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>CANDREF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3)ANDCROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>CANDREF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24)ANDCROSS("RSI.RSI1"(6,12,24) ,"RSI.RSI2"(6,12,24));底背离:B1〉OORB2>0ORB3〉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;老鼠仓:BB1ANDCC1ANDDD1ANDEE1;3、抄底高手{M153530N123227D185042}VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;VAR3:=VAR1ANDVAR2;VAR4:=VAR1ANDVAR2ANDCOUNT(VAR3,2)=1ANDDATE>940101AND(CLOSE>OPENORCLOSE<OPEN)AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07AND(REF(OPEN,1)>REF(CLOSE,1)ORREF(OPEN,1)<REF(CLOSE,1))AND(REF(OPEN,2)>REF(CLOSE,2)ORREF(OPEN,2)<REF(CLOSE,2))AND(REF(OPEN,3)>REF(CLOSE,3)ORREF(OPEN,3)<REF(CLOSE,3))AND(REF(OPEN,4)>REF(CLOSE,4)ORREF(OPEN,4)<REF(CLOSE,4))AND(REF(OPEN,5)>REF(CLOSE,5)ORREF(OPEN,5)<REF(CLOSE,5));VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL);VAR6:=(CLOSE-VAR5)/VAR5*100;VAR7:=REF(VAR6,1)+D<0ANDVAR6>REF(VAR6,1)ANDREF(VAR6,1)<REF(VAR6,2)ANDVAR6-REF(VAR6,1)>1.8AND(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));VAR4ORVAR7;{K100140100}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:=VAR3ANDVAR4AND(OPEN>CLOSEOROPEN<CLOSE)AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07AND(REF(CLOSE,1)>REF(OPEN,1)ORREF(CLOSE,1)<REF(OPEN,1))AND(REF(OPEN,2)>REF(CLOSE,2)ORREF(OPEN,2)<REF(CLOSE,2))AND(REF(OPEN,3)>REF(CLOSE,3)ORREF(OPEN,3)<REF(CLOSE,3))AND(REF(OPEN,4)>REF( CLOSE,4)ORREF(OPEN,4)<REF(CLOSE,4))AND(REF(OPEN,5)>REF(CLOSE,5)ORREF(OPEN,5)<REF(CLOSE,5))AND(REF (OPEN,6)>REF(CLOSE,6)ORREF(OPEN,6)<REF(CLOSE,6))AND(REF(OPEN,7)>REF(CLOSE,7)ORREF(OPEN,7)<REF(CLO SE,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:=VAR8ANDVAR9AND(OPEN>CLOSEOROPEN<CLOSE)AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05AND(REF(CLOSE,1)>REF(OPEN,1)ORREF(CLOSE,1)<REF(OPEN,1));VARE:=VARDANDCOUNT(VARD,2)=1;VAR5ORVARE;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:=VAR3ANDVAR4AND(OPEN>CLOSEOROPEN<CLOSE)AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05AND(REF(CLOSE,1)>REF(OPEN,1)ORREF(CLOSE,1)<REF(OPEN,1))AND(REF(OPEN,2)>REF(CLOSE,2)ORREF(OPEN,2)<REF(CLOSE,2))AND(REF(OPEN,3)>REF(CLOSE,3)ORREF(OPEN,3)<REF(CLOSE,3))AND(REF(OPEN,4)>REF( CLOSE,4)ORREF(OPEN,4)<REF(CLOSE,4))AND(REF(OPEN,5)>REF(CLOSE,5)ORREF(OPEN,5)<REF(CLOSE,5))AND(REF(OPEN,6)>REF(CLOSE,6)ORREF(OPEN,6)<REF(CLOSE,6))AND(REF(OPEN,7)>REF(CLOSE,7) ORREF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6ANDVAR9<23ANDCOUNT(VAR6,2)=1AND(OPEN>CLOSEOROPEN<CLOSE)ANDOPEN/REF(CLOSE,1)>0.96;(VAR5ORVARA);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);{LL080705};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>MA30ANDMA30>MA120;LYT:=DTPLANDQSXS2ANDQSXS3ANDCOUNT(QSXS1,4)<=1;GJHS:=C>MA5AND((QSXS1ANDNOT(REF(QSXS1,1)))ORC>REF(C,3));LYKK:=GJHSAND(ZH520ORZH530)ANDLYT;买:LYKKANDNOT(REF(LYKK,1));虚拟成交量〉昨日VOL的2倍的股VVOL:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日V0L:=REF(V0L,l)*2.0;ABS(VVOL)-昨日VOL>=0;{大于昨日的2.0倍};成交量是昨日的1.8倍VVOL:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*1.8;ABS(VVOL)-昨日VOL>=0;{大于昨日的1.8倍};6、PDI上穿三线选股公式源码:TR0:=SUM(MAX(MAX(HIGH-L0W,ABS(HIGH-REF(CL0SE,l))),ABS(L0W-REF(CL0SE,l))),14);HD:=HIGH-REF(HIGH,1);LD:=REF(LOW,1)-LOW;DMP:=SUM(IF(HD>0ANDHD〉LD,HD,0),14);DMM:=SUM(IF(LD>0ANDLD〉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)ANDCROSS(PDI,ADX)ANDCROSS(PDI,ADXR)今日量比昨放大1倍后三日股价不跌回当日收盘价的选股公式选股公式:{成交量比前一天放大1倍,后3天,股价没有跌破放量那天的收盘价}var1:=v>ref(v,1)*2;ref(var1,3)andcount(c>ref(c,3),3)=3;7、倍量柱加三天量减价升喇叭形的真黄金柱公式倍数:=1.9;倍量1:=REF(VOL,3)〉倍数*REF(V0L,4)ANDREF(C,3)〉=REF(O,3);价升量缩:=LLV(C,3)>=REF(L,3)ANDHHV(VOL,3)<=REF(VOL,3);连阳:=COUNT(C>=O,4)=4;选股:倍量1AND价升量缩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;TO:=C〉OANDC〉REF(C,1);选股:T7ANDT1ANDT0ORT6ANDT1ANDT0ORT5ANDT1ANDT0ORT4ANDT1ANDT0 ORT3ANDT1ANDT0;下载(53.76KB)2010-1-1221:299、倍量过左峰选股源码一通达信SRl:=REF(HIGH,10)=HHV(HIGH,2*10+l); SR2:=FILTER(SR1,1O);SR3:=BACKSET(SR2,10+l);HD:=FILTER(SR3,10);前高:=REF(H,BARSLAST(HD)); 8.60'^71:348664.00MV2:223049.20MV3:145995.53倍量:=VOL/REF(VOL,1)〉=2ANDCOUNT(CLOSE〉OPEN,1)ORLOW〉REF(HIGH,1)ANDCOUNT(OPEN〉CLOSE,1)ANDVOL/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)>CANDREF(DIFF,A1+1)<DIFFANDCROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3)," KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>CANDREF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3)ANDCROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>CANDREF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24)ANDCROSS("RSI.RSI1"(6,12,24) ,"RSI.RSI2"(6,12,24));底背离:Bl〉0ORB2>0ORB3>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;老鼠仓:BB1ANDCC1ANDDD1ANDEE1;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)ANDVAR5>0)OR(VAR5<REF(VAR5,1)ANDNOT(VAR5=0)=1);13、60日天量T1:=V=HHV(V,100);T2:=V/REF(VOL,1)>=3;选股:T1ANDT2;14、135均量线选股VOLUME:=VOL;MAVOL1:=MA(VOLUME,5);MAVOL2:=MA(VOLUME,35);MAVOL3:=MA(VOLUME,135);选股:CROSS(MAVOL1,MAVOL2)ORCROSS(MAVOL1,MAVOL3)ORCROSS(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)ANDREF(MACD,2)<REF(MACD,3)ANDREF(MACD,3)<REF(MACD,4);FH2:=MACD>=0ANDCOUNT(MACD>REF(MACD,1),1)=1;FH3:=FH1ANDFH2ANDEMA(C,13)>REF(EMA(C,13),1);FH4:=FH1ANDFH2ANDABS((DIF-DEA)/C)<0.018;FH5:=FH1ANDFH2ANDMACD<0.10;二次翻红:=(FH3ORFH4ORFH5);低买:=CROSS(DIF,DEA)ANDDIF〈O;加油:=CROSS(DIF,DEA)ANDDIF>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)ANDCROSS(TJ1,TJ3)ORCROSS(MAAMO1,MAAMO2)ANDCROSS(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>OANDC>REF(C,1);选股:T7ANDT1ANDTOORT6ANDT1ANDTOORT5ANDT1ANDTOORT4ANDT1ANDTOORT3ANDT1ANDT0;19、黄金柱选股VAR1:=V>REF(V,1)*2;REF(VAR1,3)ANDCOUNT(C>REF(C,3),3)=3;20、日成交量触及5日均量线M1:=MA(V,5);M2:V>M1;21、早盘量满个很管用的预警指标本指标描述的是上午10点前个股成交量与昨天基本相等(指标在上午10点以后就不工作了);这类股票往往是比较强势,只有在10点前成交量达到昨天水平才会预警;其中下跌的股票必须用肉眼给过滤掉。
通达信20个高准确率选股公式源码
以下是通达信20个高准确率选股公式源码(无源码的请下载附件导入)通达信20个高准确率选股公式源码是不是每次看收盘的涨停股望而兴叹,明明自己看过这个股票,当时为什么没买!都是对自己没有信心的表现。
我也分享20个高准确率的选股公式,有的含未来,仅供参考,结合指标分析。
推荐20个高成功率选股公式之一Var00:=LWINNER(1,CLOSE);Var1:=FORCAST(Var00,10);Var2:=MA(Var1,3);Var3:=MA(Var2,12);Var4:=MA(Var3,16);Var5:=MA(Var4,31);Var6:=MA(Var5,55);Var7:=Var5; Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;Var1h:=INDEXC;Var2h:=MA(Var1h,6);Var3h:=MA(Var1h,24);Var4h:=MA(Var1h,32);Var5h:=MA(Var1h,62);Var6h:=MA(Var1h,105);Var7h:=Var5h; Var8h:=Var4h>Var2h*1.11 AND Var3h>Var2h*1.095;Var9h:=Var2h>Var1h*0.95;pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) and ref(c,1)=ref(o,1)and ref(h,1)=ref(c,1) and ref(c,1)>0,0,1))>0;(Var7h AND Var8h AND Var9h AND CLOSE/COST(8)<=0.7985and (count(c=l,4)<3 or c>ref(c,1)))and pt orVar7 and Var8 and Var9 and CLOSE/COST(5)<=0.8 AND((Var1>OPEN OR Var1>REF(OPEN,1) ORREF(Var1,1)))=============================================================================== =====推荐20个高成功率选股公式之二条件选股公式:BFBZ (20天10%利润,成功率98.52%信号量2209) 缺省周期:日线Var1:=INDEXC;Var2:=MA(Var1,6);Var3:=MA(Var1,24);Var4:=MA(Var1,32);Var5:=MA(Var1,62);Var6:=MA(Var1,105);Var7:=Var5<REF(Var5,1) AND Var6<REF(Var6,1) AND Var5<Var6*0.98;Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;Var7 AND Var8 AND Var9 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));============================================================================推荐20个高成功率选股公式之三条件选股公式:魔鬼组合(99.65% 缺省周期:日线Var2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);Var3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;Var4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;Var5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;Var6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;Var7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;Var8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;Var9:=(Var3+Var4+Var5+Var6+Var7+Var8)/6;VarA:=EMA(Var9,3);VarB:=ABS(Var6-Var8);VarC:=(Var9+VarB)/2;VarD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VarE:=VarD+VarC;VarF:=IF(Var2>0 AND VarE<0,200,0);Var10:=IF(VarC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);Var11:=IF(VarE<0 AND Var10=-50,100,0);Var12:=MA(CLOSE,3);Var13:=REF(CLOSE,2)*0.865;Var14:=REF(CLOSE,13)*0.772;Var15:=MIN(Var13,Var14);Var16:=100*VOL/CAPITAL;Var17:=MA(CLOSE,13);Var18:=IF((CLOSE-Var15)/CLOSE<0.03 AND SUM(Var16,5)/5<1.8,1,0);Var19:=IF(Var18>0 AND (Var10<0 OR Var2>0),100,0);Var1A:=Var19;Var1B:=IF(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0) AND Var19<10,50,0);Var1C:=(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0);Var1D:=VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;Var1E:=Var1C OR Var1D;g:=MA(CLOSE,80)-MA(CLOSE,10)/3;aaa:=Var1A and CLOSE<g;Var2a:=1;Var3a:=Var2a*(CLOSE-MA(CLOSE,33))/MA(CLOSE,33)*100;bbb:=HHV(CLOSE,13)/CLOSE>1.15 AND HIGH/LOW>1.08 AND CROSS(-30,Var3); Var1bb:=INDEXC;Var2b:=MA(Var1bb,6);Var3b:=MA(Var1bb,24);Var4b:=MA(Var1bb,32);Var5b:=MA(Var1bb,62);Var6b:=MA(Var1bb,105);Var7b:=Var5b<REF(Var5b,1) AND Var6b<REF(Var6b,1) AND Var5b<Var6b*0.98; Var8b:=Var4b>Var2b*1.11 AND Var3b>Var2b*1.095;Var9b:=Var2b>Var1bb*0.95;ccc:=Var7b AND Var8b AND Var9b AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));Var1cc:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2c:=DMA(CLOSE,VOL/MA(VOL,33)/33);Var3c:=(CLOSE-Var1cc)/Var1cc*100<-11;Var4c:=(Var1cc-Var2c)/Var2c*100<-22.3;Var5c:=Var3c AND Var4c;ddd:=Var5c 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)) ;A1:=INDEXC;A2:=MA(A1,5);A3:=MA(A1,20);A4:=MA(A1,30);B1:=A4>A2*1.08 AND A3>A2*1.055;B2:=A2>A1*1.03;B3:=B1 AND B2;M1:=MA(C,5);M2:=MA(C,10);M3:=M1<M2;N1:=(M1-C)/C>(9/100);N2:=(M2-M1)/M1>0.05;N3:=(H>L*1.07) AND COUNT(H>L*1.04,5)>2;N4:=COUNT(M3,7)>=7;N5:=N1 AND N2 AND N3 AND N4;eee:=B3 AND N5;ff:=(ref(c,32)-close)/ref(c,32)>=0.385;fff:=ccc and ff;Xar1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Xar2:=(CLOSE-xar1)/xar1*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;Xar3:=(CLOSE-ref(CLOSE,5))/CLOSE*100<-9;当前获利:=WINNER(CLOSE);大盘涨跌:=ema((INDEXC-ma(INDEXC,10))/INDEXC*100,14)<-4.9;换手率:=(ma(v,5)-VOL)/CAPITAL*100<0.8;量能变化:=(vol-MA(vol,21))/vol*100;买入信号:=大盘涨跌AND Xar3 AND 当前获利<0.12 AND换手率AND 量能变化>18;{飞雪迎春:(Xar2<-8.1 AND 买入信号=1);}{DRAWTEXT(飞雪迎春=1,0.8,'飞雪迎春' );}gg1:=大盘涨跌AND Xar3 AND 当前获利<0.12 AND换手率AND 量能变化>18;ggg:=aaa and gg1;(aaa and bbb) or (aaa and ccc) or (aaa and ddd) or (aaa and eee)or fff or ggg============================================================================推荐20个高成功率选股公式之四条件选股公式:飞鹰优化(90.87%缺省周期:日线Var1:=CLOSE/MA(CLOSE,40)*100<78;Var2:=CLOSE/MA(CLOSE,60)*100<74;Var3:=HIGH>LOW*1.051;Var4:=Var3 AND COUNT(Var3,5)>1;Var4 AND (Var1 OR Var2) andma(c,27)/close>1.169 and ma(c,17)/close>1.158 andclose<ma(c,120) and ma(c,60)<ma(c,120) and ma(c,60)>ma(c,30) and "cci">-210============================================================================推荐20个高成功率选股公式之五条件选股公式:BIMOWANG (成功率93.12 信号3736 缺省周期:日线Var1:=EMA(WINNER(CLOSE)*70,3);Var2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);Var3:=CLOSE/MA(CLOSE,40)*100<76;Var4:=CLOSE/MA(CLOSE,60)*100<74;Var5:=HIGH>LOW*1.051;Var6:=Var5 AND COUNT(Var5,5)>1;Var6 AND (Var3 OR Var4) AND Var2<20 AND Var1<20AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;============================================================================推荐20个高成功率选股公式之六条件选股公式:股神选股(20天10利润成功率92.88% 信号量4310 缺省周期:日线参数描述:N(1,30,22)N2(1,10,5)N3(1,5,3)N4(-50,0,-30)Var1:=IF(DATE>=1031231, 0, 1);Var2:=CLOSE<0.980*REF(CLOSE, 1);Var3:=OPEN<REF(CLOSE, 1);Var4:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100*Var1;Var5:=(CLOSE-REF(OPEN, 29))/REF(OPEN, 29)*100*Var1;Var6:=MA(COST(N)/LOW, N3);Var7:=Var6>1.5 AND Var4>N2 AND Var5<N4;Q:Var7 OR (COUNT(Var7, 10) AND Var2 OR COUNT(Var7, 20) AND Var3)*Var1;============================================================================推荐20个高成功率选股公式之七原公式加密,以下源码是从网上找的,不知是否与原公式一样,还请高手特别版。
选股公式源码大全
选股公式源码大全(一)一、以下公式仅供学习研究之用;二、选股公式只能起到一个条件过滤的作用,具体操作还得综合其他技术面、基本面等;三、不同的行情要用不同的方式,不可能一劳永逸;一、{选股公式}ZLC:= EMA((WINNER(CLOSE) * 70),3);SHC:= EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),3);主力控盘:= ((ZLC / (ZLC+ SHC)) * 100);上限:= HHV(主力控盘,20);下限:= LLV(主力控盘,20);中线:=(上限+ 下限)/2;A:=60;B:=10;抄低:CROSS(主力控盘,B);二){选股公式}LC := REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;跌破:CROSS(20,RSI);三){简单实用选股公式}公式名:波段M3:MA((CLOSE*2+H+L)/4,3);M3_3:MA(M3,3),COLORGREEN;选股公式:M3:=MA((CLOSE*2+H+L)/4,3);M3_3:=MA(M3,3);xg:cross(M3,M3_3);四){选股公式}V AR1P:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;V AR2P:=SMA(V AR1P,7,1);V AR3P:=SMA(V AR2P,5,1);IF(CROSS(V AR2P,VAR3P) AND V AR2P<20,85,0);五){选股公式}N:=9;RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,2,1);D:=SMA(K,2,1);K>D AND REF(K,1)<REF(D,1);六){选股公式}LOWV:=LLV(LOW,27);HIGHV:=HHV(HIGH,27);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:=EMA(RSV,3);D:=MA(K,9);bb:= CLOSE>OPEN and CLOSE<REF(OPEN,1);cc:=(c-ref(c,20))/ref(c,20)<-0.18;cq:=SPLITBARS(0 )<15;xg: k<20 AND d<20 and bb AND ref(CC,1)=1 and cq=0 ,colorred;七){狙击低点选股公式股价在上升途中的回调时,突然走出跌破20日均线的大(中)阴线;第二天走出一根下探的长下影线的K线(阴阳均可)。
通达信选股公式75个指标公式源码
通达信选股公式75个指标公式源码选股公式(出手不凡)连续小阳的选股公式VAR1:=C>O AND C/O<1.023 AND H/C<1.018 AND O/L<1.035;COUNT(VAR1,3)=3;斜率>60度的MA20天均线公式:N:1 120 5 M:1 45 5J:=MA(C,N);角度一:=ATAN(100*(J/REF(J,1)-1))*180/3.1416;角度一>M;放量上涨”公式与5日均线上翘大于10度以上的选股公式A:=MA(C,5);大于10度:=ATAN((A/REF(A,1)-1)*100)*57.3>10;放量上涨:=(V>1*MA(V,6) OR V>2*MA(V,6) OR V>3*MA(V,6)) AND C/REF(C,1)>1.02;放量且大于10度:大于10度 AND 放量上涨;综合选股:股价突破5日均线选股:var1:=ma(c,5);CROSS(c,var1);斜率>20度的MA5天均线 M:1 45 20 N: 1 60 5J:=MA(C,N);角度一:=ATAN(100*(J/REF(J,1)-1))*180/3.1416;角度一>M;选出当日最低价在5日均线上下0.05%内ABS(L-MA(C,N))<0.025;通达信头肩底选股公式(最好选取当日热点板块)即5日均线与10日均线最近的金叉比上一个金叉位置高,上一个金叉的位置又比上上一个金叉的位置低。
JC:=CROSS (MA(C,5),MA(C,10)); YJ:JC AND C>REF(C,BARSLAST(JC)-1) AND REF(C,BARSLAST(JC)-1) < REF(C,BARSLAST(REF(JC,1))-1) ; 或DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=MA(2*(DIFF-DEA),2);JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));ZQ3:=CROSS(DIFF,DEA) AND DEA>=0 AND COUNT(JCCOUNT=21,W)=1;ZQ:=BARSLAST(DIFF<0 AND DEA<0 AND CROSS(DIFF,DEA));ZQ2:=BARSLAST(CROSS(MACD,0));JC:=ZQ>ZQ2>ZQ3;VAR1:= C/O<1.023 AND H/C<1.028 AND O/L<1.035;JC1:=COUNT(VAR1,3)=3;YJ:JC AND JC1 AND C>REF(C,BARSLAST(JC)-1) AND REF(C,BARSLAST(JC)-1) < REF(C,BARSLAST(REF(JC,1))-1);出手不凡优化选股公式VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3);VAR5:=LLV(LOW,30);VAR6:=HHV(VAR4,30);VAR7:=IF(MA(CLOSE,58),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VA R7;VAR9:=IF(VAR8>100,100,VAR8);底部吸筹指标:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , COLOR00FF00;先知:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , COLORFF00FF;可能放量拉升:=IF(CROSS(底部吸筹指标,-24),1,0), , COLORFFFFFF;VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;VARK2:=REVERSE(VARK1);VARK3:=SMA(VARK1,3,1);波段王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2;波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), ,COLORFF6666,LINETHICK2;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);CS8:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;DDFX8:=(SMA(CS8,3,1)-50)*2;DCS8:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*100;C8:=(SMA(DCS8,3,1)-50)*2;差值8:=DDFX8-C8;出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0) AND 差值8>REF(差值8,1);倍量过左峰战法确实非常好,倍量过左峰有以下含义:(1)过左峰是股价创新高;(2)倍量暴露了主力真实意图;(3)倍量过左峰符合最经典的道氏理论;(4)是股价上涨的必经之路,是最佳的拦截位置。
非常实用的选股公式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)<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倍。
一战成名选股公式源码
一战成名选股公式源码
一战成名选股公式源码如下:
VAR10:=-100*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100;
VAR11:=-100*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100;
VAR12:=-100*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100;
VAR13:=-100*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100;
VAR14:=REF(关注,1);
VAR15:=关注;
VAR16:=VAR1...
请注意,这只是一个公式,并不能保证一定能选出“一战成名”的股票。
股票市场是复杂的,没有任何一种指标或公式能够完全准确地预测股票的走势。
在使用任何选股公式时,都需要谨慎,结合自己的风险承受能力和投资目标进行投资决策。
同时,也要注意,任何投资都有风险,投资者应合理评估自己的风险承受能力,并谨慎决策。
选股公式源码大全(五)
选股公式源码大全(五)选股公式源码大全(五)(标签:分类:我在股市炒股公式股票选股源码指标仅供学习研究参考之用(1){选股公式}DIFF8 := EMA(CLOSE,25) - EMA(CLOSE,65);DEA8 := EMA(DIFF8,45);MACD8 := 2*(DIFF8-DEA8);DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9);MACD := 2*(DIFF-DEA);DIFFs := EMA(CLOSE,5) - EMA(CLOSE,12);DEAs := EMA(DIFFs,4);cross(diff,dea) and macd8>0 and diffs>deas;(2){选股公式}VAR1:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);VAR2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;MY:=VAR2*(1+VAR1);SHTMA:=MA(MY,5);钱龙短线:CROSS(MY,SHTMA)AND(SHTMA<0);(3){选股公式}M:=150;N:=20;BU:=BARSLAST((CLOSE = HHV(CLOSE,N)));SE:=BARSLAST((CLOSE = LLV(CLOSE,N)));XG:CROSS(SE,BU);(4){选股公式}input:m(88,1,300),n1(6,1,100);VAR1:=EMA(AMOUNT/VOL/100,3);控盘成本:=EMA(VAR1,M);低吸伏击:=EMA(VAR1,M)*0.85;走势铁底:=低吸伏击*0.87;VAR2:=LOW<=走势铁底 AND CLOSE>REF(CLOSE,1)*1.02;笑脸:FILTER(VAR2,N1);(5){选股公式}XL3:=(c-Ema(c,21))/Ema(c,21)*100;XL4:=cross(XL3,-20);{爆破}爆破:XL4>0;(6){选股公式}CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;YJD:=(EMA(CS,3)-50)*2;xg:YJD<-80;(7){选股公式}傅吾豪均线:=EMA(C,18);c>傅吾豪均线*1.004 and 傅吾豪均线>=ref(傅吾豪均线,1) and ref(c,1)/ref(c,10)<0.85;(8){选股公式}最新价:=C;市盈率:=IF(FINANCE(33)>0,DYNAINFO(39),0)*0.35;每股收益:=IF(FINANCE(33)>0.01,FINANCE(33)*0.65,0);参考定价:=每股收益*市盈率*4;XG:C<参考定价;(9){选股公式}DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0 ));二次金叉:CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;(10){选股公式}CLOSE<OPEN and ref(CLOSE,1)>ref(OPEN,1);(11){选股公式}VAR1:=((CLOSE > REF(CLOSE,1)) AND (CLOSE > REF(CLOSE,2)));VARD:=((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,2)));VARE:=((REF(VARD,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VARF:=((REF(VARE,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR10:=((REF(VARF,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR11:=((REF(VAR10,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR12:=((REF(VAR11,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR13:=((REF(VAR12,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR14:=((REF(VAR13,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR15:=((REF(VAR14,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR16:=((REF(VAR15,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));VAR17:=((REF(VAR16,1) AND (CLOSE <= REF(CLOSE,1))) AND (CLOSE >= REF(CLOSE,2)));VAR18:=((REF(VAR17,1) AND (CLOSE >= REF(CLOSE,1))) AND (CLOSE <= REF(CLOSE,2)));REF((((((((((((VARD OR VARE) OR VARF) OR VAR10) OR VAR11) OR VAR12) OR VAR13) OR VAR14) OR VAR15) OR VAR16) OR VAR17) OR VAR18),1) AND VAR1;(12){选股公式}VarB:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);VarC:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;VarD:=SMA(VarC,3,2);VarE:=SMA(VarD,3,2);VarF:=SMA(VarE,5,1);牛势再现:REF(VarB,1)>=16 AND REF(VarB,1)/VarB>=1.23 AND CROSS(VarE,VarF);(13){选股公式}input:m(88,1,300),n1(6,1,100);VAR1:=EMA(AMOUNT/VOL/100,3);控盘成本:=EMA(VAR1,M);低吸伏击:=EMA(VAR1,M)*0.85;走势铁底:=低吸伏击*0.87;VAR2:=LOW<=走势铁底 AND CLOSE>REF(CLOSE,1)*1.02;笑脸:FILTER(VAR2,N1);(14){选股公式}RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;加仓:CROSS(J,D);(15){选股公式}VAR1:=EMA(CLOSE,5);卖:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);买:CROSS(VAR1,卖);(16){选股公式}VARA:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));趋势线:=EMA(((VARA/10)+EMA(CLOSE,10)),3);VARB:=(OPEN+HIGH+LOW)/3;行情线:=EMA(VARB,4);买进:CROSS(行情线,趋势线) OR (REF(行情线,1)=REF(趋势线,1) AND 行情线>趋势线);(17){选股公式}VAR91:=(EMA(C,5)-EMA(C,26))*100;cross(VAR91,0);(18){MACD指标低位金叉选股公式}input:LONG(21),SHORT(13),M(7);DIF:=EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);DEA:=EMA(DIF,M);MACD:=2*(DIF-DEA);LONGCROSS(DIF,DEA,2) AND DIF<-0.1;(19){选股公式}B1:=REF(CLOSE,1);B2:=REF(CLOSE,2);B3:=REF(CLOSE,3);B4:=REF(CLOSE,4);CMIN:=MIN(MIN(MIN(CLOSE,B1),B2),B3);B1=CMIN AND CLOSE>=B2 OR (B2=CMIN AND B1<=B3 OR B3=CMIN AND B1<=B2) AND B2<B4 AND CLOSE>=B1;(20){选股公式}VAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;VAR9:=SMA(VAR8,13,8);风险:=CEILING(SMA(VAR9,13,8));涨跌:=MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5);绿线上穿红线:CROSS(风险,涨跌);(21){选股公式}Var1:=MA((HIGH+LOW+2*CLOSE)/4,5);Var2:=EMA(Var1,10)-EMA(Var1,30);Var3:=EMA(Var2,5);Var4:=(Var2-Var3)*5;Var5:=IF(Var4<=Var1,Var1,Var4);动向:= FORCAST(FORCAST(Var5,10),10);趋势:=IF( Var5>动向,Var5,Var1);强势:=MA(Var1,5);cross(趋势,强势);(22){选股公式}N :=10;VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1);VAR2:=8;CROSS(VAR1,VAR2);(23){卧槽马选股公式}DIFF8 := EMA(CLOSE,25) - EMA(CLOSE,65);DEA8 := EMA(DIFF8,45);MACD8 := 2*(DIFF8-DEA8);DIFF :=EMA(CLOSE,12) - EMA(CLOSE,26);DEA := EMA(DIFF,9);DIFFs := EMA(CLOSE,5) - EMA(CLOSE,12);DEAs := EMA(DIFFs,4);cross(diff,dea) and macd8>0 and diffs>deas;(24){选股公式}k1:=sum(CLOSE<OPEN,4)=4;k1 and (sum(c>ma(c,5),4)=4 or sum(c>ma(c,10),4)=4) and sum(v<ref(v,1),4)=4;(25){选股公式}MA4:=EMA(CLOSE,10);MA7:=EMA(CLOSE,30);红三角:CROSS(MA4,MA7);(26){选股公式}ZLCM:=EMA(WINNER(CLOSE)*70,3);SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);ZSHTL:=SHCM/(ZLCM+SHCM)*100;粉色立柱:REF(ZSHTL,1)>90 AND ZSHTL<90;。
九九归一选股指标公式源码
九九归一选股指标公式源码一、公式概述九九归一选股指标公式是一种基于技术分析的选股指标,旨在通过特定的指标参数来筛选出具有上涨潜力的股票。
该指标公式的核心思想是将股票价格的历史数据与特定的数学模型相结合,通过计算出多个指标值,来评估股票的优劣程度。
二、公式源码以下是一个简单的九九归一选股指标公式的源码,以通达信软件为例:公式名称:九九归一选股指标公式参数:N1=20,N2=60,M1=60 (指标参数,可根据实际情况进行调整)MA1:=MA(CLOSE,N1);MA2:=MA(CLOSE,N2);VAR1:=EMA(CLOSE,M1);VAR2:=EMA((VAR1-REF(VAR1,1))/(REF(VAR1,1)-REF(VAR2,1))*100,M1);VAR3:=EMA((CLOSE-REF(CLOSE,M1))/(REF(CLOSE,M1)-REF(OPEN,M1))*100,M1);九九归一定位:=IF(MA2>REF(MA2,1),MA2>REF(MA2,1),MA2<REF(MA2,1));回调:=VAR3<REF(VAR3,1);买点: 九九归一线上行回调后金叉 VAR3线上行;以上源码中,参数N1、N2、M1可以根据实际情况进行调整,以适应不同市场环境和股票品种。
指标的核心思想是通过计算多个指标值来评估股票的优劣程度,同时结合股价的历史数据来筛选出具有上涨潜力的股票。
在源码中,主要采用了移动平均线、指数移动平均线、指数相对强弱指数等方法,通过比较股票价格与其他相关指标之间的关系,来预测股票的未来走势。
同时,指标还对股票价格的历史数据进行了分析和筛选,对股票的回调行为进行了判断,以进一步提高选股的准确率。
三、使用方法在使用九九归一选股指标公式时,需要注意以下几点:1. 指标参数需要根据实际情况进行调整,以达到最佳效果;2. 选股过程中需要对股票基本面进行分析,以排除存在问题的股票;3. 结合其他技术指标和基本面指标,以提高选股的准确率;4. 在实际操作中,需要根据市场行情和股票走势灵活调整仓位和止损止盈点位。
选股公式源码大全(三)
选股公式源码大全(三)选股公式源码大全(三)2010-01-05 22:25:38| 分类:通达信| 标签:|字号大中小订阅一){选股公式}VAR1:=MA(CLOSE,34);VAR2:=MA(VAR1*0.82,5);VAR3:=CLOSE<VAR2;VAR4:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VO L,5)/100)<-0.4;VAR4 AND VAR3;二){选股公式}X:=0.27*MA(C,3);M:=0.57*REF(MA(C,50),1);VMA:=X+M;C<VMA*0.97 AND COUNT(H=L AND C=O AND C<REF(C,1),3)<=0;三){选股公式}VAR1:=CLOSE/MA(CLOSE,40)*100<78;VAR2:=CLOSE/MA(CLOSE,60)*100<74;VAR3:=HIGH>LOW*1.051;VAR4:=VAR3 AND COUNT(VAR3,5)>1;VAR4 AND (VAR1 OR VAR2) ANDMA(C,27)/CLOSE>1.169 AND MA(C,17)/CLOSE>1.158 AND CLOSE<MA(C,120) AND MA(C,60)<MA(C,120) AND MA(C,60)>MA(C,30) AND "CCI">-210 ;四){选股公式}VAR1:=AMOUNT/VOL/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,13)/VAR1/100;VAR4:=DMA(VAR2,VOL/VAR3);VAR5:=(CLOSE-VAR4)/VAR4*100;VAR6:=(INDEXC-LLV(INDEXL,9))/(HHV(INDEXH,9)-LLV(INDEXL,9))*100;VAR7:=SMA(VAR6,3,1);VAR8:=SMA(VAR7,3,1);CROSS(VAR7,VAR8) AND VAR7<45 AND COUNT(VAR5<=-15,5)>=1 ;五){选股公式}VAR1:=OPEN<EMA(CLOSE,3) AND CLOSE=HIGH AND CLOSE/OPEN>=1.11 AND VOL/CAPITAL>=0.02 AND VOL/CAPITAL<=0.2;VAR1 AND COUNT(VAR1,3)=1;六){选股公式}{涨势确立,N1=41,N3=29}VAR1:=C/MA(C,3)>=1.05 AND C=HHV(C,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND C>REF(C,1);VAR2:=REF(C,1);VAR3:=SMA(MAX(C-VAR2,0),5,1)/SMA(ABS(C-VAR2),5,1)*100;VAR4:=COUNT(VAR3<25,20)>=1;VAR5:=(H-L)/H*100+(C-VAR2)/VAR2*100;VAR6:=EMA(MA(VAR5,N1),6);VAR7:=VAR6>LLV(VAR6,6)*1.02 AND REF(VAR6,1)<REF(LLV(VAR6,6),1)*1.02 AND LLV(VAR6,N1)=LLV(VAR6,6);VAR8:=LLV(L,6)=LLV(LOW,N1) ANDLLV(LOW,6)<HHV(L,N1)*(100-N3)/100;VAR9:=H>L*1.033;VAR8>0 AND VAR9;七){选股公式}VAR1:=CLOSE/MA(CLOSE,20)*100<80;VAR2:=CLOSE/MA(CLOSE,40)*100<78;VAR3:=CLOSE/MA(CLOSE,60)*100<72;VAR4:=HIGH>LOW*1.051;VAR5:=VAR4 AND COUNT(VAR4,5)>1;绝地鹰王:VAR5 AND (VAR1 OR VAR2 OR VAR3);八){选股公式}VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=3*VAR2-2*VAR3;VAR5:="RSI";VAR6:="MACD";VAR7:=1;A:=AMOUNT/(100*VOL);VAR8:=100*(CLOSE-MA(A,26))/MA(A,26);VAR9:=VAR8<-17.5 AND VAR8>-36 AND CLOSE*VAR7<10 AND CLOSE*VAR7/REF(CLOSE,1)>0.935 AND CROSS(VAR4,VAR2);VAR10:VAR9/VAR7;九){选股公式}流通:=AMOUNT/VOL;PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2)));ZLL:=VOL/CAPITAL;HSL1:=IF(ZLL>10,10,ZLL);HSL:=(XVL/20)/1.15;攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));GJJ:=EMA(攻击流量,8);LLJX:=EMA(攻击流量,3);资金流向:LLJX,COLOR0000FF;{LINETHICK0}流量基线:GJJ,COLOR00FFFF;买入:CROSS(资金流向,流量基线);十){MACD金叉选股选股公式}DIF:=EMA(CLOSE,5)-EMA(CLOSE,10);DEA:=EMA(DIF,3),LINETHICK1;XG:CROSS(DIF,DEA) AND DIF<0.3;十一){选股公式}VAR1:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;VAR2:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;VAR3:=SMA(VAR2,13,8);VAR4:=SMA(VAR1,21,8);VAR5:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;趋势:CEILING(SMA(VAR3,13,8)),LINETHICK0,COLOR0000FF;看底:IF((趋势-VAR4<(-65)),1,6),COLOR00FF00;顶峰:IF((趋势-VAR4>85),95,100),COLORF0F000;操盘线: MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK0,COLORBLUE;十二){选股公式}{改编自系统自带指标EXPMA}{用法说明:1、出现买入信号后,二至三天没有出现红柱则放弃操作。
股票公式源码汇总
股票公式源码汇总:一招就够V1:=EMA(CLOSE,5);V2:=EMA(EMA(CLOSE,29)*1.01,10);CROSS(V1,V2);黑马易找VAR1:=MA(CLOSE,5);VAR2:=MA(CLOSE,10);VAR3:=MA(CLOSE,30);VAR4:=MA(CLOSE,60);VAR5:=EMA(COST(85),7);VAR6:=EMA(COST(15),7);VAR7:=SUM(CLOSE*VOL*100,4)/SUM(VOL*100,4);VAR8:=INTPART(VAR7*100)/100;VAR9:=SUM(CLOSE*VOL*100,7)/SUM(VOL*100,7);VARA:=INTPART(VAR9*100)/100;VARB:=SUM(CLOSE*VOL*100,28)/SUM(VOL*100,28);VARC:=INTPART(VARB*100)/100;VARD:=EMA(CLOSE,5)-EMA(CLOSE,10);VARE:=EMA(VARD,9);VARF:=(-100)*(HHV(CLOSE,5)-CLOSE)/(HHV(CLOSE,5)-LLV(LOW,5))+100; VAR10:=(-100)*(HHV(CLOSE,10)-CLOSE)/(HHV(CLOSE,10)-LLV(LOW,10))+100; VAR11:=(-100)*(HHV(CLOSE,20)-CLOSE)/(HHV(CLOSE,20)-LLV(LOW,20))+100; VAR12:=(-100)*(HHV(CLOSE,30)-CLOSE)/(HHV(CLOSE,30)-LLV(LOW,30))+100; VAR13:=REF(VARE,1);VAR14:=VARE;VAR15:=VAR14-VAR13;VAR16:=REF(VARD,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;以逸待劳VAR1:=COST(10);VAR2:=REF(CLOSE,7)/MA(REF(CLOSE,7),3)>=1.07 AND REF(CLOSE,7)=HHV(REF(CLOSE,7),3) AND MA(REF(VOL,7),2)/MA(REF(VOL,7),40)>=3 AND MA(REF(VOL,7),2)=HHV(MA(REF(VOL,7),2),3) AND REF(VOL,7)>REF(REF(VOL,7),1) AND REF(CLOSE,7)>REF(REF(CLOSE,7),1);VAR3:=REF(REF(CLOSE,7),1);VAR4:=SMA(MAX(REF(CLOSE,7)-VAR3,0),5,1)/SMA(ABS(REF(CLOSE,7)-VAR3),5,1)*100; VAR5:=COUNT(VAR4<20,20)>=1;VAR6:=(INDEXC-LLV(INDEXL,89))/(HHV(INDEXH,89)-LLV(INDEXL,89))*100;VAR7:=SMA(VAR6,8,1);VAR8:=SMA(VAR7,10,1);VAR9:=REF(INDEXC,1);VARA:=SMA(MAX(INDEXC-VAR9,0),6,1)/SMA(ABS(INDEXC-VAR9),6,1)*100;VARB:=VARA>=75 AND VARA<90 AND VAR7>VAR8 AND BARSLAST(CROSS(VAR7,VAR8))<=21; VAR2 AND VAR5 AND VARB;资金进场A1:=DYNAINFO(6);A2:=IF(LOW>A1,0,IF(HIGH<A1,1,(A1-LOW+0.01)/(HIGH-LOW+0.01)));A3:=VOL/WINNER(LOW);A4:=REF(HHV(CLOSE,120),1);A5:=REF(LLV(CLOSE,120),1);A6:=100*(CLOSE-A5)/(A4-A5);A7:=A2>0 OR A2=1;A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;A11:=IF(FILTER(A8,3),5,0);资金进场日:A11>0,8;条件选股公式:黑马二号 (黑马一号改进) 缺省周期:日线参数描述: N(1,100,45)M1(2,40,2)M2(2,40,5)M3(1,30,5)Var1:=(HHV(CLOSE,26)-LLV(CLOSE,26))/SUM(ABS(CLOSE-REF(CLOSE,1)),26);Var2:=MA(Var1,7);Var3:=EMA(EMA(EMA(CLOSE,12),12),12);Var4:=(Var3-REF(Var3,1))/REF(Var3,1)*100;Var5:=MA(Var4,15);Var6:=MA(CLOSE,5);Var7:=MA(CLOSE,10);Var8:=MA(CLOSE,20);Var9:=MA(VOL,10);VarA:=MA(CLOSE,60);VarB:=MA(CLOSE,30);VarC:=MA(VOL,3);VarD:=MA(VOL,5);VarE:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;VarF:=SMA(VarE,M1,1);Var10:=SMA(VarF,M2,1);Var11:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);Var12:=((ABS(Var6-Var7)/CLOSE<0.04 OR ABS(Var6-(Var6+Var7+Var8)/3)/(Var6+Var7+Var8)/3<0.03 ANDABS(Var7-(Var6+Var7+Var8)/3)/(Var6+Var7+Var8)/3<0.03 OR Var2<MAX(REF(Var2,2),REF(Var2,3))) ANDCLOSE>Var7 AND Var11>MAX(REF(Var11,1),REF(Var11,2)) AND Var11>MAX(REF(Var11,3),REF(Var11,4)) AND(REF(MA(VOL,5),1)>REF(MA(VOL,5),2) AND REF(MA(VOL,5),2)>REF(MA(VOL,5),3) ANDREF(MA(VOL,5),3)>REF(MA(VOL,5),4) OR (CLOSE-Var6)/Var6*100<-7 AND "KD.K"<8 AND "KD.D"<15 ANDCROSS("KDJ.J"(N,M1,M2),0) OR REF(Var9,3)>MAX(REF(Var9,4),REF(Var9,5))) OR(HIGH-CLOSE)/CLOSE<=0.019 AND CLOSE>REF(CLOSE,1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.05 AND(CLOSE-Var6)/Var6*100<18 AND Var5<Var4) AND (CLOSE>Var6 AND Var6>Var7 AND Var7>VarB ANDVarA>REF(VarA,1) AND REF(VarA,2)>REF(VarA,3) AND REF(VarA,4)>REF(VarA,5) AND VarC>MAX(REF(VarC,1),REF(VarC,2)) AND (VOL<=VarC*2 OR (HIGH-CLOSE)/CLOSE<0.01) ANDVar5<Var4 OR HIGH-CLOSE=0 AND CLOSE>REF(CLOSE,1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=0.05 OR(CLOSE-Var6)/Var6*100<-7 AND "KD.K"<8 AND "KD.D"<15 AND CROSS("KDJ.J"(N,M1,M2),0)) AND"ARBR.BR"<277 AND (HIGH-CLOSE)/ABS(CLOSE-OPEN)<2.3 AND NOT(CROSS(Var10,VarF) AND Var10>80) ANDVar1>Var2;Var13:=VOL/CAPITAL>M3/100 AND REF(VOL/CAPITAL,1)<0.05 AND REF(VOL/CAPITAL,2)<0.05 ANDREF(VOL/CAPITAL,3)<0.05;Var14:=2*(COST(85)-COST(15))/(COST(85)+COST(15));Var15:=REF(Var14,1)<=0.16;Var12 AND Var13 AND Var15;条件选股公式:紧追缺省周期:日线Var1:=CLOSE/REF(CLOSE,1)>=1.09 AND HIGH/CLOSE<1.005 AND MA(CLOSE,90)/CLOSE>=1.1;Var1 AND COUNT(Var1,20)=1;技术指标公式:1.2.3. 缺省周期:日线参数描述: N(10,244,10)Var1:=MA(CLOSE,5);Var2:=MA(CLOSE,10);Var3:=MA(CLOSE,60);Var4:=MA(CLOSE,35);Var5:=MA(REF(VOL,10),20);Var6:=IF(CLOSE-SMA(CLOSE,75,1)<0,CAPITAL/VOL,0);Var7:=IF(CLOSE<Var3*0.95 AND 100*VOL/CAPITAL<1.2 AND Var6>150,50,0);Var8:=IF(CLOSE>Var1 AND Var3 AND CROSS(Var1,Var2) AND (VOL-Var5)/Var5>0.5 ANDCLOSE>MA(REF(CLOSE,1),3) AND SMA(Var7,5,1)>0,100,50);Var9:=IF(100*VOL/CAPITAL>10 AND 100*VOL/CAPITAL<18 AND SMA(Var8,5,1)>50 AND Var1>Var2,150,100);注意: Var7;持有: Var8;拉升: Var9;条件选股公式:控盘庄股 (寻找高度控盘的股票,敢买吗?) 缺省周期:日线AA:=C-0.23*C;CC:=WINNER(AA)*100;CC>=60条件选股公式:LF-CDX (超短线) 缺省周期:日线A1:= (EMA(CLOSE,4)+MA(CLOSE,8)+MA(CLOSE,16))/3;A2:= (EMA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/3;A3:= (EMA(CLOSE,9)+MA(CLOSE,18)+MA(CLOSE,36))/3;A4:= (EMA(CLOSE,13)+MA(CLOSE,26)+MA(CLOSE,52))/3;A5:= (EMA(CLOSE,18)+MA(CLOSE,36)+MA(CLOSE,72))/3;A6:= (EMA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/3;cross(A1,A6)条件选股公式:LF-FD (凌锋快刀) 缺省周期:日线参数描述: N(1,100,5)N1(1,1000,10)N2(1,1000,20)N3(2,1000,30)ar1:=IF(YEAR>=2001 AND MONTH>12,0,1);CROSS(MA(VOL,5),MA(VOL,10)) AND CROSS(MA(VOL,5),MA(VOL,20))AND MA(CLOSE,N)>MA(CLOSE,N1) AND MA(CLOSE,N1)>MA(CLOSE,N2)AND MA(CLOSE,N2)>MA(CLOSE,N3) AND REF(MA(CLOSE,N),1)>REF(MA(CLOSE,N1),1) ANDREF(MA(CLOSE,N1),1)>REF(MA(CLOSE,N2),1) AND REF(MA(CLOSE,N2),1)>REF(MA(CLOSE,N3),1)AND REF(MA(CLOSE,N),2)>REF(MA(CLOSE,N1),2) AND REF(MA(CLOSE,N1),2)>REF(MA(CLOSE,N2),2)AND REF(MA(CLOSE,N2),2)>REF(MA(CLOSE,N3),2) *ar1强势特征,可大胆介入,但一定要注意风险,设止损。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
选股公式源码大全(一)一、以下公式仅供学习研究之用;二、选股公式只能起到一个条件过滤的作用,具体操作还得综合其他技术面、基本面等;三、不同的行情要用不同的方式,不可能一劳永逸;一、{选股公式}ZLC:= EMA((WINNER(CLOSE) * 70),3);SHC:= EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),3);主力控盘:= ((ZLC / (ZLC+ SHC)) * 100);上限:= HHV(主力控盘,20);下限:= LLV(主力控盘,20);中线:=(上限+ 下限)/2;A:=60;B:=10;抄低:CROSS(主力控盘,B);二){选股公式}LC := REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),10,1)/SMA(ABS(CLOSE-LC),10,1)*100;跌破:CROSS(20,RSI);三){简单实用选股公式}公式名:波段M3:MA((CLOSE*2+H+L)/4,3);M3_3:MA(M3,3),COLORGREEN;选股公式:M3:=MA((CLOSE*2+H+L)/4,3);M3_3:=MA(M3,3);xg:cross(M3,M3_3);四){选股公式}V AR1P:=(CLOSE-LLV(LOW,60.135))/(HHV(HIGH,60.135)-LLV(LOW,60))*80;V AR2P:=SMA(V AR1P,7,1);V AR3P:=SMA(V AR2P,5,1);IF(CROSS(V AR2P,VAR3P) AND V AR2P<20,85,0);五){选股公式}N:=9;RSV:= (CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,2,1);D:=SMA(K,2,1);K>D AND REF(K,1)<REF(D,1);六){选股公式}LOWV:=LLV(LOW,27);HIGHV:=HHV(HIGH,27);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:=EMA(RSV,3);D:=MA(K,9);bb:= CLOSE>OPEN and CLOSE<REF(OPEN,1);cc:=(c-ref(c,20))/ref(c,20)<-0.18;cq:=SPLITBARS(0 )<15;xg: k<20 AND d<20 and bb AND ref(CC,1)=1 and cq=0 ,colorred;七){狙击低点选股公式股价在上升途中的回调时,突然走出跌破20日均线的大(中)阴线;第二天走出一根下探的长下影线的K线(阴阳均可)。
此K线组合市场意义在于股价探底回升,之后一般会走出一段不错的上升行情}ref(c,1)<ref(o,1) and ref(c,2)*0.95>=ref(c,1) and ref(o,1)/ref(c,1)>=1.04and (MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667 and ma(c,10)>ma(c,20)and ref(c,1)>ma(c,20) and l<ma(c,20) and c>ma(c,20) ;八){分时横盘选股公式}tt:=BARSCOUNT(CLOSE);CC:=CLOSE;均线:=SUM(AMOUNT,0)/SUM(VOL*100,0);上均:=均线+ A VEDEV(C,tt)*2;下均:=均线- AVEDEV(C,tt)*2;时长:=if(HOUR>=13 AND HOUR<15 ,1,0);涨幅:=(CLOSE>DYNAINFO(3))>1.02;跌幅:=(CLOSE/DYNAINFO(3))<0.98;横盘:=((HHV(CLOSE,TT)-LLV(CLOSE,TT))/CLOSE)<0.03;yy:=SMA(VOL,30,1);放量:=(yy-LLV(Llv(yy,1),30))/(HHV(Hhv(yy,1),30)-LLV(Llv(yy,1),30))>0.92;涨跌幅:=涨幅OR 跌幅;横涨:=涨跌幅=0 and 横盘and 时长and 放量and CROSS(CC,上均);突破:FILTER(横涨,100);九){选股公式}var1:=cross(ma(c,5),ma(c,10));var2:=c>ma(c,60);DIFF:= EMA(CLOSE,26) - EMA(CLOSE,12);DEA:= EMA(DIFF,9);MACD:= 2*(DIFF-DEA);var3:=cross(diff,macd);var4:=(v/FINANCE(7))>5;var5:=ma(v,5)>ma(v,34);xg:var1 and var2 and var4 and var5;十){周线买入选股公式}AA05:=MA(C,5);五日乖离率:=(c-AA05)/AA05*100;AA30:=MA(C,30);三拾日乖离率:=(c-AA30)/AA30*100;MR:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and AA05>ref(AA05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<AA30;买入:IF(filter(MR,10),1,0);十一){抄底逃顶选股公式}V AR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;V AR2:=SMA(V AR1,3,1);V AR3:=SMA(V AR2,3,1);V AR4:=SMA(V AR3,3,1);V AR6:=CROSS(V AR3,VAR4) AND V AR3<25;选股:V AR6 AND COUNT(V AR6,10)=1;十二){选股公式}多头线:(SUM((((2)*(CLOSE-CLOSE*0.2)+(OPEN-OPEN*0.2)+(HIGH-HIGH*0.2)+(LOW-LOW*0.2))/(5))*(VOL),8))/(SUM(VOL,8)),COLOR0099FF,LINETHICK1;空头线:LLV(多头线,8),LINETHICK1,COLORGREEN;C-C*0.2,COLORWHITE,LINETHICK1;用法:3条线作多,白线上穿绿线或黄线涨幅一般大于7%十三){选股公式}input:N(20,1,100),M(60,1,100);RSV:=(((CLOSE - LLV(LOW,N)) / (HHV(HIGH,N) - LLV(LOW,N))) * 100);RSV1:=((100 * (HHV(HIGH,M) - CLOSE)) / (HHV(HIGH,M) - LLV(LOW,M)));MA1:=MA(CLOSE,11);MA2:=MA(CLOSE,22);MA3:=MA(CLOSE,44);V AR1:=IF((CLOSE > REF(CLOSE,1)),88,0);V AR2:=IF(((((CLOSE / REF(CLOSE,1)) > 1.052) AND ((HIGH / CLOSE) <= 1)) AND (V AR1 > 0)),91,0);V ARA:=FILTER((V AR2 > 90),34);V AR3:=(((OPEN < MA1) OR (OPEN < MA2)) OR (OPEN < MA3));V AR4:=(CLOSE > MAX(MA1,MAX(MA2,MA3)));V AR5:=((VOL / MA(VOL,30)) > 1.2);V AR6:=((CLOSE / REF(CLOSE,1)) > 1.052);V ARB:=(((V AR3 AND V AR4) AND V AR5) AND V AR6);V ARC:=DMA(MA((CLOSE + ((REF(CLOSE,5) / CLOSE) * 0.098)),90),VOL);K1:=SMA(RSV1,3,1);D1:=SMA(K1,3,1);AA:=EMA(D1,20);K:=SMA(RSV,3,1);D:SMA(K,3,1),LINETHICK1;J:((3 * K) - (2 * D)),LINETHICK1;RSV2:=EMA(J,10);V ARD:=(RSV2 > AA);十天百分之五:STICKLINE((((V ARB AND V ARD) AND (V ARC > REF(VARC,2))) OR (((V ARA AND V ARD) AND (V ARC > REF(V ARC,2))) > 0)),0,50,4,0),colorFF0000;东方之珠:IF((((VARB AND V ARD) AND (V ARC > REF(VARC,2))) OR ((V ARA AND V ARD) AND (V ARC > REF(V ARC,2)))),95,0),colorFF0000;十四){选股公式}R:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));{零延迟威廉线} PERIODD:=10;EMA1:=EMA(R,PERIODD);EMA2:=EMA(EMA1,5);DIFFERENCE:=EMA1-EMA2;ZEROLAGEMA:=EMA1+DIFFERENCE;PR:100-ABS(ZEROLAGEMA), COLORRED ,LINETHICK1;MOVEA VG:MA(PR,5), COLORWHITE ,LINETHICK1;K:=15;FFILTER:=(K/100)*STD(PR-REF(PR,1),10);XA:=IF(PR<REF(PR,1),PR,0);XN:=BARSLAST(XA>0 );AMALOW:=REF(PR,XN);YA:=IF(PR>REF(PR,1),PR,0);YN:=BARSLAST(Y A>0) ;AMAHIGH :=REF(PR,YN);RR:=IF( AMAHIGH-PR>FFILTER,-1,0) ;TT:=IF( PR- AMALOW>FFILTER,1,RR) ;十五){绝杀选股公式}V AR1:=(2)*(MA((LLV((CLOSE + LOW)/(2),8))*(1.1),13)) - EMA((CLOSE + LOW)/(2),3) - ((CLOSE + LOW)/(2))*(0.1);V AR2:=IF(((EMA((CLOSE + LOW)/(2),3) - V AR1)*(5) > 0),(POW((EMA((CLOSE +LOW)/(2),3) - VAR1)*(5),2))/(10),(((-1))*(POW((EMA((CLOSE + LOW)/(2),3) -V AR1)*(5),2)))/(10));V AR3:=IF((VAR2 > 0),V AR2 - 0,(-1));CROSS(VAR3,0) AND ((CLOSE + LOW)/(2) > MA((CLOSE +LOW)/(2),8));十六){老鼠仓选股公式}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;十七){选股公式}TJ1:=(SUM((((2)*(CLOSE-CLOSE*0.2)+(OPEN-OPEN*0.2)+(HIGH-HIGH*0.2)+(LOW- LOW*0.2))/(5))*(VOL),8))/(SUM(VOL,8));TJ2:=C-C*0.2;XG:CROSS(TJ2,TJ1);十八){选股公式}{两行kdj}j:"kdj.j"(27,3,3);if(j>0,j,0);{用法:谷底买,峰顶卖};十九){超级短线选股公式}AA:=REF(CLOSE,1);BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000;HHH:=BBB-LLV(BBB,10);SS:=(MA(HHH,2)*3+HHH*13)/16;短线买点:IF(SS>13,MA(SS,2),SS);21;当白色趋势线接近或者下穿黄色底部线时,表示短线可能见底,有出现反弹的可能,可以配合其它指标配合短线关注。