dif:=ema(close,9)-ema(close,150);dea:=ema(dif,12);macd:=2*(dif-dea);dik:=4*dif-3*dea;ded:=ema(dik,1);启动点:macd<0 and macd>ref(macd ,1) and ref(macd ,1)<ref(macd ,2)and ref(macd ,2)<ref(macd...
tr:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),7);hd:=high-ref(high,1);ld:=ref(low,1)-low;dmp:=sum(if(hd>0 and hd>ld,hd,0),7);dmm:=sum(if(ld>0 and ld>hd,ld,0),7);d...