软件名称:[B]MACD_OBV组合(价量结合)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2010-05-04 07:18:43
软件简介:
MACD_OBV组合(价量结合)
OBV:=EMA(SUM(IF(C>REF(C,1),VOL,IF(C<REF(C,1),-V,0)),0)/1000,2);
obve:=EMA(OBV,3);
DIFF:=(EMA(obve,12)-EMA(obve,26));
bbDIFF:=DIFF-REF(DIFF,1);
DEA:=EMA(DIFF,9);
bbDEA:=DEA-REF(DEA,1);
MACD:2*(DIFF-DEA);
PARTLINE(IF(C,0,0),0,colorwhite);
STICKLINE(DIFF>=REF(DIFF,1) AND DEA>REF(DEA,1),DIFF,dea,8,0),LINETHICK4,Color0089FF;//{橙}
//DRAWTEXT(DIFF>=REF(DIFF,1) AND DEA>REF(DEA,1),L*0.98,"介入");
STICKLINE(DIFF>DEA,DIFF,DEA,8,0),Color0089FF;//{橙--加宽}
STICKLINE(DIFF<REF(DIFF,1) AND DEA<REF(DEA,1),DIFF,DEA,8,0),LINETHICK4,colorblue;//{蓝}
STICKLINE(DIFF<DEA,DIFF,DEA,8,0),colorblue;//{蓝--加宽}
STICKLINE(DIFF>=REF(DIFF,1) AND DEA<REF(DEA,1),DIFF,DEA,8,0),LINETHICK4,Color00C500;//{绿}
STICKLINE(DIFF<REF(DIFF,1) AND DEA>REF(DEA,1),DIFF,DEA,8,0),LINETHICK4,coloryellow;//{黄}
STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,2,0),colorred;
STICKLINE(MACD<REF(MACD,1) AND MACD>0,0,MACD,2,0),coloryellow;
STICKLINE(MACD<REF(MACD,1) AND MACD<0,0,MACD,2,0),colorgreen;
STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,2,0),COLOR0099FF;
//IF(C,2*(DEA-DIFF),MACD),LINETHICK2,colorgray;//{加速线}
本文仅提供源码,请参考公式编辑录像,自己编辑公式
[url=http://www.70822.com/soft/sort013/sort036/down-19716.html]MACD_OBV组合(价量结合)[/url]