BIAS1:=(C-MA(C,6))/MA(C,6)*100;6 ^" D& n5 @. K
BIAS2:=(C-MA(C,12))/MA(C,12)*100;
6 Q4 h S* t# x' c( pBIAS3:=(C-MA(C,24))/MA(C,24)*100;" R4 ^! g1 L& h$ Z5 j
BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;+ Z3 d Y# }! P) V' O& b l5 S
乖离:=MA(BIAS,3);1 A% ~. Z+ n5 h5 V7 q
DRAWTEXT(CROSS(BIAS,乖离) AND 乖离0,5) AND FILTERX(X1,5),X1,0),COLORRED;3 l9 t+ ?8 D( ?! N' ^- s
金牛:BARSLAST(换手最小),LINETHICK,color008888;8 I) ]" u7 R. B+ v7 {" Z
X2:=HHV(A,20);
2 B& ]' b, T; {; hX3:=(A-X2)=0;
& t# M) m. b6 T0 C1 g- s换手最大:=IF(ALL(REF(A,1)0,5)AND FILTERX(X1,5),o,'-----------换手最小买'),LINETHICK3,COLORred; |