In your pool, each gallon (4 quarts) of plain, unscented 6% bleach will add about 2.5ppm of chlorine. Use that as a reference to help you figure out doses of bleach to add. Each time you test the chlorine, add enough bleach to get back up to shock level. You want to keep doing this until you can go from sundown one evening to within two hours of sunrise the next day without losing more than 1ppm of chlorine overnight. Then, keep the chlorine high for one more day for added insurance and then you can let the chlorine drift down and make sure to keep it between 5-10ppm ALL the time. (See the Best Guess Chlorine Chart in my signature up in post #2 for info on the relationship between CYA and chlorine levels.)

20 Mule Team Borax (laundry aisle at Walmart) is used to raise pH and baking soda is used to raise alk.