通达信OBV极品战法副图指标 源码 贴图 VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL); OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0); MA30:=MA(OBV,M); DRAWTEXT_FIX(ISLASTBAR,0,0.01,0,'前面的能量趋势向上是吸货铺垫,买入有肉吃。'),COLORCYAN; XDF:CROSS(C,MA(C,30)) AND OBV1>MA30 AND MA(C,05)>MA(C,10) AND DYNAINFO(37)>0.01 AND C>MA(C,5) ,NODRAW; 多空比例净额:=((C-L)-(H-C)) /( H-L); 复杂版OBV:REF(OBV,1)+VOL*多空比例净额,COLORGREEN; DRAWTEXT(XDF,MA30*0.920,' 暴利'),COLORYELLOW; DRAWBAND(MA30,RGB(0,0,80),复杂版OBV,RGB(160,0,000)); OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0); 能量趋势线:MA(OBV,M),COLORMAGENTA,LINETHICK2;
|