{1、黄色的}y1:=llv(l,17);y2:=sma(abs(l-ref(l,1)),17,1);y3:=sma(max(l-ref(l,1),0),17,2);q:=-(ema(if(l<=y1,y2/y3,-3),1));强拉升:cross(q,0);{2、红色的}var2:=expma(expma(expma((2*close+high+low)/4,4),4),4);天:=(ma((var2-ref(var2,1))/ref(var2,1)*100,2));地:=(ma((var2-ref(var2,1))/ref(var2,1)*100,1));开始拉升:地>天 and 地<0;{3、重叠的}y1:=llv(l,17);y2:=sma(abs(l-ref(l,1)),17,1);y3:=sma(max(l-ref(l,1),0),17,2);q:=-(ema(if(l<=y1,y2/y3,-3),1));var2:=expma(expma(expma((2*close+high+low)/4,4),4),4);天:=(ma((var2-ref(var2,1))/ref(var2,1)*100,2));地:=(ma((var2-ref(var2,1))/ref(var2,1)*100,1));重叠的:地>天 and 地<0 and cross(q,0);公式已测试通过!希望能够帮助你! 20210311
{4背离}n:=60;k值:=kdj.k;dd:=c=llv(c,n);ddsj:=barslast(ref(dd,1));ddgj:=ref(close,ddsj+1)>close;kdzb:=ref(k值,ddsj+1)<k值;k底背离:=ddgj and kdzb;{macd指标趋势}macd:=macd.macd;mdzb:=ref(macd,ddsj+1)<macd;m...
副图修改后的选股公式如下.xg:filter(count(cross(((c-ma(c,5))/ma(c,5)*100),0),3)>=1 and ((c-ma(c,30))/ma(c,30)*100)>ref(((c-ma(c,30))/ma(c,30)*100),1) and ma(c,5)>ref(ma(c,5),1) and (c/ref(c,1)-1)*100>5...
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;