自用选股公式 综合各辅助指标 可以选出未来几天会大涨个股 绝对无未来函数 需要综合其他指标 如KD boll等指标 将选出来的个股再次筛选。因为最牛的股就在里边,选出来 未来三五天内大部分都会有5%以上涨幅,但是也有不怎么涨,甚至下跌的。,就需要你火眼金睛踢除不涨的那些了。一般不会占到选出来总数的30%。所以不会看的人 就看你运气了 抓阄吧 {MACD二启 通达信版预警 去ST} DIF:=(EMA(C,5)-EMA(C,21))/EMA(C,21)*100; DEA:=EMA(DIF,8); MACD:=2*(DIF-DEA); ER:=VOL/CAPITAL*100; ZD:=C/REF(C,1)*100-100; A0:=BARSLAST(CROSS(0.5,COUNT(MACD<0,3)>=3) AND (MACD>=1 OR DIF>=2)); A1:=CROSS(0.5,COUNT(MACD>REF(MACD,1),A0+1)=A0+1); A2:=REF(HHV(ER,A0+1),1)>=3 AND REF(HHV(ZD,A0+3),1)>=5; B0:=BARSLAST(A1 AND A2); B1:=COUNT(MACD<REF(MACD,1),B0+1)=B0+1; B2:=COUNT(MACD<0,B0+1)<=2 AND (COUNT(C<O AND ZD<0,2)=2 OR B0>=1); ST:=(NAMELIKE('S') OR NAMELIKE('*S'))=0;{剔除ST} XZ:=FROMOPEN>=1 AND FROMOPEN<=230 AND DYNAINFO(8)>=100; B3:=B1 AND B2 and ST;{备选}{www.fxjgsw.com} REF(B3,1) AND MACD>REF(MACD,1) AND C>O AND ZD>0 AND XZ; {MACD二启 通达信低版本预警,不去ST} DIF:=(EMA(C,5)-EMA(C,21))/EMA(C,21)*100; DEA:=EMA(DIF,8); MACD:=2*(DIF-DEA); ER:=VOL/CAPITAL*100; ZD:=C/REF(C,1)*100-100; A0:=BARSLAST(CROSS(0.5,COUNT(MACD<0,3)>=3) AND (MACD>=1 OR DIF>=2)); A1:=CROSS(0.5,COUNT(MACD>REF(MACD,1),A0+1)=A0+1); A2:=REF(HHV(ER,A0+1),1)>=3 AND REF(HHV(ZD,A0+3),1)>=5; B0:=BARSLAST(A1 AND A2); B1:=COUNT(MACD<REF(MACD,1),B0+1)=B0+1; B2:=COUNT(MACD<0,B0+1)<=2 AND (COUNT(C<O AND ZD<0,2)=2 OR B0>=1); XZ:=FROMOPEN>=1 AND FROMOPEN<=230 AND DYNAINFO(8)>=100; B3:=B1 AND B2;{备选} REF(B3,1) AND MACD>REF(MACD,1) AND C>O AND ZD>0 AND XZ; {MACD二启 大智慧飞狐版预警} DIF:=(EMA(C,5)-EMA(C,21))/EMA(C,21)*100; DEA:=EMA(DIF,8); MACD:=2*(DIF-DEA); ER:=VOL/CAPITAL*100; ZD:=C/REF(C,1)*100-100; A0:=BARSLAST(CROSS(0.5,COUNT(MACD<0,3)>=3) AND (MACD>=1 OR DIF>=2)); A1:=CROSS(0.5,COUNT(MACD>REF(MACD,1),A0+1)=A0+1); A2:=REF(HHV(ER,A0+1),1)>=3 AND REF(HHV(ZD,A0+3),1)>=5; B0:=BARSLAST(A1 AND A2); B1:=COUNT(MACD<REF(MACD,1),B0+1)=B0+1; B2:=COUNT(MACD<0,B0+1)<=2 AND (COUNT(C<O AND ZD<0,2)=2 OR B0>=1); ST:=STRFIND(STKNAME,'S',1)=0;{剔除ST} XZ:=CURRENTTIME>=93000 AND CURRENTTIME<145000 AND DYNAINFO(8)>=100; B3:=B1 AND B2 and ST;{备选} REF(B3,1) AND MACD>REF(MACD,1) AND C>O AND ZD>0 AND XZ; {MACD优,通达信版副图} DIF:(EMA(C,5)-EMA(C,21))/EMA(C,21)*100,COLORF0F0F0; DEA:EMA(DIF,8),COLOR00DCDC; MACD:2*(DIF-DEA),COLORSTICK,COLOR0000DC; STICKLINE(MACD>0,MACD,0,2,1),COLOR0000DC; STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,2,1),COLOR00B400; STICKLINE(MACD<=0,MACD,0,2,1),COLORGRAY; STICKLINE(MACD<=0 AND MACD>REF(MACD,1),MACD,0,2,1),COLORC800C8; X0:=BARSLAST((CROSS(MACD,REF(MACD,1)) AND MACD>0) OR CROSS(MACD,0)); X1:=BARSLAST(CROSS(0.5,COUNT(MACD>REF(MACD,1),X0+1)=X0+1));{回} X2:=COUNT(MACD<REF(MACD,1),X1+1)=X1+1 AND COUNT(MACD<0,X1+1)<=2; X3:=REF(X2,1) AND MACD>REF(MACD,1) AND C>O AND C>REF(C,1); STICKLINE(X1=0 AND MACD>0,MACD,0,2,0),COLORDCDC00; STICKLINE(X3,MACD,0,2,0),COLOR0854FF; NOTEXTDIF:DIF,COLORWHITE; NOTEXTDEA:DEA,COLORYELLOW; NOTEXT:IF(DIF>=REF(DIF,1),DIF,DRAWNULL),COLORRED; ER:=VOL/CAPITAL*100; ZD:=C/REF(C,1)*100-100; A0:=BARSLAST(CROSS(0.5,COUNT(MACD<0,3)>=3) AND (MACD>=1 OR DIF>=2)); A1:=CROSS(0.5,COUNT(MACD>REF(MACD,1),A0+1)=A0+1); A2:=REF(HHV(ER,A0+1),1)>=3 AND REF(HHV(ZD,A0+3),1)>=5; B0:=BARSLAST(A1 AND A2); B1:=COUNT(MACD<REF(MACD,1),B0+1)=B0+1; B2:=COUNT(MACD<0,B0+1)<=2 AND (COUNT(C<O AND ZD<0,2)=2 OR B0>=1); B3:=B1 AND B2; B4:=REF(B3,1) AND MACD>REF(MACD,1) AND C>O AND ZD>0; DRAWICON(B4,ABS(MACD)+1,1); {MACD优,飞狐版副图} DIF:(EMA(C,5)-EMA(C,21))/EMA(C,21)*100,ColorF0F0F0; DEA:EMA(DIF,8),COLOR00DCDC; MACD:2*(DIF-DEA),COLORSTICK,COLOR0000DC; STICKLINE(MACD>0,MACD,0,8,1),COLOR0000DC; STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,8,1),COLOR00B400; STICKLINE(MACD<=0,MACD,0,8,1),COLORGRAY; STICKLINE(MACD<=0 AND MACD>REF(MACD,1),MACD,0,8,1),COLORC800C8; X0:=BARSLAST((CROSS(MACD,REF(MACD,1)) AND MACD>0) OR CROSS(MACD,0)); X1:=BARSLAST(CROSS(0.5,COUNT(MACD>REF(MACD,1),X0+1)=X0+1));{回} X2:=COUNT(MACD<REF(MACD,1),X1+1)=X1+1 AND COUNT(MACD<0,X1+1)<=2; X3:=REF(X2,1) AND MACD>REF(MACD,1) AND C>O AND C>REF(C,1); STICKLINE(X1=0 AND MACD>0,MACD,0,8,0),ColorDCDC00; STICKLINE(X3,MACD,0,8,0),Color0854FF; POLYLINE(C>0,DIF),ColorF0F0F0; POLYLINE(C>0,DEA),COLOR00DCDC; PARTLINE(DIF>REF(DIF,1),DIF),COLORRED; ER:=VOL/CAPITAL*100; ZD:=C/REF(C,1)*100-100; A0:=BARSLAST(CROSS(0.5,COUNT(MACD<0,3)>=3) AND (MACD>=1 OR DIF>=2)); A1:=CROSS(0.5,COUNT(MACD>REF(MACD,1),A0+1)=A0+1); A2:=REF(HHV(ER,A0+1),1)>=3 AND REF(HHV(ZD,A0+3),1)>=5; B0:=BARSLAST(A1 AND A2); B1:=COUNT(MACD<REF(MACD,1),B0+1)=B0+1; B2:=COUNT(MACD<0,B0+1)<=2 AND (COUNT(C<O AND ZD<0,2)=2 OR B0>=1); B3:=B1 AND B2; B4:=REF(B3,1) AND MACD>REF(MACD,1) AND C>O AND ZD>0; DRAWTEXT(B4,ABS(MACD)+1.5,'◆'),COLORYELLOW,,align0; {MACD优,大智慧版副图} DIF:(EMA(C,5)-EMA(C,21))/EMA(C,21)*100,ColorF0F0F0; DEA:EMA(DIF,8),COLOR00DCDC; MACD:2*(DIF-DEA),COLOR0000DC,LINETHICK0; STICKLINE(MACD>0,MACD,0,8,1),COLOR0000DC; STICKLINE(MACD>0 AND MACD<REF(MACD,1),MACD,0,8,1),COLOR00B400; STICKLINE(MACD<=0,MACD,0,8,1),COLORGRAY; STICKLINE(MACD<=0 AND MACD>REF(MACD,1),MACD,0,8,1),COLORC800C8; X0:=BARSLAST((CROSS(MACD,REF(MACD,1)) AND MACD>0) OR CROSS(MACD,0)); X1:=BARSLAST(CROSS(0.5,COUNT(MACD>REF(MACD,1),X0+1)=X0+1));{回} X2:=COUNT(MACD<REF(MACD,1),X1+1)=X1+1 AND COUNT(MACD<0,X1+1)<=2; X3:=REF(X2,1) AND MACD>REF(MACD,1) AND C>O AND C>REF(C,1); STICKLINE(X1=0 AND MACD>0,MACD,0,8,0),ColorDCDC00; STICKLINE(X3,MACD,0,8,0),Color0854FF; POLYLINE(C>0,DIF),ColorF0F0F0; POLYLINE(C>0,DEA),COLOR00DCDC; PARTLINE(DIF,DIF>REF(DIF,1)),COLORRED,LAYER0; ER:=VOL/CAPITAL*100; ZD:=C/REF(C,1)*100-100; A0:=BARSLAST(CROSS(0.5,COUNT(MACD<0,3)>=3) AND (MACD>=1 OR DIF>=2)); A1:=CROSS(0.5,COUNT(MACD>REF(MACD,1),A0+1)=A0+1); A2:=REF(HHV(ER,A0+1),1)>=3 AND REF(HHV(ZD,A0+3),1)>=5; B0:=BARSLAST(A1 AND A2); B1:=COUNT(MACD<REF(MACD,1),B0+1)=B0+1; B2:=COUNT(MACD<0,B0+1)<=2 AND (COUNT(C<O AND ZD<0,2)=2 OR B0>=1); B3:=B1 AND B2;{www.fxjgsw.com} B4:=REF(B3,1) AND MACD>REF(MACD,1) AND C>O AND ZD>0; DRAWTEXT(B4,ABS(MACD)+1.5,'◆'),COLORYELLOW,align1; |
评论内容只代表网友观点,与本站立场无关!
本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!
* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。
* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程
* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!