dif:ema(close,9)-ema(close,18),colorcyan;dea:ema(dif,7);macd:=2*(dif-dea);if(dif>=ref(dif,1),dif,draw**),colorred;stickline(macd>=0 and macd>=ref(macd,1),0,macd,2,0),colorred;stickline(macd&g...
{“主力持仓”+“主力**集中度”共同上涨的选股公式}主力持仓:=ema(100*(close-llv(low,34))/(hhv(high,34)-llv(low,34)),3);主力**集中度:=winner(c)*100 ;主力持仓>ref(主力持仓,1) and 主力**集中度>ref(主力**集中度,1);
zz:=if(ref(c,1)>ref(o,1) and o>ref(c,1)*1.014 and c<o*1.02,1,3);v5:=ma(v,5);v12:=ma(v,12);v34:=ma(v,34);c6:=ma(c,6);cross(c,c6) and v>v5*1.2 and v>v12*1.2 and zz>2 and c>h*0.975;