An improved one-dimensional CA traffic model was proposed to describe the highway traffic under the periodic boundary conditions. This model was based on the idea of the car-following model, which claims that the motion of a vehicle at one time step depends on both the its headway and the synchronous motion of the front vehicle, thus including indirectly the influence of its subneighboring vehicle. In addition, the so-called safety distance was introduced to consider the deceleration behavior of vehicles and the stochastic factor was taken into account by introducing the deceleration probability. Meanwhile, the conditional deceleration in the model gives a better description of the phenomena observed on highways. It is found that there exists the metastability and hysteresis effect of traffic flow in the neighborhood of critical density under different initial conditions. Since this model gives a reasonable depiction of the motion of a single vehicle, it is easy to be extended to the case of traffic flow under the control of traffic lights in cities.