以下是通达信强势股疯子副图/选股预警源码

通达信强势股疯子副图/选股预警源码

VAR0:=(MA(C,3));
 VAR1:=(MA(C,5));
 VAR2:=(MA(C,10));
 VAR3:=(MA(C,20));
 VAR4:=(((((MA(C,3)) > (REF(MA(C,3),1))) AND ((MA(C,5)) > (REF(MA(C,5),1)))) AND (C > (MA(C,3)))) AND ((MA(C,3)) > (MA(C,5))));
 VAR5:=(((ATAN(((VAR0 / (REF(VAR0,1))) – 1) * 100)) * 180) / (3.1416));
 VAR6:=(((ATAN(((VAR1 / (REF(VAR1,1))) – 1) * 100)) * 180) / (3.1416));
 VAR7:=(((ATAN(((VAR2 / (REF(VAR2,1))) – 1) * 100)) * 180) / (3.1416));
 VAR8:=(((ATAN(((VAR3 / (REF(VAR3,1))) – 1) * 100)) * 180) / (3.1416));
疯子MA20:IF(VAR5>45 AND VAR6>45 AND VAR7>60 AND VAR8>45 AND MA(C,250)>REF(MA(C,250),1),1,0);

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