以下是通达信明日低买源码附图(无未来)

副图指标源码:

VAR1:=MA(C,5)>MA(C,10)AND MA(C,10)>MA(C,20)AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60);
 VAR2:=MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1);
 SSXG:=VAR1 AND VAR2;
 VAR3:=(REF(C,1)/REF(C,2)<0.96) OR (REF(O,1)/REF(C,1)>1.04);
 VAR4:=C/REF(C,1)>1.041 AND C>REF(O,1) ;
 XGH1:=VAR3 AND VAR4;
 VAR5:=REF(O,1)/REF(C,1)>1.05;
 VAR6:=C/REF(C,1)>1.041 AND C>REF(O,1) AND L<REF(C,1);
 XGH2:=VAR5 AND VAR6;
 XGY:=XGH1 OR XGH2;
 ZHXG:=SSXG AND XGY;
明日低买:REF(ZHXG,4),COLORYELLOW;
 DRAWTEXT(REF(ZHXG,4),0.8,’明日低买’),COLORWHITE;

选股源码:

VAR1:=MA(C,5)>MA(C,10)AND MA(C,10)>MA(C,20)AND MA(C,10)>MA(C,30) AND MA(C,30)>MA(C,60);
 VAR2:=MA(C,5)>REF(MA(C,5),1) AND MA(C,10)>REF(MA(C,10),1) AND MA(C,20)>REF(MA(C,20),1) AND MA(C,30)>REF(MA(C,30),1);
 SSXG:=VAR1 AND VAR2;
 VAR3:=(REF(C,1)/REF(C,2)<0.96) OR (REF(O,1)/REF(C,1)>1.04);
 VAR4:=C/REF(C,1)>1.041 AND C>REF(O,1) ;
 XGH1:=VAR3 AND VAR4;
 VAR5:=REF(O,1)/REF(C,1)>1.05;
 VAR6:=C/REF(C,1)>1.041 AND C>REF(O,1) AND L<REF(C,1);
 XGH2:=VAR5 AND VAR6;
 XGY:=XGH1 OR XGH2;
 ZHXG:=SSXG AND XGY;
明日低买:REF(ZHXG,4);
 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。