VAR1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR22:=SMA(VAR1,21,1);
VAR33:=SMA(VAR22,15,1);
VAR44:=(3*VAR22+2*VAR33)/4;
VAR55:= REF(VAR44,1);
RSA:=SMA(MAX(VAR44-VAR55,0),2,1)/SMA(Abs(VAR44-VAR55),2,1)*100;
RSB:=MA(RSA,10);
拉升:IF(crOSS(RSA,RSB),21,0);