Ulco, try making a sine curve displacement, and then use a Surface Layer to mask certain parts of the wave form with a similar set of blues you used to make the sine curve.
It's important to remember that sin/cos/tan etc work in radians. So a sine wave that is 1 meter apart peak to peak would be written, (axis or gradient) x 2 x Pi, before you plumb it into a Sin node.
If you go a stage further and set the input of a Modulo to your (axis/gradient) and put your wave length as a Constant into input 2, then Divide the Modulo output by the same Constant, you will have a repeating 0 to 1, that can also help with masking.