We present extreme ultraviolet spectra of highly charged tungsten ions (${\mathrm{W}}^{19+}\ensuremath{-}{\mathrm{W}}^{32+}$) in the wavelength range of $15\ensuremath{-}55\phantom{\rule{0.16em}{0ex}}\AA{}$ obtained with a compact electron-beam ion trap (CoBIT) and a grazing-incidence spectrometer at the National Institute for Fusion Science. The electron energy dependence of the spectra was investigated for electron energies from 490 to $1320\phantom{\rule{0.16em}{0ex}}\mathrm{eV}$. Identification of the observed lines was aided by collisional-radiative (CR) modeling of CoBIT plasma. Good quantitative agreement was obtained between the CR-modeling results and the experimental observations. The ion charge dependence of the $6g\text{\ensuremath{-}}4f,\phantom{\rule{0.16em}{0ex}}5g\text{\ensuremath{-}}4f,\phantom{\rule{0.16em}{0ex}}5f\text{\ensuremath{-}}4d,\phantom{\rule{0.16em}{0ex}}5p\text{\ensuremath{-}}4d$, and $4f\text{\ensuremath{-}}4d$ transition wavelengths were measured.