日天主图选股源码:
X_1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
X_2:=DMA(CLOSE,X_1);
X_3:=(1-10/100)*X_2;
X_4:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_5:=SMA(X_4,2,1);
X_6:=SMA(X_5,2,1);
X_7:=3*X_5-2*X_6;
X_8:=CROSS(X_7,0);
X_9:=EMA(CLOSE,15)-EMA(CLOSE,26);
X_10:=EMA(X_9,5);
X_11:=2*(X_9-X_10);
X_12:=X_11 0 AND X_11 REF(X_11,1) AND REF(X_11,1) REF(X_11,2);
X_13:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
X_14:=SMA(X_13,2,1);
X_15:=SMA(X_14,2,1);
X_16:=3*X_14-2*X_15;
买入:X_8 AND X_12 AND HIGH =X_3;