Does the generator (base point) is preshared between the sender and receiver in elliptic curve cryptography? Or the elliptic curve and the generator point are known to everyone?
Yes.

The curve and generator point are part of the domain parameters and therefore made explicit if you use a named curve.