您要的公式如下:rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;aa:=k>30;hsl:=vol/capital*100;bb:=hsl>3;xg:aa and bb and c>o and c/ref(c,1)<1.03;
{选股周期:60分钟}short:=12;long:=26;m:=9;n:=55;diff:=ema(close,short)-ema(close,long);dea:=ema(diff,m);macd:=2*(diff-dea);底背离:llv(l,n)=l and not(llv(macd,n)...