同花顺波段买方能量副图源码
-
相关简介:为股市的买方能量提供一种依据. VA:=IF(CLOSEREF(CLOSE,1),VOL,-VOL); OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0)/10000,coloryellow,LINETHICK2; MAOBV:MA(OBV,25),LINETHICK0; 做多:IF(OBV=MAOBV,OBV,MAOBV),LINETHICK3,colorred; 做空:IF(MAOBV-OBV,MAOBV,OBV),LINETHICK2,COLOR00ff00; 波
-
文章来源:股海网作者:股海网发布时间:2017-09-27浏览次数:
为股市的买方能量提供一种依据.
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0)/10000,coloryellow,LINETHICK2;
MAOBV:MA(OBV,25),LINETHICK0;
做多:IF(OBV>=MAOBV,OBV,MAOBV),LINETHICK3,colorred;
做空:IF(MAOBV-OBV,MAOBV,OBV),LINETHICK2,COLOR00ff00;
波段趋势 :MA(OBV,72),LINETHICK2,COLORff00ff;
DRAWTEXT(CROSS(OBV,MAOBV)AND MAOBV>=REF( MAOBV,1),做多,''),colorwhite ;
DRAWTEXT(CROSS(波段趋势,做多),波段趋势,'始');
DRAWTEXT(CROSS(做多,波段趋势),做多,'终');