《股票-哪位老师可以帮我把这个指标改成选股公式然后最好再来一个专家公式可以测试历.....docx》由会员分享,可在线阅读,更多相关《股票-哪位老师可以帮我把这个指标改成选股公式然后最好再来一个专家公式可以测试历.....docx(8页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、哪位老师可以帮我把这个指标改成选股公式,然后最好再来一个专家公式,可以测试历.TS:=130;N:=99;M:=3;MT:=3;M1:=5;M2:=7;M3:=21;M4:=12;M5:=50;DA1:=IF(TS>TOTALBARSCOUNT,TOTALBARSCOUNT,TS);DA:=IF(CURRBARSCOUNT>DA1,0,DA1);HI:=REFDATE(HHV(H,DA),DATE);LO:=REFDATE(LLV(L,DA),DATE);C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);GZ:=EXP(LN(HI/LO)/10);LH
2、1:=SUM(IF(C1>=(HI/GZ),V,0),DA);LH2:=SUM(IF(C1>=(HI/POW(GZ,2)ANDC1<(HI/GZ),V,0),DA);LH3:=SUM(IF(C1>=(HI/POW(GZ,3)ANDC1<(HI/POW(GZ,2),V,0),DA);LH4:=SUM(IF(C1>=(HI/POW(GZ,4)ANDC1<(HI/POW(GZ,3),V,0),DA);LH5:=SUM(IF(C1>=(HI/POW(GZ,5)ANDC1<(HI/POW(GZ,4),V,0),DA);LH6:=SUM(IF(C1&g
3、t;=(HI/POW(GZ,6)ANDC1<(HI/POW(GZ,5),V,0),DA);LH7:=SUM(IF(C1>=(HI/POW(GZ,7)ANDC1<(HI/POW(GZ,6),V,0),DA);LH8:=SUM(IF(C1>=(HI/POW(GZ,8)ANDC1<(HI/POW(GZ,7),V,0),DA);LH9:=SUM(IF(C1>=(LO*GZ)ANDC1<LO*POW(GZ,2),V,0),DA);LH10:=SUM(IF(C1>=LOANDC1<LO*GZ,V,0),DA);L1:=REFDATE(HHV(LH1,D
4、A),DATE),LINETHICK0;L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;L4:=REFDATE(HHV(LH4,DA),DATE);L5:=REFDATE(HHV(LH5,DA),DATE);L6:=REFDATE(HHV(LH6,DA),DATE);L7:=REFDATE(HHV(LH7,DA),DATE);L8:=REFDATE(HHV(LH8,DA),DATE);L9:=REFDATE(HHV(LH9,DA),DATE);L10:=REFDATE(HHV(L
5、H10,DA),DATE);SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*N/100,(HI/GZ),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*N/100,HI/POW(GZ,2),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI
6、/POW(GZ,2)*N/100,HI/POW(GZ,3),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*N/100,HI/POW(GZ,4),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*N/100,HI/POW(GZ,5),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L6/SS)*3
7、>=CURRBARSCOUNT,HI/POW(GZ,5)*N/100,HI/POW(GZ,6),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*N/100,HI/POW(GZ,7),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)*N/100,1,1)COLOR656566,LINETHICK1;STICKLIN
8、E(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)*N/100,1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)*N/100,1,1)COLOR656566,LINETHICK1;DRAWKLINE(H,O,L,C);JJ:=(CLOSE+HIGH+LOW)/3;BS标志DRAWICON(ZIG(3,5)>REF(ZIG(3,5),1)AND(REF(ZIG(3,5),1)&l
9、t;=REF(ZIG(3,5),2)AND(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3),LOW*0.98,7);DRAWICON(ZIG(3,5)<REF(ZIG(3,5),1)AND(REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)AND(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3),HIGH*1.02,8);VAR1:=ZIG(3,10)<REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1)>REF(ZIG(3,10),2);VAR2:=ZIG(3,10)>REF(ZIG(
10、3,10),1)ANDREF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(VAR1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR1,C,O,1,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR1,H,L,0,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR2,C,O,3,0),COLORFF0FF0,LINETHICK2;STICKLINE(VAR2,C,O,2,0),COLORFF0FF0,LINETHICK2;STICKLINE(VAR2,H,
11、L,1,0),COLORFF0FF0,LINETHICK2;DRAWTEXT(CROSS(REF(HIGH,1)+REF(LOW,1)/2,MA(CLOSE,20)+2*STD(CLOSE,20),HIGH*1.06,-落袋为安),COLORYELLOW;EXP7:EXPMA(CLOSE,M2),COLORWHITE,LINETHICK1;今日保护价:(REF(C,2)+REF(C,1)+O)/3,COLORCC3299,NODRAW;高区:IF(CURRBARSCOUNT<=60,CONST(IF(ISLASTBAR=1,HHV(H,BARSLAST(CURRBARSCOUNT=60)
12、,1),DRAWNULL),COLORRED,DOTLINE;低区:IF(CURRBARSCOUNT<=60,CONST(IF(ISLASTBAR=1,LLV(L,BARSLAST(CURRBARSCOUNT=60),1),DRAWNULL),COLORMAGENTA,DOTLINE;STICKLINE(CCI>=200ANDH>=高区,O,C,3,0),COLORBLUE;STICKLINE(CCI<=100ANDL<=低区,O,C,3,0),COLORYELLOW;.tshuz_answer_btnmargin:20px0;display:inline-blo
13、ck;.tshuz_answermargin:20px0;border:1pxsolid#efefef;padding:10px;border-radius:4px;position:relative;font-family:MicrosoftYaHei,Arial,Helvetica,sans-serif!important;background:#f9fbfburl(source/plugin/tshuz_answer/img/bg.png)no-repeatleft10pxtop;background-size:40px;font-size:14px;.reply_tipmargin-l
14、eft:20px;padding-left:20px;border-left:1pxdashed#cdcdcd;.want_replytext-decoration:none!important;background:#FF0000;color:#fff!important;padding:3px10px;border-radius:3px;.tshuz_answerh3margin-top:-15px;height:40px;line-height:40px;padding-left:50px;color:#FF0000;display:inline-block;line-height:52
15、px;.tshuz_answerptext-indent:2em;color:#666;line-height:20px;margin-top:15px;.tshuz_answerpatext-decoration:none!important;color:#999;.tshuz_answer.reply_endcolor:#999;font-size:12px;.tshuz_answer.reply_end.davaborder-radius:100%;height:20px!important;vertical-align:middle;padding:2px;border:1pxsolid#cdcdcd;.tshuz_answer.reply_endapadding:05px;text-decoration:none!important;#threadstamp-wdposition:absolute;top:-30px;right:80px;width:100px;height:100px;本帖寻求各位教师的解答理想27bab62021-9-2623:59发表回复被崧泽采纳,获得奖励分享币5个»-本帖所提出的问题已经获得完美解决,详细答案请看这里假如互助答疑不能解决需求,可以到?威客任务?发布有偿悬赏。
限制150内