bias1:=(close-ma(close,6))/ma(close,6)*100;bias2:=(close-ma(close,12))/ma(close,12)*100;bias3:=(close-ma(close,24))/ma(close,24)*100;if(cross(bias1,0) and cross(bias2,0),10,0);根据思路编写公式,修改公式。盘中预警,条件选股。...
cjlb:=(amount-ref(amount,1))/ref(amount,1);cj**:=(close-ref(close,1))/ref(close,1);stickline(cjlb>=0 and cj**>=0 and cj**>=cjlb,ref(close,1),close,2,0),colorred;stickline(cjlb>=0 and cj**&...
dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd0:=(dif-dea)*2;x0:=barslast(cross(dif,dea));xg:if(x0=0 and dif>ref(dif,ref(x0,1)+1)and l(l,ref(x0,1)+1),1,0);公式里的macd金叉低点对比用macd的dif值做的对比,
lc:=ref((o+h+l+2*c)/5,1);rsi:=sma(max(c-lc,0),7,1)/sma(abs(c-lc),7,1)*10; 买:cross(rsi,7.1) and ma(v,5)>ma(v,10);公式已经测试通过,选股正常。股票公式专家团为你解答,希望能帮到你,祝投资顺利。