参数 n 2 100 11 m 2 100 6cv:=close;bbiboll:=(ma(cv,3)+ma(cv,6)+ma(cv,12)+ma(cv,24))/4;upr:=bbiboll+m*std(bbiboll,n);dwn:=bbiboll-m*std(bbiboll,n);xg:c<dwn;
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...