阳线数:=count(c>=ref(c,1),30);阴线数:=count(c(c,1),30);振幅比:=llv(l,30)/hhv(h,30)(l,30)/hhv(h,30)>=0.6;近缩今放量:=count(v(c,30),10)=9 and v>=ref(v,1)*2;预警:阳线数>阴线数 and 振幅比 and 近缩今放量 and c/ref(c,1)>=1.04; 20210311
dd1:=ema(c,3)-ema(c,8);dd2:=ema(o,3)-ema(o,8);aa1:=ployline(cross(dd1,dd2),dd2),dotline;aab1:=ployline(cross(dd2,dd1),dd1),dotline;理想:=count(cross(dd1,dd2),aa1<ref(aa1,3) and aab1>ref(aab1,3));x...
{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;测试通过,希望能够帮助你!