公式不全,请补充下面二组代码:zxnh:=varb2-2:=量:=ema(vol,13);资金:=ema(amount,13);过滤:=((资金/量)/100);提纯:=(((close -过滤)/过滤)*100);黄金:=((提纯<(0)) and zxnh);加仓:黄金 and rsv<varb2-2; 20210311
rsv9:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100; k1:=sma(rsv9,3,1);dk1:=k1-ref(k1,1);cs:=if(dk1>7 and ref(dk1,1)<0 and (dk1-ref(dk1,1))>9,50,0);jy:cs;
tt:=barscount(c);zz:=sum(amount,tt)/sum(vol*100,tt);zz1:=between(c/zz,1.05,0.95);均线:=if(zz1=0,ma(c,tt),zz);{if(均线>ref(均线,1),均线,draw**),colorred;} 上均:=均线+ma(abs(c-均线),tt)*1.7;时长:=if(hour>=13 and ...