l0:=const(l);t0:=ref(barslast(currbarscount<=200 and (abs(l-l0)=0 or abs(h-l0)=0 or abs(o-l0)=0 or abs(c-l0)=0)),1)+1;xg:currbarscount=const(t0)+1;公式已经测试,选股正常。股票公式专家团为你解答,希望能帮到你,祝投资顺利。
diff:=ema(close,12)-ema(close,26);dea:=ema(diff,9);a2:=barslast(ref(cross(diff,dea),1));ma20:=ma(close,20);xpp1:=cross(dea,diff)and close>ma20 and ma20>ref(ma20,1)and diff>ref(diff,a2+1);ente...