来源:Internet,编辑:股旁网,2015-04-17
N:=5; P:=3; obv:SUM(IF(CLOSE>REF(CLOSE,n),vol,IF(CLOSE<REF(CLOSE,n),-VOL,0)),0)/100000000000; sub=CLOSE-REF(CLOSE,P); RAI:sub/OBV; DRAWTEXT(crOSS(OBV,rai),RAI,"终"); DRAWTEXT(CROSS(rai,OBV),OBV,"始"); a: 50; b:-50; C:0;