ma(var1,n)*(1+p1/1000),colorgreen,linethick2;买入:xma(var1,m)*(1-p2/1000),colormagenta,linethick2;幅度:100*(卖出-买入)/买入,nodraw;ma1:=ma(var1,3);stickline(卖出>low and 卖出<high,卖出,max(卖出,max(open,close)),3,0),colorgreen;stickline(卖出>min(c,o) and 卖出<max(c,o),卖出,max(open,close),3,0),colorgreen;stickline(卖出>low and 卖出<high,卖出,high,0,0),colorgreen;stickline(卖出<low,open,close,3,0),colorgreen;stickline(卖出<low,high,low,0,0),colorgreen;stickline(买入>low and 买入<high,买入,min(min(open,close),买入),3,0),colormagenta;stickline(买入>min(c,o) and 买入<max(c,o),买入,min(open,close),3,0),colormagenta;stickline(买入>low and 买入<high,买入,low,0,0),colormagenta;stickline(买入>high,open,close,3,0),colormagenta;stickline(买入>high,high,low,0,0),colormagenta;drawtext(cross(low,买入),low*0.95,'b'),colormagenta,linethick2;drawtext(cross(卖出,high),high*1.02,'s'),colorgreen;aa1:=amount/v;bb1:=l<aa1*0.9;cc1:=(c-ref(c,1))/ref(c,1)*100>1.2;dd1:=l<ma(c,5)*0.921;ee1:=v<ma(v,5)*1.5;ff1:=bb1 and cc1 and dd1 and ee1;drawtext(ff1,(low* 0.97),'老鼠仓'),color4080ff; 参数设置n 1 100 20m 1 100 32p1 1 200 80p2 1 200 100 20210311