S:=MA(vol,5)/MA(VOL,60);
A:=MA(S,5);
bias:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;
F:=MA(S,121);
RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;
K:=SMA(RSV,15,1);
D:=SMA(K,15,1);
J:=3*K-2*D;
S1:=IF((J<11 AND BIAS>-11 AND crOSS( S,F) AND (S-F)>0.010),2,0);
关注:S1=2;