VAR1:=(2*CLOSE+HIGH+LOW)/4; VAR2:=EMA(EMA(EMA(VAR1,4),4),4); J1:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100; D1:=MA(J1,3); K1:=MA(J1,1); 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; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; CJDXXG:=EXIST(CROSS(K1,0) OR CROSS(K1,D1),2) AND D1>-0.9 AND D1<0.9; CJDXXG AND J>=60 AND J>REF(J,1) AND MA(C,3)>REF(MA(C,3),1) AND MA(C,15)>=REF(MA(C,15),1) AND MACD>REF(MACD,1) AND DIF>=DEA; |
|
來自: bill69 > 《自用系統(tǒng)》