股票-哪位大神帮帮我做一个选股公式.docx
【图】哪位大神帮帮我做一个选股公式请大神教师根据源码做一个买点出现的选股公式。感谢不尽。VAR2:=LLV(LOW,34);VAR3:=HHV(HIGH,34);VAR21:=C-REF(C,1);VAR22:=100*EMA(EMA(VAR21,6),6)/EMA(EMA(ABS(VAR21),6),6);MA5:=EMA(C,5);MA13:=EMA(C,13);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5)+1),LLV(L,BARSLAST(CROSS (MA13,MA5)+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13)+1),HHV(H,BARSLAST(CROSS (MA5,MA13)+1),0),COLOR0000FF;DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13)+1),HHV(H,BARSLAST(CROSS (MA5,MA13)+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5)+1),LLV(L,BARSLAST(CROSS (MA13,MA5)+1),0),COLOR00FF00;买点:=(LLV(VAR2,2)=LLV(VAR2,7)ANDCOUNT(VAR2<0,2)ANDCROSS(VAR2,MA(VAR2,2)ANDREF(DOWN,1)<REF(DOWN,2)ANDUP>REF(DOWN,1),COLORYELLOW;STICKLINE(UP,0,0.2,3,0),COLOR0000FF;STICKLINE(DOWN,0,0.2,3,0),COLOR00FF00;STICKLINE(买点,0,3,2,0),COLOR000088;STICKLINE(买点,0,3,1,0),COLOR0000CC;STICKLINE(买点,0,3,0.22,0),COLOR0000FF;DRAWTEXT(买点,3,'买'),COLORFFAA66;TJ1:=REF(DOWN,1)<REF(DOWN,2)ANDUP>REF(DOWN,1)ANDC<HHV(H,21)*0.82;STICKLINE(TJ1,0,2,3,0),COLOR880088;STICKLINE(TJ1,0,2,1.5,0),COLORAA00AA;STICKLINE(TJ1,0,2,0.8,0),COLORCC00CC;STICKLINE(TJ1,0,2,0.2,0),COLORMAGENTA;DRAWTEXT(TJ1,2,'买'),COLORMAGENTA;HR:=HHV(HIGH,55);HRY:=LLV(LOW,55);HRY11:=HR*HRY;HRY33:=SQRT(HRY11);TJ2:=REF(DOWN,1)<REF(DOWN,2)ANDUP>REF(DOWN,1)ANDC<HRY33;STICKLINE(TJ2,0,1,5,0),COLOR008888;STICKLINE(TJ2,0,1,2,0),COLOR00AAAA;STICKLINE(TJ2,0,1,1,0),COLOR00CCCC;STICKLINE(TJ2,0,1,0.2,0),COLORYELLOW;DRAWTEXT(TJ2,1,'买'),COLORYELLOW;.tshuz_answer_btnmargin:20px0;display:inline-block;.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-left: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:52px;.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;本帖寻求各位教师的解答桃gp8882021-12-820:39发表回复被木牛流星采纳,获得奖励分享币5个>>»->本帖所提出的问题已经获得完美解决,详细答案请看这里>>>假如互助答疑不能解决需求,可以到?威客任务?发布有偿悬赏。