公式有误,最后一行多了个 “and”,下面是修改后的公式,对不起了!!!lc:=ref(close,1);aa:=abs(high-lc);bb:=abs(low-lc);cc:=abs(high-ref(low,1));dd:=abs(lc-ref(open,1));r:=if(aa>bb and aa>cc,aa+bb/2+dd/4,if(bb>cc and bb>aa,bb+aa/2+dd/4,cc+dd/4));x:=(close-lc+(close-open)/2+lc-ref(open,1));si1:=16*x/r*max(aa,bb);asi:=sum(si1,0);h<hhv(h,60) and asi>hhv(asi,60) 20210311
公式1rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;{以上为构成kdj指标的基本语句}k<10 and d<20 and j<10;{本句是你公式1的要求}公式2rsv:=(close-llv(low,9))/(hhv(high,9)-ll...