股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[大智慧] 分时里看OBV加DDX效果不错【副图,源码,贴图】


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-3-21 17:09:33
分时里看OBV加DDX效果不错【副图,源码,贴图】介绍

分时里看OBV加DDX效果不错【副图,源码,贴图】

在分时里把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;




 



gd16992

回复

举报

QQ|

GMT+8, 2024-11-16 22:13

快速回复 返回顶部 返回列表