TAG:选股 DDX

 网友求助:

input:p1(60),p2(5),p3(10);
variable:ddx=0;
DDX:(ordervol(1,2)-ordervol(2,2))/capital*100,colorstICK,LINETHICK2;
DDX累积:SUM(ddx,0);
drawtextabs(0,0,'大单动向');

 

解答如下:

DDX:=(ordervol(1,2)-ordervol(2,2))/capital*100;
DDX累积:SUM(ddx,0)>0;