新版DDE系统放弃了使用扩展,完全利用日线数据来计算。
思路:
把形成一根K线的因素归纳为四个方面,然后分别提取这四个方面的成交量,用以体现主力与散户的博弈状况。
这其中的大单、小单,并非是真正意义上的大单、小单。是模拟估算的结果。
从指标诞生到今天发出,千钧验证、测试了2个月之久,效果应该说还是比较让我满意的。
这套系统的公式,这次是首次亮相。
这套系统可以用于排序,盘中预警,选股。
使用方法基本和大智慧的DDE系统相同,但比它多了若干功能,比如【背离】分析。
朋友们在使用中,不要简单的按大智慧的DDE系统使用,应该把它结合MACD的功能来使用,看待。
目前的大智慧L2版只有【DDX】【DDY】【DDZ】。
图示:
大盘指数
千钧DDX
N:=22;jj:=(HIGH+LOW+CLOSE)/3;qj0:=vol/IF(HIGH=LOW,4,HIGH-LOW);
qj1:=IF(CAPITAL=0,qj0*(jj-MIN(CLOSE,OPEN)),qj0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
qj2:=IF(CAPITAL=0,qj0*(MIN(OPEN,CLOSE)-LOW),qj0*IF(HIGH=LOW,1,(jj-MIN(CLOSE,OPEN))));
qj3:=IF(CAPITAL=0,qj0*(HIGH-MAX(OPEN,CLOSE)),qj0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
qj4:=IF(CAPITAL=0,qj0*(MAX(CLOSE,OPEN)-jj),qj0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-jj)));
DDX:((qj1+qj2)-(qj3+qj4))/sum(vol,60),COLOR00aaaa,LINETHICK0;DX:=ma(ddx,5)*N;
STICKLINE(DDX>0,0,DDX,8,0),COLOR000088;
STICKLINE(DDX>0,0,DDX,5,0),COLOR0000aa;
STICKLINE(DDX>0,0,DDX,3,0),COLOR0000cc;
STICKLINE(DDX>0,0,DDX,1,0),COLOR0000ee;
STICKLINE(DDX<0,0,DDX,8,0),COLOR008800;
STICKLINE(DDX<0,0,DDX,5,0),COLOR00aa00;
STICKLINE(DDX<0,0,DDX,3,0),COLOR00cc00;
STICKLINE(DDX<0,0,DDX,1,0),COLOR00ee00;
DDX1:sma(DX,3,1),COLORFFFFFF;
DDX2:sma(DDX1,3,1),COLOR00FFFF;
DDX3:wma(DDX2,5),COLORFF00FF;
预警:DDX>0 and ma(v,5)>ma(ma(v,5),5) and CROSS(DDX1,DDX2),LINETHICK0;
天:=COUNT(DDX>0,5);
DRAWTEXT(预警,DDX*1.06,'★'),LINETHICK3,COLOR00FFFF;
DRAWTEXTABS(180,0,'一周内翻红:'+NUMTOSTRN(天,0)+' 天'),Color00EEFF;
DRAWTEXTREL(10,0,'大单动向'),ColorEEEEFF;
DRAWTEXTREL(600,900,'证券代码: '+STKLABEL+' 证券名称: '+STKNAME+''),ColorFFAA00;
千钧DDY
N:=22;jj:=(HIGH+LOW+CLOSE)/3;qj0:=vol/IF(HIGH=LOW,4,HIGH-LOW);
qj1:=IF(CAPITAL=0,qj0*(jj-MIN(CLOSE,OPEN)),qj0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
qj2:=IF(CAPITAL=0,qj0*(MIN(OPEN,CLOSE)-LOW),qj0*IF(HIGH=LOW,1,(jj-MIN(CLOSE,OPEN))));
qj3:=IF(CAPITAL=0,qj0*(HIGH-MAX(OPEN,CLOSE)),qj0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
qj4:=IF(CAPITAL=0,qj0*(MAX(CLOSE,OPEN)-jj),qj0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-jj)));
DDY:((qj2+qj4)-(qj1+qj3))/SUM(vol,60),COLOR00DD00,LINETHICK0;
DY:=ma(ddy,5)*N;
STICKLINE(DDY<0,0,DDY,8,0),COLORFF8800;
STICKLINE(DDY<0,0,DDY,5,0),COLORFFaa00;
STICKLINE(DDY<0,0,DDY,3,0),COLORFFcc00;
STICKLINE(DDY<0,0,DDY,1,0),COLORFFee00;
STICKLINE(DDY>0,0,DDY,8,0),COLOR880088;
STICKLINE(DDY>0,0,DDY,5,0),COLORaa00aa;
STICKLINE(DDY>0,0,DDY,3,0),COLORcc00CC;
STICKLINE(DDY>0,0,DDY,1,0),COLORee00ee;
DDY1:sma(DY,3,1),ColorFFFFFF;
DDY2:sma(DDY1,3,1),Color00FFFF;
DDY3:wma(DDY2,5),ColorFF00FF;
预警:DDy>0 and CROSS(DDy1,DDy2) and ddy1<0,LINETHICK0;
DRAWTEXT(预警,DDy*1.06,'★'),LINETHICK3,COLOR00BBFF;
DRAWTEXTREL(10,0,'涨跌动因'),ColorEEEEFF;
DRAWTEXTREL(600,900,'证券代码: '+STKLABEL+' 证券名称: '+STKNAME+''),Color00BB00;
千钧DDZ
jj:=(HIGH+LOW+CLOSE)/3;qj0:=vol/IF(HIGH=LOW,4,HIGH-LOW);
qj1:=IF(CAPITAL=0,qj0*(jj-MIN(CLOSE,OPEN)),qj0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
qj2:=IF(CAPITAL=0,qj0*(MIN(OPEN,CLOSE)-LOW),qj0*IF(HIGH=LOW,1,(jj-MIN(CLOSE,OPEN))));
qj3:=IF(CAPITAL=0,qj0*(HIGH-MAX(OPEN,CLOSE)),qj0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
qj4:=IF(CAPITAL=0,qj0*(MAX(CLOSE,OPEN)-jj),qj0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-jj)));
qj5:=qj1+qj2;qj6:=qj3+qj4;DD:=(qj5-qj6)/(qj5+qj6)*100;
DDZ:DD*17,LINETHICK0;DDZ1:DD*13,LINETHICK0;
FILLRGN(DDZ,DDZ1,DDZ>=DDZ1,RGB(255,0,0),DDZ<DDZ1,RGB(0,130,250));
DRAWTEXTREL(10,0,'大单分差'),Color00EEFF;
DRAWTEXTREL(600,900,'证券代码: '+STKLABEL+' 证券名称: '+STKNAME+''),ColorEEBB88
|