通达信L2仿大智慧DDX,DDY,DDZ指标公式

时间:2022-03-17 04:00:17    阅读:343

通达信L2仿大智慧DDX,DDY,DDZ指标公式

 先将本人自用的"通达信DDX,DDY,DDZ"源码送上,该公式与通达信官方公布的公式不同,是按大智慧形式,采集通达信L2数据而成,经测试,数据与大智慧水乳交融,虽然不能百分之百相同,但是实战效果显著,
{DDX:}
DDX:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW,LINETHICK0;
STICKLINE(DDX<0,0,DDX,2,0),COLORFF9900;
STICKLINE(DDX>=0,0,DDX,2,0),COLOR000099;
DDX1:EMA(DDX,60)*50,COLOR00FFFF;
DDX2:MA(DDX1,3),COLORFF00FF;
DDX3:MA(DDX2,10),COLOR00FF00;

{DDY:}
DDY:(TRADEOUTNUM-TRADEINNUM)*100/TRADENUM,NODRAW,LINETHICK0;
STICKLINE(DDY<0,0,DDY,2,0),COLORFF9900;
STICKLINE(DDY>=0,0,DDY,2,0),COLOR0000AA;
DDY1:EMA(DDY,60)*30,COLOR00FFFF;
DDY2:MA(DDY1,5),COLORFF00FF;
DDY3:MA(DDY1,10),COLOR00FF00;

{DDZ:}
DDZ:=(TRADEOUTNUM-TRADEINNUM)/(TRADEOUTNUM+TRADEINNUM)*100,NODRAW;
DDZ1:=DDZ*1.7;
DDZ2:=DDZ*1.3;DRAWBAND(DDZ,RGB(0,250,0),DDZ1,RGB(255,0,0));
大单比值:EMA(DDZ,0),COLOR00FFFF;

 

关键词: 大智慧 ADX