以下是通达信海豚张嘴副图选股指标

通达信海豚张嘴副图选股指标

源码

MA4:=MA(CLOSE,4);
 MA20:=MA(CLOSE,20);
 MA10:=MA(CLOSE,10);
 MA62:=MA(CLOSE,62);
 VAR1:=SLOPE(MA20,3)>0;
 VAR2:=ABS(SLOPE(MA62,3))<0.19;
 VAR3:=SLOPE(MA62,3)>REF(SLOPE(MA62,3),1);
 VAR4:=REF(MA4,4)>MA20;
 VAR5:=REF(MA20<MA62,15)AND MA20>=MA62;
 ABSVOL:=(MA4-MA20);
 VAR6:=SLOPE(MA4,2)>=REF(SLOPE(MA4,2),1) AND ABSVOL>=REF(ABSVOL,1) AND REF(ABSVOL,2)>=REF(ABSVOL,1);
 CON1:=VAR1 AND VAR2 AND VAR3 AND VAR4 AND VAR5 AND VAR6 ;
 VAR41:=REF(MA4>MA20,3);
 ABSVOL1:=ABS(MA4-MA10);
 VAR61:=REF(ABSVOL1,2)>REF(ABSVOL1,1) AND ABSVOL1>REF(ABSVOL1,1) AND SLOPE(MA4,2)<0 AND SLOPE(MA4,2)>REF(SLOPE(MA4,2),1);
 CON2:=VAR1 AND VAR2 AND VAR3 AND VAR41 AND VAR5 AND VAR61 ;
 CON:=CON1 OR CON2;
 XG:NOT(REF(CON,4))AND NOT(REF(CON,3))AND NOT(REF(CON,1))AND NOT(REF(CON,2)) AND CON;
 

 

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