More than 150 years of back-tested data paints a clear picture of what may come next for Wall Street's major stock indexes.