You may not have foamy oil, you may just have a foamy leak. Air is squeezing through a leak in your line, and that air is oily, which means it is going to come out foamy or bubbly. As for do you have enough oil, the dip stick tells you that rather nicely.
Fix the leak in your oil line. 50 lbs or oil pressure at idle is good.