m1:=ma(close,5);
m2:=ma(close,10); m3:=ma(close,20); m4:=ma(close,30); y1:=max(max(max(m1,m2),m3),m4); x1:=min(min(min(m1,m2),m3),m4); 黏合:y1/x1<n; n越小越黏合(n,1.01-----1.05)
20日均線,上穿62日均線 xg:cross(ma(c,20),ma(c,62));
3日均線上穿10日均線,,KDJ有效金叉
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; w1:=cross(ma(c,3),ma(c,10)); xg:w1 and cross(k,d); MACD在8天以內(nèi)兩次金叉
DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26)); 量價(jià)托公式
A:=MA(C,5)>MA(C,10) AND CROSS(MA(C,10),MA(C,20)); B:=MA(V,5)>MA(V,10) AND CROSS(MA(V,10),MA(V,20)); 參數(shù)名N N1 5 60 5 N2 10 120 10 N3 20 250 20 |
|