Var2:=REF(CLOSE,1); Var3:=SMA(MAX(CLOSE-Var2,0),7,1)/SMA(Abs(CLOSE-Var2),7,1)*100; 超卖2:IF(Var3<12,30,0);