SVM1:=(MA(CLOSE,20)-MA(CLOSE,60))/MA(CLOSE,60)*200;
SVM2:=-(MA(CLOSE,20)-MA(CLOSE,60))/MA(CLOSE,60)*200;
KM:=IF(SVM1 0,SVM1,0);
KKM:=-IF(SVM2 0,SVM2,0);
大牛:=HHV(KM,9);
大熊:=HHV(-KKM,9);
SV1:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*200;
SV2:=-(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*200;
K:=IF(SV1 0,SV1,0);
KK:=-IF(SV2 0,SV2,0);
小牛:=HHV(K,3);
小熊:=HHV(-KK,3);
MA20:=MA(CLOSE,20);
HJMS:=HHV(KM,9);
PJMS:=HHV(-KKM,9);
PU:=HHV(-KK,3);
HY:=HHV(K,3);
XG:CROSS(小牛,小熊) AND 大熊=0 AND MA20 REF(MA20,1);