For long-term investors, three guidelines for figuring out how much risk you can stomach