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...
公式有误,最后一行多了个 “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...