dif:=(c,12)-(c,26);:=(dif,9);:=(dif-)*2;xg:(c>=hhv(c,20) and not(>(,1))) or (c<=llv(c,20) and not(macd<(macd,1))); 也不知道我猜的对不对,给你一个吧,选出收盘价20日内最高收盘价而macd红柱没变长,反之也是。 20210311
{选股周期: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)...
n4:=34;涨幅:=c/ref(c,1)>2;中期:=100*(c-llv(l,n4))/(hhv(c,n4)-llv(l,n4));kdd:=ref(中期,1)<1 and 中期>1;kaaa1:=ex**t(kdd,3);kbbb1:=c/ref(c,1)>1+0.01*涨幅;超级资金:kaaa1 and kbbb1;