Calculation of anisotropy ratio of hard X-rays from solar flares — evidence for continuous electron injections/accelerations