Based on the lattice hydrodynamic model with bidirectional pedestrian flow, the lattice hydrodynamic model which considered the interaction of the next-nearest-neighbor pedestrians was proposed in this paper. By the linear stability analysis, the stability condition was obtained. By nonlinear analysis, the modified Korteweg-de Vries equation to describe the density wave of pedestrian congestion was given. Furthermore, numerical simulation was carried out to examine the performance of such a model and it shows consistency with the theoretical analysis results.