Are you trying to make laundry detergent or dishwashing detergent? I've been making both for years. Fine for HE washing machines.
For laundry detergent I use -
1 bar Oil of Olay (grated. I use a metal grater)
1 cup borax
1 cup washing soda
1/2 cup oxi-clean
Mix and store in an airtight container. You only need about 2 tablespoons per load. (I think I got this recipe from the Prudent Homemaker blog, but I'm not positive.)
For dishwasher detergent I use -
1 Cup Washing Soda (I like Arm & Hammer)
1 Cup Baking Soda
3 packages unsweetened lemonade drink mix (Make sure you use the unsweetened!)
1 Cup of Salt
Mix and store in a VERY airtight container. It tends to clump together.
Use about a tablespoon in the main cup. I always add vinegar to the bottom of the dishwasher as well. I have no idea where I found this recipe.