以下是通达信白线选股源码附图(无源码的请下载附件导入)
白线选股(1)源码
X_1:=MA(CLOSE,25);
X_2:=EMA(CLOSE,17);
X_3:=EMA(CLOSE,50);
X_4:=OPEN>X_2;
X_5:=CLOSE>X_1 AND CLOSE>X_2 AND CLOSE>X_3 AND CLOSE/X_2<X;
X_6:=COUNT(CLOSE>REF(CLOSE,1)*P,30);
X_7:=SUM(LOW>EMA(CLOSE,17),N)=N AND VOL<REF(VOL,1);
X_4 AND X_5 AND X_6 AND X_7;
白线选股(2)源码
X_1:=MA(CLOSE,25);
X_2:=EMA(CLOSE,17);
X_3:=EMA(CLOSE,50);
X_4:=OPEN>X_2;
X_5:=CLOSE>X_1 AND CLOSE>X_2 AND CLOSE>X_3 AND CLOSE/X_2<X;
X_6:=COUNT(CLOSE>REF(CLOSE,1)*1.08,30);
X_7:=SUM(LOW>MA(CLOSE,25),N)=N AND VOL<REF(VOL,1);
X_4 AND X_5 AND X_6 AND X_7;
白线选股(3)源码
X_1:=MA(CLOSE,25);
X_2:=EMA(CLOSE,17);
X_3:=EMA(CLOSE,50);
X_4:=OPEN>X_1;
X_5:=CLOSE>X_1 AND CLOSE>X_2 AND CLOSE>X_3 AND CLOSE/X_1<X;
X_6:=COUNT(CLOSE>REF(CLOSE,1)*1.06,N);
X_7:=COUNT(CROSS(CLOSE,MA(CLOSE,25)),4) AND VOL<REF(VOL,1) AND SUM(CLOSE>MA(CLOSE,99),Y)=Y;
X_4 AND X_5 AND X_6 AND X_7;
727388963.jpg
白线选股(4)源码
X_1:=MA(CLOSE,25);
X_2:=EMA(CLOSE,17);
X_3:=EMA(CLOSE,50);
X_4:=OPEN>X_2;
X_5:=CLOSE>X_1 AND CLOSE>X_2 AND CLOSE>X_3 AND CLOSE/X_2<X;
X_6:=COUNT(CLOSE>REF(CLOSE,1)*1.093,30);
X_7:=SUM(LOW>EMA(CLOSE,17),N)=N AND VOL<REF(VOL,1);
X_4 AND X_5 AND X_6 AND X_7;
白线选股(5)源码
X_1:=MA(CLOSE,25);
X_2:=EMA(CLOSE,17);
X_3:=EMA(CLOSE,50);
X_4:=OPEN>X_2;
X_5:=CLOSE>X_1 AND CLOSE>X_2 AND CLOSE>X_3 AND CLOSE/X_2<X;
X_6:=COUNT(CLOSE>REF(CLOSE,1)*1.06,30);
X_7:=SUM(LOW>EMA(CLOSE,17),N)=N AND VOL<REF(VOL,1);
X_4 AND X_5 AND X_6 AND X_7;
724522467.png
白线选股(6)源码
X_1:=MA(CLOSE,25);
X_2:=EMA(CLOSE,17);
X_3:=EMA(CLOSE,50);
X_4:=OPEN>X_1;
X_5:=CLOSE>X_1 AND CLOSE>X_2 AND CLOSE>X_3 AND CLOSE/X_1<X;
X_6:=COUNT(CLOSE>REF(CLOSE,1)*1.08,N);
X_7:=COUNT(CROSS(CLOSE,MA(CLOSE,25)),3) AND VOL<REF(VOL,1) AND SUM(CLOSE>MA(CLOSE,99),Y)=Y;
X_4 AND X_5 AND X_6 AND X_7;
725266601.png
白线选股(7)源码
X_1:=MA(CLOSE,25);
X_2:=EMA(CLOSE,17);
X_3:=EMA(CLOSE,50);
X_4:=OPEN>X_2;
X_5:=CLOSE>X_1 AND CLOSE>X_2 AND CLOSE>X_3 AND CLOSE/X_2<X;
X_6:=COUNT(CLOSE>REF(CLOSE,1)*1.07,30) AND COUNT(VOL/MA(VOL,300)<3,20)=20;
X_7:=SUM(LOW>EMA(CLOSE,17),N)=N AND VOL<REF(VOL,1);
X_4 AND X_5 AND X_6 AND X_7;
725388555.png
白线选股(8)源码
X_1:=MA(CLOSE,25);
X_2:=EMA(CLOSE,17);
X_3:=EMA(CLOSE,50);
X_4:=OPEN>X_2;
X_5:=CLOSE>X_1 AND CLOSE>X_2 AND CLOSE>X_3 AND CLOSE/X_2<X;
X_6:=COUNT(CLOSE>REF(CLOSE,1)*1.09,30) AND COUNT(VOL/MA(VOL,300)<3,20)=20;
X_7:=SUM(LOW>EMA(CLOSE,17),N)=N AND VOL<REF(VOL,1);
X_4 AND X_5 AND X_6 AND X_7;
725455993.png
|