上趋势:=ma(low,20)*1.2;次上趋势:=ma(low,20)*1.1;次下趋势:=ma(high,20)*0.9;下趋势:=ma(high,20)*0.8;趋势强度:=if(c>次上趋势,if(c>上趋势,4,3),if(c>次下趋势 and c<次上趋势,2,if(c<下趋势,0,1)));xg:趋势强度=4 and ref(趋势强度=3,1);这样就可以了。股票公式专家团为你解答,希望能帮到你,祝... 20210311
var13:=(ma(c,1)+ma(c,3)+ma(c,5)+ma(c,7)+ma(c,9))/5;var14:=(ma(c,2)+ma(c,4)+ma(c,6)+ma(c,8)+ma(c,10))/5;var16:=max(ema(var13,2)-ema(var14,5),0)*200;var17:=ema(var16,5);var17>5 and ref(var17,1)<1;
阳涨幅:=4;阳倍量:=2;单阳:=c>o*(1+阳涨幅/100) andvol>ref(vol,1)*阳倍量;高不破价:=ref(c,barslast(单阳));中不破价:=ref((c+l)/2,barslast(单阳));低不破价:=ref(l,barslast(单阳)); 单阳不破:currbarscount<100 and barslast(单阳)<11 and ...