M:=3;N:=3;N1:=2;QQ:=3;
U1:=1;
VAR1:=SUM(maX(MAX((HIGH - LOW),Abs((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);
VAR2:=(HIGH - REF(HIGH,1));
VAR3:=(REF(LOW,1) - LOW);
DMP:=(SUM(IF(((VAR2 0) AND (VAR2 VAR3)),VAR2,0),5) * U1);
DMM:=SUM(IF(((VAR3 0) AND (VAR3 VAR2)),VAR3,0),5);
VAR6:=(((DMP * U1) * 100) / VAR1);
VAR7:=((DMM * 100) / VAR1);
VAR8:=(MA(((ABS((VAR7 - VAR6)) / (VAR7 + VAR6)) * 100),M) * U1);
ADXR:=((VAR8 + REF(VAR8,M)) / 2);
验证底部:(IF(((VAR8 88) AND (VAR6 5.8)),80,0) * U1),LINETHICK3,COLORRED;