一个均线多头排列,在MA250以上MA120,MA30多头排列。KDJ的J下穿0以后,成交量今阴大于昨天成交量。
N:=9;M1:=3;M2:=3;
MA30:=MA(C,30);
MA120:=MA(C,120);
MA250:=MA(C,250);
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
C<O AND V>REF(V,1) AND CROSS(0,J) AND MA30>MA120 AND MA120>MA250;
另一个,均线多头,KDJ,J上穿0或20后,二次金叉公式。
N:=9;M1:=3;M2:=3;
MA30:=MA(C,30);
MA120:=MA(C,120);
MA250:=MA(C,250);
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
A:=CROSS(J,0);
B:=REF(BARSLAST(A),1)+1;
D1:=COUNT(B,10)=2;
二次金叉:=A AND B AND D1 AND J>REF(J,1);
XG:MA30>MA120 AND MA120>MA250 AND 二次金叉;
67122009.png
|