通達信OBV能量副圖指標 源碼 貼圖


MOBV:=OBV-MA(OBV,30);{股票下載網www.theworldvictor.com}
STICKLINE(MOBV>0,0,MOBV,1,0),COLORRED;
STICKLINE(MOBV<0,0,MOBV,1,0),COLORCYAN;
OBV高:=REF(OBV,BARSLAST(FILTER(BACKSET(FILTER(REF(OBV,5)=HHV(OBV,2*5+1),5),5+1),5)));
C高:REF(C,BARSLAST(FILTER(BACKSET(FILTER(REF(C,5)=HHV(C,2*5+1),5),5+1),5))),NODRAW;
量入為主:CROSS(OBV,OBV高) AND H<C高,NODRAW;
STICKLINE(量入為主,0,MOBV,1,0),COLORYELLOW;
|