【资料名称】:DDX压缩K线指标 (副图 源码)介绍【资料描述】:
DDX压缩K线指标 (副图 源码)
k线宽度表示ddx的大小,红色代表DDX>0,绿色代表ddx<0,白色代表ddx=0。
M5:ma(c,5);
M10:ma(c,10);
M20:ma(c,20);
M30:ma(c,30);
M60:ma(c,60);
TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT AND RANGE(TIME0,32400,54000);
DDXLX:="DDEDATA@BIGORDER"(1)-"DDEDATA@BIGORDER"(2);
DDX:IF(TODAY,DDXLX,(BIGORDER(1) - BIGORDER(2))) * VOL/CAPITAL * 100,LINETHICK0;
STICKLINE(c>=o and ddx>0,c,o,1+ABS(ddx*20),1),ColorFF00FF;
STICKLINE(c>=o and ddx>0,h,c,0,1),ColorFF00FF;
STICKLINE(c>=o and ddx>0,l,o,0,1),ColorFF00FF;
STICKLINE(c>=o and ddx<-0,c,o,1+ABS(ddx*20),1),Color00FF00;
STICKLINE(c>=o and ddx<-0,h,c,0,1),Color00FF00;
STICKLINE(c>=o and ddx<-0,l,o,0,1),Color00FF00;
STICKLINE(c<o and ddx>0,c,o,1+ABS(ddx*20),0),ColorFF00FF;
STICKLINE(c<o and ddx>0,h,o,0,0),ColorFF00FF;
STICKLINE(c<o and ddx>0,l,c,0,0),ColorFF00FF;
STICKLINE(c<o and ddx<-0,c,o,1+ABS(ddx*20),0),Color00FF00;
STICKLINE(c<o and ddx<-0,h,o,0,0),Color00FF00;
STICKLINE(c<o and ddx<-0,l,c,0,0),Color00FF00;
STICKLINE(c>=o and ddx=0,o,c,7,1),ColorffFFff;
STICKLINE(c>=o and ddx=0,h,c,0.1,1),ColorffFFff;
STICKLINE(c>=o and ddx=0,o,l,0.1,1),ColorffFFff;
STICKLINE(c<o and ddx=0,o,c,7,0),ColorffFFff;
STICKLINE(c<o and ddx=0,o,h,7,0),ColorffFFff;
STICKLINE(c<o and ddx=0,l,c,7,0),ColorffFFff;
gd8223
【下载地址隐藏】: 点:回复可见地址