A train is moving along the tracks past a traffic signal.