幅图指标源码:
X_1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
X_2:=DMA(CLOSE,X_1);
X_4:=(1-9/100)*X_2;
X_5:=CLOSE/REF(CLOSE,1)>1.092 AND CLOSE/REF(CLOSE,1)<1.1035 AND CLOSE=HIGH;
X_6:=REF(COUNT(X_5,6)=1,1);
X_7:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,5)<(-10),1);
X_8:=AMOUNT/VOL/7;
X_9:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
X_10:=SUM(AMOUNT,10)/X_8/7;
X_11:=DMA(X_9,VOL/X_10);
X_12:=(CLOSE-X_11)/X_11*100;
X_13:=CROSS(X_12,(-5)) OR CROSS(X_12,(-10));
X_14:=CLOSE/REF(CLOSE,20)<1.3 OR REF(CLOSE,3)/REF(CLOSE,20)<1.3;
X_15:=X_6 AND X_7 AND CLOSE>X_4 AND CLOSE<X_2 AND CLOSE/REF(CLOSE,1)>1.01 AND X_13 AND X_14;
X_16:=FILTER(X_15,2);
STICKLINE(X_16,0.5,1,2.5,0),COLORWHITE;
STICKLINE(X_16,0,0.5,2.5,0),COLORMAGENTA;
DRAWICON(X_16,1,1);
选股公式:
X_1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,30))/MA(CLOSE,30);
X_2:=DMA(CLOSE,X_1);
X_4:=(1-9/100)*X_2;
X_5:=CLOSE/REF(CLOSE,1)>1.092 AND CLOSE/REF(CLOSE,1)<1.1035 AND CLOSE=HIGH;
X_6:=REF(COUNT(X_5,6)=1,1);
X_7:=REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,2)<(-5),1) OR REF(SUM((CLOSE-REF(CLOSE,1))/CLOSE*100,5)<(-10),1);
X_8:=AMOUNT/VOL/7;
X_9:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
X_10:=SUM(AMOUNT,10)/X_8/7;
X_11:=DMA(X_9,VOL/X_10);
X_12:=(CLOSE-X_11)/X_11*100;
X_13:=CROSS(X_12,(-5)) OR CROSS(X_12,(-10));
X_14:=CLOSE/REF(CLOSE,20)<1.3 OR REF(CLOSE,3)/REF(CLOSE,20)<1.3;
X_15:=X_6 AND X_7 AND CLOSE>X_4 AND CLOSE<X_2 AND CLOSE/REF(CLOSE,1)>1.01 AND X_13 AND X_14;
X_16:=FILTER(X_15,2);
XG:X_16;