OK:=REF(CLOSE,1);1:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(A(CLOSE-OK),7,1)*100;RSI2:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100;FS:=SMA(MAX(CLOSE-OK,0),7,1)/SMA(ABS(CLOSE-OK),7,1)*100;RSI4:=SMA(FS,7,1);A:=MA(((CLOSE-LLV(LOW,48))/(HHV(HIGH,48)-LLV(LOW,48))*50),17)+9;趋势B:=MA(((CLOSE-LLV(LOW,53))/(HHV(HIGH,53)-LLV(LOW,53))*50),17)+9;A1:=MA(趋势A,7)*1.372;A2:=A1*1.0887;A3:=(1.5*(趋势B+RSI4)-(A2+A1))+12;涨:=IF((OSS(RSI2,RSI4) OR CROSS(RSI2,A3) AND A3<38 RSI1<51),48,38);A:=IF(EXIST(涨>47 AND FS>REF( FS,2),1