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

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