Generalized guiding functions in a problem on high frequency forced oscillations