dif:=ema(close,12)-ema(close,26);dea:=ema(dif,9);macd:=(dif-dea)*2;a:=ref(llv(macd,20),2);xg:dif>0 and dea>0 and ref(macd,1)(macd,1)ref(macd,1)and macd;测试通过!希望能够帮助你! 20210311
{abcd-}aa:=ref(c,1)>ref(o,1) and c<=o and (c-o)/o>-0.012;bb:=(ref(c,1)-ref(o,1))*0.75+ref(o,1)<c;cc:=(c-ref(c,1))/ref(c,1)<0.049;dd:=ref(c,1)>=ref(c,2)*1.099;指标线:aa and bb and cc and...
{没有发现未来函数!三个公式分别如下: }{1.见底选股公式}上线:=sma(c,6.5,1);一号支撑线:=sma(c,14.5,1);上线1:=sma(c,3,1);a7:=(2*c+h+l)/4;操作:=ma(a7,5),colorblue,linethick2;cross(上线1,上线) and 上线1>操作;{2.买进选股公式}上线:=sma(c,6.5,1);一号支撑线:=sma...
{macd指标预警} dea:=ema(dif,9);macd:=(dif-dea)*2;a:=range(macd,-0.01,0.02);b:=range(dif,-0.01,0.02);d:=range(dea,-0.01,0.02);e:=dif>dea;f:=capital;xg:a and b and d and e and f;测试通过,希望能够帮助你!