//#@Fname=波段操盘 //#@comment= //#@control= //#@FuncType= //#@style=DDX1:Line2,a一般价格(灰),2,0,1,5,255;DDX2:Line2,技术指标,2,0,1,5,65535;DDX3:Line0,技术指标; //#@availperiod=2147430400 //#@param= //#@isDrawCurve=1 //#@Fdesc=波段操盘 //#@defaultperiod=16384 //#@coord=D //#@ordinate=0,0.000000;0,0.000000;0,0.000000;0,0.000000;0,0.000000;0;0,0.000000 //#@@FUNCSPEC@=source N:=11; WJ:=(H+L+C)/3; V1:=IF(H=L,1,H-MAX(O,C)); V2:=IF(H=L,1,MAX(C,O)-WJ); V3:=IF(H=L,1,MIN(O,C)-L); V4:=IF(H=L,1,WJ-MIN(C,O)); V5:=VOL/IF(H=L,4,H-L); V6:=(V1*V5); V7:=(V2*V5); V8:=(V3*V5); V9:=(V4*V5); 买盘:=(V9+V8); 卖盘:=(V6+V7); 买卖差:=买盘-卖盘; DDX:=买卖差; DX:=MA(买卖差,5)*20; N:=5; M:=13; N日内净流入:=SUM(DDX,N)*3; 流入:=IF(N日内净流入>REF(N日内净流入,1),N日内净流入,DRAWNULL); STICKLINE(DDX<0,0,DDX,8,0),COLOR006600; STICKLINE(DDX<0,0,DDX,6,0),COLOR009900; STICKLINE(DDX<0,0,DDX,3,0),COLOR00CC00; STICKLINE(DDX<0,0,DDX,1,0),COLOR66CCFF; STICKLINE(DDX>0,0,DDX,8,0),COLOR000099; STICKLINE(DDX>0,0,DDX,6,0),COLOR0000CC; STICKLINE(DDX>0,0,DDX,3,0),COLOR0000FF; STICKLINE(DDX>0,0,DDX,1,0),COLORCC66FF; DDX1:SMA(DX,3,1),COLOR0000FF; DDX2:SMA(DDX1,3,1),COLOR00FFFF; DDX3:(5*DDX2+4*REF(DDX2,1)+3*REF(DDX2,2)+2*REF(DDX2,3)+REF(DDX2,4))/15;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
//#@Fname=波段操盘
//#@comment=
//#@control=
//#@FuncType=
//#@style=DDX1:Line2,a一般价格(灰),2,0,1,5,255;DDX2:Line2,技术指标,2,0,1,5,65535;DDX3:Line0,技术指标;
//#@availperiod=2147430400
//#@param=
//#@isDrawCurve=1
//#@Fdesc=波段操盘
//#@defaultperiod=16384
//#@coord=D
//#@ordinate=0,0.000000;0,0.000000;0,0.000000;0,0.000000;0,0.000000;0;0,0.000000
//#@@FUNCSPEC@=source
N:=11;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
买盘:=(V9+V8);
卖盘:=(V6+V7);
买卖差:=买盘-卖盘;
DDX:=买卖差;
DX:=MA(买卖差,5)*20;
N:=5;
M:=13;
N日内净流入:=SUM(DDX,N)*3;
流入:=IF(N日内净流入>REF(N日内净流入,1),N日内净流入,DRAWNULL);
STICKLINE(DDX<0,0,DDX,8,0),COLOR006600;
STICKLINE(DDX<0,0,DDX,6,0),COLOR009900;
STICKLINE(DDX<0,0,DDX,3,0),COLOR00CC00;
STICKLINE(DDX<0,0,DDX,1,0),COLOR66CCFF;
STICKLINE(DDX>0,0,DDX,8,0),COLOR000099;
STICKLINE(DDX>0,0,DDX,6,0),COLOR0000CC;
STICKLINE(DDX>0,0,DDX,3,0),COLOR0000FF;
STICKLINE(DDX>0,0,DDX,1,0),COLORCC66FF;
DDX1:SMA(DX,3,1),COLOR0000FF;
DDX2:SMA(DDX1,3,1),COLOR00FFFF;
DDX3:(5*DDX2+4*REF(DDX2,1)+3*REF(DDX2,2)+2*REF(DDX2,3)+REF(DDX2,4))/15;