祝贺大家,在股市里:行情象蛇步上升,跟庄如蛇行缠绕,资金蛇吞象进账,生活象蛇圆圆满!
DDX---大单动向(通达信软件系统)
(N 2.0,500.00,10.00)
大单动向:(LARGEINTRDVOL-LARGEOUTTRDVOL)*10000/FINANCE(7),NODRAW;
NOTEXT1:MA(大单动向,N)*3;
STICKLINE(大单动向>0,0,大单动向,2,0),COLORRED;
STICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
千钧DDX---{千钧DDX}
JJ:=(OPEN+HIGH+LOW+CLOSE)/4;
AA:=IF(BETWEEN(C,JJ,H) OR C=O,VOL,0);
BB:=IF(BETWEEN(C,JJ,L),VOL,0);
CC:=IF(AA AND BB,0,VOL/3);
DDX:10*(AA-(BB+CC))/IF(CAPITAL<1,SUM(VOL,13),CAPITAL),LINETHICK0;
STICKLINE(DDX>0,0,DDX,6,0 ),COLOR0022FF;
STICKLINE(DDX>0,0,DDX,4,0 ),COLORBB22CC;
STICKLINE(DDX<0,0,DDX,6,0 ),COLORFFFF00;
DDX1:EMA(DDX,60)*60,COLOR00FFFF;
DDX2:MA(DDX1,5),COLORFF00FF;
DDX3:MA(DDX2,10),COLOR00FF00;
预警:DDX>0 AND CROSS(DDX1,DDX2) AND (CLOSE/REF(CLOSE,1)-1)
*100>=3,LINETHICK0;
DRAWTEXT(预警,0.8,'★'),LINETHICK3,COLOR00FFFF;
1,POINTDOT,COLORBLUE;
DDX最新----{DDX最新}
N:=20;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))/IF(CAPITAL=0,1000000,10000),COLOR00AAAA,LINETHICK;
DX:=MA(DDX,5)*N;
STICKLINE(DDX>0,0,DDX,3,0),COLOR000088;
STICKLINE(DDX>0,0,DDX,2.5,0),COLOR0000AA;
STICKLINE(DDX>0,0,DDX,1.5,0),COLOR0000CC;
STICKLINE(DDX>0,0,DDX,1,0),COLOR0000EE;
STICKLINE(DDX<0,0,DDX,3,0),COLOR008800;
STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;
STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;
STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;
DDX1:SMA(DX,3,1),COLORFFFFFF;
DDX2:SMA(DDX1,3,1),COLOR00FFFF;
DDX3:EMA(DDX2,5),COLORFF00FF;
预警:DDX>0 AND MA(V,5)>MA(MA(V,5),5) AND CROSS(DDX1,DDX2),LINETHICK;
天:=COUNT(DDX>0,5),COLORRED;
DRAWTEXT(预警,DDX*1.06,'★'),LINETHICK3,COLOR00FFFF;
瘦石DDX---{瘦石DDX}
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;
卖量:IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
净额:(买量+卖量),NODRAW,COLORYELLOW;
连红:BARSLASTCOUNT(净额>0);
十日飘红:COUNT(净额>0,10),COLORRED;
STICKLINE(净额<0,0,净额,1,0),COLORFF6600;
STICKLINE(净额<0,0,净额,3,0),COLORFF9900;
STICKLINE(净额<0,0,净额,1.5,0),COLORFFCC00;
STICKLINE(净额<0,0,净额,0.5,0),COLORCYAN;
司马DDE---{司马DDE}
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;
主卖:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0;
差额:=主买+主卖,LINETHICK0;
五日净流入:SUM(差额,5),LINETHICK2,COLORGREEN;
流入:IF(五日净流入>REF(五日净流入,1),五日净流入,DRAWNULL),COLORRED,LINETHICK2;
连红天:BARSLASTCOUNT(差额>0);
十三日翻红:COUNT(差额>0,13),COLORRED;
走熊天:BARSLASTCOUNT(五日净流入<0),COLORCYAN;
走牛天:BARSLASTCOUNT(五日净流入>0),COLORRED;
强势天:BARSLASTCOUNT((五日净流入>REF(五日净流入,1))>0 AND 五日净流入>0);
弱势天:BARSLASTCOUNT((五日净流入<REF(五日净流入,1))>0 AND 五日净流入<0);
STICKLINE(差额<0,0,差额,4,0),COLORFF6600;
STICKLINE(差额<0,0,差额,3,0),COLORFF9900;
STICKLINE(差额<0,0,差额,1.5,0),COLORFFCC00;
STICKLINE(差额<0,0,差额,0.5,0),COLORCYAN;
STICKLINE(差额>0,0,差额,4,0),COLOR000099;
STICKLINE(差额>0,0,差额,3,0),COLOR0000CC;
STICKLINE(差额>0,0,差额,1.5,0),COLOR0000FF;
STICKLINE(差额>0,0,差额,0.5,0),COLORCC66FF;
STICKLINE(净额>0,0,净额,3,0),COLOR000099;
STICKLINE(净额>0,0,净额,3,0),COLOR0000CC;
STICKLINE(净额>0,0,净额,1.0,0),COLOR0000FF;
STICKLINE(净额>0,0,净额,0.5,0),COLORCC66FF;
QJ0:=(HIGH+LOW+CLOSE)/3;
QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);
QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));
QJ5:=VOL/(IF(HIGH=LOW,4,HIGH-LOW));
特大:QJ4*QJ5,NODRAW,COLORYELLOW;
大单:QJ3*QJ5,NODRAW,COLORMAGENTA;
中单:QJ1*QJ5,NODRAW,COLORGREEN;
小单:QJ2*QJ5,NODRAW,COLORWHITE;
W1:=SUM(大单,1)+SUM(特大,1);
W2:=SUM(小单,1)+SUM(中单,1);
A:=W1-W2;
A0:=IF(A>0,A,0);
B0:=IF(A<0,A,0);
STICKLINE(A0,0,A0,1,0),COLOR000044;
DDX_L2----{DDX_L2}
{N(2.0,500.0,10.0)}
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;
大单动向:=买量+卖量,COLOR00FFFF;
STICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,2,0),COLORCYAN;
STICKLINE(大单动向<0,0,大单动向,0.5,0),COLORCYAN;
STICKLINE(大单动向>0,0,大单动向,2,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,1,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,1.5,0),COLORRED;
STICKLINE(大单动向>0,0,大单动向,0.5,0),COLORRED;
MA1:MA(大单动向,N)COLORYELLOW;
DDX(大智慧)----大智慧
{N(2.0,60.0,5.0)M(2.0,250.0,5.0)}
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0,COLORRED;
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORCYAN;
进出量:=买量+卖量,COLOR00FFFF;
STICKLINE(进出量<0,0,进出量,4,0),COLORFF6600;
STICKLINE(进出量<0,0,进出量,3,0),COLORFF9900;
STICKLINE(进出量<0,0,进出量,1.5,0),COLORFFCC00;
STICKLINE(进出量<0,0,进出量,0.5,0),COLORCYAN;
STICKLINE(进出量>0,0,进出量,4,0),COLOR000099;
STICKLINE(进出量>0,0,进出量,3,0),COLOR0000CC;
STICKLINE(进出量>0,0,进出量,1.5,0),COLOR0000FF;
STICKLINE(进出量>0,0,进出量,0.5,0),CO
|