N:=9;M1:=3;M2:=3;P:=9;
快线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
慢线:=SMA(快线,M1,1);
ELI空:=SMA(慢线,M2,1);
ELI牛股:=IF(BArslAST(crOSS(慢线,ELI空))
{- }
LC:=REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(Abs(CLOSE-LC),4.1,1)*100;
牛准反弹:=CROSS(RSI,11)*80;
XG:牛准反弹 OR ELI牛股;