OBV买点指标 (源码)
2012-03-14 08:34:00来源:本站整理浏览:323
通达信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);
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
买点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);
- 上一篇公式:震仓买入选股指标 (源码)
- 下一篇公式:突破均线主图指标 (源码)