来源:Internet,编辑:股旁网,2023-11-20
N1:=5;N2:=8;LC:=REF(CLOSE,1);rsi1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(Abs(CLOSE-LC),N1,1)*100;RSI2:=SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*100;抄底:crOSS(RSI1,20) AND (CROSS(RSI1,RSI2) AND RSI1<50);