VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL); OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0),COLORRED; MAOBV:MA(OBV,34),COLORGREEN; MAOBV1:MA(OBV,100),DOTLINE; DRAWTEXT_FIX(C>O,0,0.1,0,'公眾號:歐歐量化'),COLOR0000FF; STICKLINE(OBV>MAOBV,OBV,MAOBV,0.0,1),COLORRED; STICKLINE(MAOBV>OBV,OBV,MAOBV,0.0,1),COLORGREEN; 操盤:STICKLINE(OBV>MAOBV,OBV,MAOBV,0,0),COLORRED; 減倉:STICKLINE(OBV<MAOBV,OBV,MAOBV,0,0),COLORGREEN; DRAWICON(CROSS(OBV,MAOBV),OBV,1); DRAWICON(CROSS(MAOBV,OBV),OBV,2); DRAWICON(CROSS(MAOBV,MAOBV1),OBV,2); DRAWICON(CROSS(OBV,MAOBV1),OBV,1); 高量:HHV(OBV,144),COLORGREEN,DOTLINE; 三,、紅箭頭選股公式如下: VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL); OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0),COLORRED; MAOBV:=MA(OBV,34),COLORGREEN; MAOBV1:=MA(OBV,100); 操盤:=STICKLINE(OBV>MAOBV,OBV,MAOBV,0,0),COLORRED; 減倉:=STICKLINE(OBV<MAOBV,OBV,MAOBV,0,0),COLORGREEN; 紅箭頭:DRAWICON(CROSS(OBV,MAOBV1),OBV,1); 風(fēng)險提示:本指標(biāo)公式僅作為知識分享,,模擬測試不構(gòu)成任何投資建議,,不作投資依據(jù),。 |
|