大智慧公式源码 大智慧OBV金公式源码
2014-12-30 10:53:57 股票入门 http://rumen.southmoney.com
input:BX(20,0,1000);
DRAWGBKlast(c》0,strip(RGB(0,0,160),RGB(0,0,0),0));
MAC:=WMA((2*C+H+L)/4,3);
JOBV:=SUM(IF(MAC》REF(MAC,1),VOL,IF(MAC《REF(MAC,1),-VOL,0)),BX);
OBVE:=(JOBV-LLV(JOBV,55))/(HHV(JOBV,55)-LLV(JOBV,55))*100;
DIFF:=WMA(OBVE,13)-WMA(OBVE,21);
DEA:=WMA(DIFF,8);
MACD:20*(DIFF-DEA), COLORSTICK;
20*(DIFF-DEA),COLOR00ff00,LINETHICK3,LAYER3;
PARTLINE(MACD,MACD》REF(MACD,1),rgb(255,0,0)),LINETHICK3,LAYER0;
{成交量}
OBVD:IF(MAC》REF(MAC,1),VOL/CAPITAL*100,IF(MAC《REF(MAC,1),-VOL/CAPITAL*100,0)),COLOR3D;
DRAWTEXTABS(50,10,‘【关注量价方向的转换 SUM:’+bx+‘天】’),COLOR00ffff,LINETHICK3;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。