LC:=REF(CLOSE,1);
rsi1:=(SMA(MAX(CLOSE-LC,0),7,1)/SMA(Abs(CLOSE-LC),7,1)*100),LINETHICK2,COLOR0099FF;
RSI2:=(SMA(MAX(CLOSE-LC,0),21,1)/SMA(ABS(CLOSE-LC),21,1)*100),LINETHICK2,COLORGREEN;
A1:=RSI2=REF(RSI2,1) AND RSI1< RSI2 AND RSI1< 20;
A2:=RSI2=REF(RSI2,1) AND RSI1=REF(RSI1,1) AND RSI1>10 AND RSI1< 40;
出击:A1 OR A2;