VAR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR2:=SMA(VAR1,20,1);
VAR3:=SMA(VAR2,15,1);
VAR4:=(3*VAR2+2*VAR3)/4;
VAR5:= REF(VAR4,1);
{-股票公式网站 }
A:SMA(MAX(VAR4-VAR5,0),2,1)/SMA(Abs(VAR4-VAR5),2,1)*100;
B:MA(A,10);
介入:IF(crOSS(A,B),50,0);