通达信OBV经典副图指标
2017-01-17 21:53:00来源:本站整理浏览:463
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);
- 上一篇公式:通达信金牛争霸主图指标 贴图
- 下一篇公式:通达信【分时买卖提示】适合分时T+0操作主图源码