MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD:=HIGH-REF(HIGH,1);
LD:=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD 0 AND HD LD,HD,0),14);
PDI:=DMP*100/MTR;
VOLUME:VOL*PDI,VOLSTICK;
TDXSTEP100:MA(VOLUME,60)*5;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,10);
MAVOL3:MA(VOLUME,60)*5;
{-----------------------------------}