OBV买点指标(本来打算自己珍藏的)

标签:
杂谈 |
分类: 指标公式 |
OBV买点(源码,副图,附图)
本来打算自己珍藏的,但为广大散户朋友早日解套,发一个OBV买点指标参考:
源码:
N:=10;M:=30;
VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
OBV1:MA(OBV,N);
OBV2:MA(OBV,M);
买点1:CROSS(OBV,OBV2) AND
SUM(OBV,20)<SUM(OBV2,20),COLORGREEN,NODRAW;
DRAWICON(买点1,OBV2,27);
买点2:CROSS(OBV1,OBV2),COLORMAGENTA,NODRAW;
DRAWICON(买点2,OBV2,25);
前一篇:巧用集合竞价