N:=21; M:=5;
趋势密码:400,POINTDOT,COLORBLUE,LINETHICK4;
指标公式:100,POINTDOT,COLORRED,LINETHICK4;
TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),N);
vdsds4:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),N);
vdsds5:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),N);
vdsaa1:100*(TH*2+vdsds5)/(vdsds4*2+vdsds5),COLOR0000FF,LINETHICK2;
vdsaa3:MA(vdsaa1,M),COLOR00FFFF,LINETHICK2;
W:=CROSS(vdsaa1,vdsaa3);{高手指标公式网www.gs6699.com}
vdsa1:=vdsaa3<100;
vdsa2:=vdsaa3<150 AND vdsaa3>REF(vdsaa3,1);
vdsaa5:=W AND vdsa1;
vdsaa4:=W AND vdsa2;
vdsa31:=FILTER(vdsaa5,5);
vdsa32:=FILTER(vdsaa4,8);
STICKLINE(vdsa31,0,80,4,0),COLOR000099;
STICKLINE(vdsa31,0,80,2,0),COLOR0000BB;
STICKLINE(vdsa31,0,80,1,0),COLOR0000DD;
STICKLINE(vdsa31,0,80,0.3,0),COLOR0000FF;
DRAWTEXT(vdsa31,83,''),COLOR00FFFF;
STICKLINE(vdsa32,0,50,4,0),COLOR990099;
STICKLINE(vdsa32,0,50,2,0),COLORBB00BB;
STICKLINE(vdsa32,0,50,1,0),COLORDD00DD;
STICKLINE(vdsa32,0,50,0.3,0),COLORFF00FF;
DRAWTEXT(vdsa32,53,''),COLOR00FFFF;
vdacs1:CROSS(vdsaa3,vdsaa1) AND vdsaa3>250;
vdacs2:vdsaa1>400;
vv:FILTER(vdacs1 OR vdacs2,5);
DRAWICON(vv,vdsaa1,15);