This paper extends an existing outlier-robust estimator of linear dynamic panel data models with fixed effects, which is based on the median ratio of two consecutive pairs of first-order differenced data. To improve its precision and robustness properties, a general procedure based on higher-order pairwise differences and their ratios is designed. The asymptotic distribution of this class of estimators is derived. Further, the breakdown point properties are obtained under contamination by independent additive outliers and by the patches of additive outliers, and are used to select the pairwise differences that do not compromise the robustness properties of the procedure. The proposed estimator is additionally compared with existing methods by means of Monte Carlo simulations.