收藏 分享(赏)

股票自编指标.doc

上传人:精品资料 文档编号:7631999 上传时间:2019-05-22 格式:DOC 页数:10 大小:90KB
下载 相关 举报
股票自编指标.doc_第1页
第1页 / 共10页
股票自编指标.doc_第2页
第2页 / 共10页
股票自编指标.doc_第3页
第3页 / 共10页
股票自编指标.doc_第4页
第4页 / 共10页
股票自编指标.doc_第5页
第5页 / 共10页
点击查看更多>>
资源描述

1、1自编指标1.YS_DBTP 底部突破 12.YS_DDBZ 大单标准 23.YS_DXCD 短线抄底 24.YS_DXTD 短线逃顶 35.YS_JXDL 均价大量 36.YS_JJX 均价线 47. YS_KNQZ 可能起涨 48. YS_KPMR 开盘买入 59. YS_KXXG 线选股 610. YS_PCMR 盘初买入 611. YS_PZMR 盘中买入 712. YS_QZD 起涨点 713. YS_WDW 底 91.YS_DBTP底部突破VARIABLE: DDZDJ=0;VARIABLE: DDZDJJ=0;VARIABLE: TDZDJ=0;VARIABLE: TDZDJJ=

2、0;VARIABLE: WDQY=0;MA5:=MA(C,5);MA10:=MA(C,10);MA30:=MA(C,30);M5SC10:=CROSS(MA5,MA10);M5XP10:=CROSS(MA10,MA5);M10XP30:=CROSS(MA30,MA10);M10SC30:=CROSS(MA10,MA30);LXDD:=COUNT(MA5REF(MA5,1),5)=5ANDCOUNT(LXDD,6);强劲反弹ECTD:=COUNT(MA5DDZDJ;2.YS_DDBZ大单标准DD:=(CAPITAL*0.005/100)/100;IF DD=1AND DD=0.5,INTPART

3、(DD)*100+50,INTPART(DD)*100);ELSEIF DD0.5,80,50);ELSEDDL:=1200;大单:DDL;3.YS_DXCD短线抄底INPUT:N(13), M1(3), M2(3), N4(30), N5(60);流通股:=CAPITAL/10000000;涨幅:=(C-O116)/O116*100;RSV:=(CLOSE-LLV(LOW,N)/(HHV(HIGH,N)-LLV(LOW,N)*100;A:=SMA(RSV,M1,1);B:=SMA(a,M2,1);E:=3*A-2*B;IF A100THENA:=100;IF B100THENB:=100;I

4、F E100THENE:=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);底部:=10;买入警戒:IF(趋势=90,50,100);MA3:=MA(C,3);JC:=CROSS(E,B)ANDCROSS(E,A)ANDCROSS(A,B);XC:=CROSS(B,E)ANDCROSS(A,E)ANDCROSS(B,A);反转:=IF(REF(XC,1)AND JC,50,0);

5、GDMR:=COUNT(反转=50,10)2AND买入信号=100;NXZC:REF(CROSS(MA(C,120),C),1)ANDCROSS(C,MA(C,120);HPQG:买入信号=100AND(CROSS(C,MA(C,120)ORREF(NXZC,1);DRAWTEXT(HPQG,100,或破前高);果断买入:=IF(GDMR,150,0);DRAWTEXT(GDMR,150,果断买入);高抛:=IF(趋势100,50,100);4.YS_DXTD短线逃顶A:=HHV(HIGH,5);B:=REF(OPEN,4);f:=LLV(LOW,5);D:=2*(A-f);W:(A-B+CL

6、OSE-f)/D*100;MW:MA(W,3);CYC13:=EMA(AMOUNT,13)/EMA(VOL,13);CYS:=(CLOSE-CYC13)/CYC13*100;HSL:=VOL/CAPITAL;X:30,colorgreen;S:70,colorgreen;CYSBL:=C=LLV(C,10)AND CYSREF(W,1)AND MWREF(MW,1)ANDCC1ANDCROSS(MW,W)ORCOUNT(BL,3)=2)AND MW80,3);逃顶:IF(TD OR筑顶完成,90,100);DRAWTEXT(逃顶=90,90,逃顶);5.YS_JXDL均价大量VARIABLE:

7、 LJCJL=0;VARIABLE: LJCJE=0;VARIABLE: LSSS=0;VARIABLE:选中股票=0;VARIABLE: PJJX=0;VARIABLE: DJJBS=0;LJCJL:=LJCJL+VOL;LJCJE:=LJCJE+AMOUNT;JQJJ:=LJCJE/(LJCJL*100);精确均价均价:=IF(FRACPART(JQJJ*100)=0.5,(INTPART(JQJJ*100)+1)/100,INTPART(JQJJ*100)/100);IF均价REF(均价,1)THENLSSS:=LSSS+1;ELSEIF均价=REF(均价,1)THENLSSS:=LSS

8、S;ELSELSSS:=0;IF均价=REF(均价,1)THENDJJBS:=DJJBS+1;ELSEDJJBS:=0;IFTIME093500THENPJJX:=IF(C100AND均价REF(均价,1)ANDBUYVOL5*“YS_DDBZ“;MRD2:=LSSS=10ANDBUYVOL10*“YS_DDBZ“ANDCOUNT(SELLVOL10*“YS_DDBZ“,0)=0ANDTIME=0.5,(INTPART(JQJJ*100)+1)/100,INTPART(JQJJ*100)/100);7. YS_KNQZ可能起涨INPUT:N1(5), N2(10), N3(20), N4(30

9、), N5(60);换手率:=VOL/CAPITAL*100;JSJ:=IF(BARSTATUS=2,0.08*C1+C1,CLOSE);MA1:=MA(JSJ, N1);攻击线MA2:=MA(JSJ, N2);操盘线MA3:=MA(JSJ, N3);MA4:=MA(JSJ, N4);生命线MA5:=MA(JSJ, N5);决策线DIFF :=EMA(JSJ,12)-EMA(JSJ,26);DEA :=EMA(DIFF,9);MACD :=2*(DIFF-DEA);主升浪起涨点JXXDT:=MA1MA2 AND MA4MA5;均线小多头FL:=VOL=2*VOL1OR换手率10;放量DYX:=

10、(JSJ-REF(JSJ,1)/REF(JSJ,1)*1003;大阳线QQGD:=JSJ=HHV(JSJ,30);突破前期高点TPQQGD:=COUNT(QQGD,5)=1AND JXXDT ANDCOUNT(CROSS(MA1,MA2),5)AND FL AND DYX AND QQGD;主升浪起涨点突破前期高点:IF(TPQQGD,2,0);DRAWTEXT(TPQQGD,2,突破前期高点);TPSMX:=CROSS(JSJ,MA4)ANDCROSS(MA1,MA2)AND FL AND DYX AND JXXDT;DRAWTEXT(TPSMX,1,突破生命线);JXSX:=MA1=REF

11、(MA1,1)AND MA2=REF(MA2,1)AND MA4=REF(MA4,1)AND MA5=REF(MA5,1);YYCSIX:=CROSS(JSJ,MA1)ANDCROSS(JSJ,MA2)ANDCROSS(JSJ,MA4)ANDCROSS(JSJ,MA5);一阳穿四线:FL AND JXSX AND YYCSIX;DRAWTEXT(一阳穿四线,1,一阳穿四线);JXPL:=MA1=REF(MA1,1)AND MA2=REF(MA2,1)AND MA4=REF(MA5,1);YYCSANX:=CROSS(JSJ,MA2)ANDCROSS(JSJ,MA3)ANDCROSS(JSJ,M

12、A4);一阳穿三线:IF(FL AND JXPL AND YYCSANX,1.5,0);DRAWTEXT(一阳穿三线,1.5,一阳穿三线);关注:IF(突破前期高点=2OR一阳穿三线=1.5OR一阳穿四线=1,3,0);DRAWTEXT(关注=3,3,关注);8. YS_KPMR开盘买入VARIABLE: LJTDDCJL=0;VARIABLE: DYD=0;VARIABLE: DYDDJ=0;VARIABLE: TDMRDGS=0;VARIABLE: TDMCDGS=0;VARIABLE:选中股票=0;TDMD:=10*“YS_DDBZ“;LJTDDCJL:=IF(VOLTDMD ANDIS

13、BUYORDER=1,LJTDDCJL+VOL,LJTDDCJL);TDMRDGS:=IF(VOLTDMD ANDISBUYORDER=1,TDMRDGS+1,TDMRDGS);TDMCDGS:=IF(VOLTDMD ANDISBUYORDER=0,TDMCDGS+1,TDMCDGS);I:=BARPOS;DYD:=IF(I=1ANDVOLTDMD ANDISBUYORDER=1,VOL,DYD);DYDDJ:=IF(I=1ANDVOLTDMD ANDISBUYORDER=1,C,DYDDJ);KPMR:=TDMCDGS=0AND(LJTDDCJL/DYD3OR TDMRDGS=3)AND D

14、YD0ANDVOLTDMD ANDISBUYORDER=1ANDCDYDDJ AND I=3ANDCOUNT(ZF=2AND ZF2;跳空高开GTGJ:=C=HANDO=L;光头光脚阳线注意:IF(REF(LD,1)AND TKGK ANDO=L,2,0);DRAWTEXT(注意=2,2,注意);旭日东升:REF(LD,1)AND TKGK AND GTGJ ANDCO1;10. YS_PCMR盘初买入VARIABLE: DDZDMR=0;VARIABLE: DDZDMC=0;VARIABLE: LJCJL=0;VARIABLE: DDGD=0;VARIABLE: ZMDDGS=0;VARIA

15、BLE: KP=0;KP:=IF(BARSTATUS=1,TIME,KP);IFTIME=KP ANDTIME=“YS_DDBZ“,DDZDMR+BUYVOL,DDZDMR);DDZDMC:=IF(SELLVOL=“YS_DDBZ“,DDZDMC+SELLVOL,DDZDMC);DDJC:MA(DDZDMR-DDZDMC,10);DDBL:(DDZDMR-DDZDMC)/LJCJL*100;KPSJ:=FRACPART(INTPART(TIME/100)/100)*100-29;ZMDDGS:=IF(ISBUYORDER=1ANDVOL“YS_DDBZ“,ZMDDGS+1,ZMDDGS);WT

16、DMCD:=COUNT(ISBUYORDER=0ANDVOL10*“YS_DDBZ“,0)=0;ZMDDPL:=ZMDDGS/KPSJ;BLYPLTJ:=DDBL=30OR(DDBL=10AND ZMDDPL=1);DDGD:=IF(VOL“YS_DDBZ“ANDCDDGD,C,DDGD);ENDPCMR:=TIME093500AND DDGDREF(DDGD,1)AND DDJC=HHV(DDJC,0)ANDISBUYORDER=1ANDVOL=“YS_DDBZ“AND BLYPLTJ AND WTDMCD;盘初买入:=COUNT(PCMR,0)=1AND PCMR;11. YS_PZMR盘

17、中买入VARIABLE: DDZDMR=0;VARIABLE: DDZDMC=0;VARIABLE: LJCJL=0;VARIABLE: LJCJE=0;VARIABLE: TZBS=0;VARIABLE:选中股票=0;LJCJL:=LJCJL+VOL;LJCJE:=LJCJE+AMOUNT;JQJJ:=LJCJE/(LJCJL*100);精确均价均价:=IF(FRACPART(JQJJ*100)=0.5,(INTPART(JQJJ*100)+1)/100,INTPART(JQJJ*100)/100);价:=MA(C,10);DDZDMR:=IF(BUYVOL=1*“YS_DDBZ“,DDZD

18、MR+BUYVOL,DDZDMR);DDZDMC:=IF(SELLVOL=1*“YS_DDBZ“,DDZDMC+SELLVOL,DDZDMC);DDLR:MA(DDZDMR-DDZDMC,10);LJCJL:=LJCJL+VOL;DDBL:(DDZDMR-DDZDMC)/LJCJL*100;SC:=CROSS(价,均价);SX:=价REF(价,1)AND均价REF(均价,1);IFTIME093400ANDTIME0ANDCOUNT(SX,0)0ANDBUYVOL10*“YS_DDBZ“AND价=HHV(价,0);买入点:IF(FILTER(MR,0)AND选中股票=0,2,0);选中股票:M

19、R OR选中股票;DRAWTEXT(买入点=2,2,买入点);END;12. YS_QZD起涨点INPUT:N1(5), N2(10), N3(20), N4(30), N5(60);换手率:=VOL/CAPITAL*100;MA1:=MA(C, N1);攻击线MA2:=MA(C, N2);操盘线MA3:=MA(C, N3);MA4:=MA(C, N4);生命线MA5:=MA(C, N5);决策线DIFF :=EMA(C,12)-EMA(C,26);DEA :=EMA(DIFF,9);MACD :=2*(DIFF-DEA);ZTB:C/C11.0999;主升浪起涨点JXXDT:=MA1MA2

20、AND MA4MA5;均线小多头FL:=VOL=2*VOL1OR换手率10;放量DYX:=(C-C1)/C1*1003;大阳线QQGD:=C=HHV(C,30);突破前期高点TPQQGD:=COUNT(QQGD,5)=1AND(JXXDT ANDCOUNT(CROSS(MA1,MA2),5)AND FL AND DYX AND QQGD);主升浪起涨点突破前期高点:IF(TPQQGD,2,0);二次买入:COUNT(TPQQGD,15)AND(CROSS(C,MA3)OROMA3);DRAWTEXT(二次买入,2,二次买入);DRAWTEXT(TPQQGD,2,突破前期高点);TPSMX:=C

21、ROSS(C,MA4)ANDCROSS(MA1,MA2)AND FL AND DYX AND JXXDT;DRAWTEXT(TPSMX,1,突破生命线);JXSX:=MA1=REF(MA1,1)AND MA2=REF(MA2,1)AND MA4=REF(MA4,1)AND MA5=REF(MA5,1);YYCSIX:=CROSS(C,MA1)ANDCROSS(C,MA2)ANDCROSS(C,MA4)ANDCROSS(C,MA5);一阳穿四线:FL AND JXSX AND YYCSIX;DRAWTEXT(一阳穿四线,1,一阳穿四线);JXPL:=MA1=REF(MA1,1)AND MA2=R

22、EF(MA2,1)AND MA4=REF(MA5,1);YYCSANX:=CROSS(C,MA2)ANDCROSS(C,MA3)ANDCROSS(C,MA4);一阳穿三线:IF(FL AND JXPL AND YYCSANX,1.5,0);DRAWTEXT(一阳穿三线,1.5,一阳穿三线);JLYX:=OHHV(C,30)AND换手率=HHV(换手率,30);巨量阴线SCYYX:=(H-C)/(C-O)0.5AND(C-C1)/C10.05;长上引阳线CPQG:=IF(COUNT(JLYX,30)=0,SCYYX ANDCOUNT(QQGD,5)=1,SCYYX ANDCOUNT(CHHV(O

23、,30),5)=1);极目远眺:IF(REF(CPQG,1)ANDCC1ANDOC1ANDCREF(MA1,1)ANDREF(MA1,1)=REF(MA1,2);攻击线下拐;M1XP2:=CROSS(MA2,MA1);M1SC2:=CROSS(MA1,MA2);IF CZQY THENBEGINSZB:=BARSLAST(M1SG)=BARSLAST(M1XG);下跌波;QYBXDTS:=IF(XDB,BARSLAST(M1XG)+1,QYBXDTS);DDFTTJ:=M1XG ANDREF(QYBXDTS,1)=8AND QYBSZTS=5ANDCOUNT(M1XP2,BARSLAST(RE

24、F(M1XG,1)+1)ANDCOUNT(M1SC2,BARSLAST(M1SG)+1);ECTD:=DDFTTJ AND XDB OR ECTD AND XDB;TDHS:=REF(ECTD,1)AND M1SG ANDCOUNT(ECTD,BARSLAST(M1XG+1)=4ANDCOUNT(M1XP2,4);QXDBDJ:=IF(M1SG AND SZB,LLV(C,BARSLAST(M1XG)+1),QXDBDJ);QSZBGJ:=IF(M1XG AND XDB,HHV(C,BARSLAST(M1SG)+1),QSZBGJ);QXDBDJJ:=IF(M1SG AND SZB,LLV(MA1,BARSLAST(M1XG)+1),QXDBDJJ);QSGJ:=IF(M1SG AND SZB,C,QSGJ);DBTG:=QXDBDJREF(QXDBDJ,1)AND QXDBDJJREF(QXDBDJJ,1)AND QSGJREF(QSGJ,1)ANDCMA4;WD:DBTG AND TDHS;ENDDRAWTEXT(WD,1,W底);

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 企业管理 > 管理学资料

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报