A trader with Livermore Trading Group Inc., works at the New York Stock Exchange (NYSE) in New York, U.S.

I know it's tempting, but don't make the mistake of ignoring dividends right now.

Yesterday, the Dow Jones Industrial Average and the simultaneously shoved their way to new all-time highs, a fact that's been slowly luring more and more retail investors to focus exclusively on capital gains. But history shows that eschewing dividends when stocks are rallying can be hazardous to your total returns.