This is a simple variation on the so called "Twin Paradox", which is not a paradox in the logical sense (i.e. not a logical contradiction). Each cycle of the oscillator's motion is like the journey of the spacefaring twin. One possible cycle on a spacetime diagram is drawn below (source: Wikipedia "Twin Paradox" Article with my own additions).

The idealized path, where the oscillator accelerates at infinite acceleration to change its velocity from 0 to $+V$ then from $+V$ to $-V$ is shown in black. The actual path would be more like the green one, but the principles are the same, namely, that, because the motion is accelerated, there is a different Lorentz transforms between the Earthbound twin's inertial frame and the frames momentarily comoving with the accelerating twin at each point on the path, possibly a different transformation at each point. In the idealized case, there are only two momentarily comoving frames, that moving at $+V$ relative to the stationary observer and that moving at $-V$ thereto. On the green curve, the spacefarer would smoothly pass through all intermediate momentarily comoving frames as well.
When the oscillator re-unites with the stationary observer so that they can compare clocks, the oscillator's clock shows a shorter time to have passed for the oscillator than for the stationary observer.
In summary, no one Lorentz transformation transforms between the two observers' co-ordinates; a different one applies at each point on the oscillator's world line.
The OP Asks
.... Also I am not arguing which frame is moving wrt which, as is the case with twin paradox. I believe that it is easier to be realized as real experiment. I am sure that any experiment will show that the oscillating clock will delay and this delay will not depend from the frequency of oscillation but only from velocity.
You asked which velocity is used in the Lorentz transformation, and the answer is that there is not one transformation but a smoothly varying set of Lorentz transformations between the at rest observer and every inertial frame momentarily comoving with oscillator at each point on its world line. If you want to know the time dilation to check the plausibility of an experiment, then that's easy: if the path is sinusoidal such that $z = a \sin(\omega\,t)$ then the line element is
$$\mathrm{d}\tau^2 = \mathrm{d}t^2 - \mathrm{d}z^2 = \mathrm{d}t^2 \left(1-\frac{a^2\,\omega^2}{c^2}\right)$$
whence when the oscillator completes a half cycle and has returned to the stationary observer, the oscillator's clock shows:
$$\tau = \int\limits_0^{\frac{\pi}{\omega}} \sqrt{1-\frac{a^2\,\omega^2}{c^2}\,\cos^2(\omega\,t)}\,\mathrm{d}t \approx \frac{\pi}{\omega}\left(1-\frac{a^2\,\omega^2}{4\,c^2}\right)$$
(You can easily do this integral with complete elliptic integrals if you need to broaden it to near light speeds). So let's say you have an atomic clock oscillating back and forth such that $a=1{\rm m}$, $\omega = \pi{\rm m s^{-1}} \approx \sqrt{g}{\rm m s^{-1}}$, equivalent to a period of about $\frac{1}{2}{\rm Hz}$ (Inertially induced stresses on the instrument of $1 g$ seem reasonably manageable so that we can get rid of or account for stress induced errors in the clock system). Then each second (half period), the oscillator's clock "loses" $\pi^2/(4\,c^2)$ seconds, amounting to $2.7\times 10^{-17}$ seconds. This is equivalent to about a nanosecond every fourteen months. So it would be well measurable with today's technology; let's assume we're really good experimentalists and we can design a clock which would withstand the stresses from $10\,g$; in this case, we'd cut that figure down one hundredfold, so the difference is 1 nanosecond every four days. Given these figures, I'd be surprised if the experiment had not already been done.