以下是通达信一阳穿三选源码
XA_1:=MA(CLOSE,5);
XA_2:=MA(CLOSE,10);
XA_3:=MA(CLOSE,20);
XA_4:=REF(XA_1,1)<REF(XA_3,1) AND REF(XA_3,1)<REF(XA_2,1) AND IF(REF(CLOSE,1)>REF(OPEN,1),REF(CLOSE,1)<REF(XA_2,1),REF(OPEN,1)<REF(XA_2,1));
XA_5:=CROSS(XA_2,XA_1) AND REF(XA_1,1)>REF(XA_2,1) AND REF(XA_2,1)>REF(XA_3,1);
XA_6:=BARSLAST(XA_5)<8;
XA_7:=CROSS(XA_3,XA_1) AND REF(XA_2,1)>REF(XA_1,1) AND REF(XA_1,1)>REF(XA_3,1);
XA_8:=BARSLAST(XA_7)<5;
一阳穿三A:XA_4 AND XA_6 AND XA_8 AND CLOSE>MAX(XA_2,XA_3) AND OPEN<1.05*REF(CLOSE,1);
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)