Check out this thread: Ocean shader normal issues! - Rendering - Epic Developer Community Forums
You can get the normals by calculating the derivatives of your sine function.
If you have issues figuring these out post a screenshot of your material showing the displacement part and there’s probably somebody willing to help.