fs:=ma(close,17)+ma(close,17)-ref(ma(close,17),1);趋势:=if(ma(close,17)<fs,fs,ma(close,17));年线:=ema(c,250);反线:=ema((年线-(ema(c,3)-年线)),5);x1:=反线-趋势;x2:=趋势*0.15;x:反线>趋势 and x1<x2; 20210311
您要的公式如下: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;
成交额:=v*c/100;{万元}a2:=sum((if(((成交额/8>20) and (close>(ref(close,1)))),成交额,0)),0);a3:=sum((if(((成交额/8>20) and (close<(ref(close,1)))),成交额,0)),0);a4:=sum((if(((成交额/8<20) and (close>(ref...