N:=5;jj:=(HIGH+LOW+CLOSE)/3;qj0:=/IF(HIGH=LOW,4,HIGH-LOW);qj1:=IF(CAPITAL=0,qj0*(jj-MIN(CLOSE,OPEN)),qj0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));qj2:=IF(CAPITAL=0,qj0*(MIN(OPEN,CLOSE)-LOW),qj0*IF(HIGH=LOW,1,(jj-MIN(CLOSE,OPEN))));qj3:=IF(CAPITAL=0,qj0*(HIGH-MAX(OPEN,CLOSE)),qj0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));qj4:=IF(CAPITAL=0,qj0*(MAX(CLOSE,OPEN)-jj),qj0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-jj)));:((QJ1+QJ2)-(QJ3+QJ4))/SUM(,10)*10,COLOR3D;DX:=ma(ddx,5)*N;DDX1:(DX,3,1);DDX2:sma(DDX1,3,1);DDX3:wma