n:=5;mtm:=c-ref(c,1);dx1:=100*ema(ema(mtm,n),n)/ema(ema(abs(mtm),n),n);买1:llv(dx1,2)=llv(dx1,7) and count(dx1<0,2) and cross(dx1,ma(dx1,2)); 卖1:hhv(dx1,2)=hhv(dx1,7) and count(dx1>50,2) and cross(ma(dx1,2),dx1);满意请及时采纳 20210311
ww1:= sum( ma(c,10),9)/10.110;ww2:=cross(c,ww1);vw1:=dma(ema(c,12),sum(v,5)/3/capital);vw2:=ref(h,10)/c>1.35;vw3:=(cost(20)-c)/c>0.15;vw4:=h>l*1.051;vw5:=vw4 and count(vw4,5)>1;vw6:=(((c-v...