源码
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
DRAWTEXT(CROSS(FF,MA15),(LOW*0.99),'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH*1.02),'顶背离'),COLOR1880FF;