DIF:=EMA(C,12)-EMA(C,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; LB:=DYNAINFO(17); F:=COUNT(C/REF(C,1)>1.099,120)>0; BHC:=(DYNAINFO(4)=0); G:=NOT(BHC); XY1:=REF(C,1)>=REF(O,1)AND REF(C,1)<REF(O,1)*1.012; XY2:=REF(C,1)<REF(O,1)AND REF(C,1)>REF(O,1)*0.979; XY3:=REF(C,1)>REF(C,2)*1.099; A1:=O>REF(C,1) AND O<1.02*REF(C,1); A2:=C>MA(C,20); A3:=MA(C,20)>REF(MA(C,20),1); A4:=C/1.005>REF(C,1)AND (XY1||XY2||XY3); A5:=LB>2; A6:=MA(C,5)>REF(MA(C,5),1); A7:=MA(C,10)>REF(MA(C,10),1); A9:=K>D; A10:=DIF>DEA; A11:=DEA>REF(DEA,1); A12:=MACD>REF(MACD,1) AND MACD>0; A13:="KDJ.K#WEEK">="KDJ.D#WEEK"; A14:="MACD.DIF#WEEK">"MACD.DEA#WEEK"; A15:=A1 AND A2 AND A3 AND A4; A16:=A5 AND A6 AND A7; A17:=A9 AND A10 AND A11 AND A12; A18:=A13 AND A14; A19:=A15 AND A16 AND A17 AND A18; XG:IF(A19,10,0)AND C<18 AND F AND G;
|