Investors who try to time the market to avoid losses may end up missing out on some of the market's best days, which can lead to significant losses.