MA5:=MA(C,5); MA10:=MA(C,10); MA20:=MA(C,20); MA60:=MA(C,60); X:=C/MA60; N1:=BARSLAST(CROSS(MA5,MA60)); N2:=HHVBARS(H,N1); N3:=BARSLAST(CROSS(MA10,MA5)); N4:=BARSLAST(DOWNNDAY(C,3)); Y:=HHV(H,N2)/REF(L,N1); T1:=N1>N2 AND N2>N3 AND N3>N4 AND REF(V,1)<REF(MA(V,10),1); T2:=C>REF(C,1) AND EVEY(MA20>MA60,N3); T3:=REF(X,1)>0.9 ANDREF(X,1)<1.1 AND V<2; T:T1 AND T2 AND T3; |
|