A train driver who was sacked for twice performing a Nazi salute on a platform claimed he was just giving the all-clear signal.