jj:=(HIGH+LOW+CLOSE)/3;qj0:=vol/IF(HIGH=LOW,4,HIGH-LOW);
主买:=qj0*if(c<o,MIN(CLOSE,OPEN)-LOW,abs(jj-MIN(CLOSE,OPEN)));
主卖:=qj0*if(c<o,(HIGH-jj),(HIGH-MAX(OPEN,CLOSE)));
ddx:(主买-主卖)/CAPITAL,COLOR3D;
DX:ma(DDX,5)*10;
DDX1:sma(DX,3,1);
DDX2:sma(DDX1,3,1);