通达信一阳穿三选源码

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);
 

上一篇:通达信指标抄底逃顶源码副图    下一篇:通达信黑线选股源码