  In this paper, an algorithm for the ephemerides of visual binaries in
near-parabolic orbits for either elliptic or hyperbolic case has been
developed. The algorithm uses the Gauss method for determining both the true
anomaly and the radial distance. Applications of the algorithm are presented
for the binaries ADS 11632, WDS 19553-0644, and WDS 01243-0655. The result
obtained shows a good agreement and in some cases more accurate when compared
with the observations as well as the predicted ephemerides.
