软件名称:[B]把DMA和DDX放在一起看波段买卖股票。(有原码和图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2011-11-13 07:24:03
软件简介:
input:N(10,1,72),M(50,1,72);
DRAWGBKlast(c>0,strip(RGB(0,40,0),RGB(0,0,40),0));0;
DDD:(MA(CLOSE,N)-MA(CLOSE,M));
AMA:MA(DDD,N),COLOR00FFFF;
FILLRGN(DDD,AMA,DDD>AMA,RGB(120,0,80)),LAYER7;
FILLRGN(DDD,AMA,DDD<AMA,RGB(0,0,255)),LAYER7;
partline(DDD,DDD>ref(DDD,1),rgb(255,0,0),DDD<ref(DDD,1),rgb(0,255,0)),LINETHICK2;
TODAY:="ddx.ddx"=0;{判断是否有正版数据}
主单买:=IF(TODAY,"DATA@DDE"(6),bigorder(1,2));
主单卖:=IF(TODAY,"DATA@DDE"(7),bigorder(2,2));
特单买:=IF(TODAY,"DATA@DDE"(4),bigorder(1,3));
特单卖:=IF(TODAY,"DATA@DDE"(5),bigorder(2,3));
DDX:(主单买 - 主单卖) * VOL/CAPITAL * 100,linethick0;
DDZB:=DDX;
STICKLINE(ddZB>0,ddZB,0,8,0),Color000011;
STICKLINE(ddZB>0,ddZB,0,7,0),Color000033;
STICKLINE(ddZB>0,ddZB,0,6,0),Color000055;
STICKLINE(ddZB>0,ddZB,0,5,0),Color000077;
STICKLINE(ddZB>0,ddZB,0,4,0),Color000099;
STICKLINE(ddZB>0,ddZB,0,3,0),Color0000BB;
STICKLINE(ddZB>0,ddZB,0,2,0),Color0000DD;
STICKLINE(ddZB>0,ddZB,0,1,0),Color0000FF;
STICKLINE(ddZB<0,ddZB,0,8,0),Color001100;
STICKLINE(ddZB<0,ddZB,0,7,0),Color003300;
STICKLINE(ddZB<0,ddZB,0,6,0),Color005500;
STICKLINE(ddZB<0,ddZB,0,5,0),Color007700;
STICKLINE(ddZB<0,ddZB,0,4,0),Color009900;
STICKLINE(ddZB<0,ddZB,0,3,0),Color00BB00;
STICKLINE(ddZB<0,ddZB,0,2,0),Color00DD00;
STICKLINE(ddZB<0,ddZB,0,1,0),Color00FF00;
[url=http://www.70822.com/soft/sort013/sort03/down-40912.html]把DMA和DDX放在一起看波段买卖股票。(有原码和图)[/url]