分时里看OBV加DDX效果不错【副图,源码,贴图】
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-12-21 09:56:00
公式简介:
在分时里把OBV和DDX放在一起看,效果很好,收费没问题,免费的看OBV,下载DDE以后也可看,【免费的平时分显示L-2和不显示L-2,你需自己调试】
DRAWRECTREL(-1,0,1000,1000,RGB(0,0,20)),color00FF00,LINETHICK2,LAYER7;;0,DOTLINE,LAYER0;
STICKLINE(C>ref(c,1),0,V*2,4,0),COLOR0000FF,linethick2;
STICKLINE(C<ref(c,1),0,V*2,4,0),COLOR00FF00,linethick1;
STICKLINE(C=ref(c,1),0,V*2,1,0),COLOR00FFFF,linethick1;
OBV:SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0),color00FFff,linethick2,LAYER0;;
DRAWTEXT( BARSTATUS=2,OBV ,'OBV' ),Color00ffFF,LAYER6,LINETHICK2;
DDX:=(ordervol(1,2)-ordervol(2,2))/capital*100;
ODV:SUM(IF(ordervol(1,2)>ordervol(2,2),VOL,IF(ordervol(1,2)<ordervol(2,2),-VOL,0)),0),color0077ff,linethick2,LAYER0;;
DRAWTEXT( BARSTATUS=2,ODV ,'ODV ' ),Color0077ff,LAYER6,LINETHICK1;
ODTV:SUM(IF(ordervol(1,3)>ordervol(2,3),VOL,IF(ordervol(1,3)<ordervol(2,3),-VOL,0)),0),colorff9900,linethick1,LAYER0;;
DRAWTEXT( BARSTATUS=2,ODTV ,'OTV' ),Colorff9900,LAYER6,LINETHICK1;
A1:=DYNAINFO(23) /(DYNAINFO(23)+ DYNAINFO(22))*100;
A2:=DYNAINFO(17);
DRAWTEXTABS(0,7,IFS((A1 >= 50),'(外盘>=50):▄ '+NUMTOSTRN(A1,2)+'%,','')),linethick4,color0000FF;
DRAWTEXTABS(0,7,IFS((A1 < 50),'(外盘<50):▄ '+NUMTOSTRN(A1,2)+'%,','')),linethick4,color00FF00;
DRAWTEXTABS(0,30,IFS((A2 >= 1), '(量比>1): ▄ '+NUMTOSTRN(A2,2)+'%,','')),linethick4,color0000FF;
DRAWTEXTABS(0,30,IFS((A2 < 1), '(量比<1): ▄ '+NUMTOSTRN(A2,2)+'%,','')),linethick4,color00FF00;
{涨跌家数}
DRAWTEXTABS(480,10,'【涨家数:'+NUMTOSTRN(DYNAINFO(69),0)+ '】'),COLOR0000ff,LINETHICK2;
DRAWTEXTABS(610,10,'【平家数:'+NUMTOSTRN(DYNAINFO(71),0)+ '】'),COLOR00FFff,LINETHICK2;
DRAWTEXTABS(750,10,'【跌家数:'+NUMTOSTRN(DYNAINFO(70),0)+ '】'),COLOR00ff00,LINETHICK2;
DRAWRECTABS(480,25 ,480+(DYNAINFO(69)+DYNAINFO(71)+DYNAINFO(70))/2.5,31, rgb(0,255,0)),COLOR00ff00,LAYER4;
DRAWRECTABS(480,25 ,480+(DYNAINFO(69)+DYNAINFO(71))/2.5 ,31, rgb(255,255,0)),COLOR00FFFF,LAYER3;
DRAWRECTABS(480,25 ,480+(DYNAINFO(69))/2.5 ,31, rgb(255,0,0)),COLOR0000ff,LAYER2;
[url=http://www.goodgupiao.com/gupiaogongshi/16992.html][B]分时里看OBV加DDX效果不错【副图,源码,贴图】[/B][/url]