卖出:xma(var1,n)*(1+p1/1000);买入:xma(var1,m)*(1-p2/1000);幅度:100*(卖出-买入)/买入,nodraw;ma1:=ma(var1,3);stickline(卖出>low and 卖出min(c,o)and 卖出low and 卖... 20210311
用这个就行了:a1:=(dvol/c)/2;a2:=sum(if(a1>100 and close>ref(close,1),a1,0),0);a3:=sum(if(a1>100 and close<ref(close,1),a1,0),0);a4:=sum(if(a1<100 and close>ref(close,1),a1,0),0);a5:=sum(if...
v1:=close>open and ref(close,1)(open,1)and ref(close,2)>ref(open,2)and close>ref(open,1)and close>ref(close,2);v2:=backset(v1 and ref(v1,2)and c>ref(c,4),5);v3:=backse.