This is the second part of the series of two articles which consider the effect of Compton scattering of the photospheric radiation on fast electrons of the coronal suprathermal streams. As compared to the previous part, a more realistic height-dependent model problem is treated. The results of numerical calculations for the mean frequency change and the proper cross-section for both the sunward and antisunward directed beams of electrons are given as a function of height and the slope angle. It is concluded that, depending on the angle between directions of the initial outburst and magnetic field, the scattering on the beams moving away the Sun may produce measurable drifts in frequency to shortwave as well as to longwave domains of the spectrum. At the same time, the sunward directed beams result only in an increase in the photon energy.