Historical analysis reveals that stocks tend to do quite well in the second halves of election years.
According to proprietary data generated by Piper Jaffray technical analyst Craig Johnson, the S&P 500 has risen 3.5 percent in the third quarter of an average election year, and followed that up with a 1 percent return in the fourth quarter.
That compares to the negative returns seen in the first and second quarters of the average election year.
For Johnson, the trend makes a good deal of sense, when one considers that the market's greatest enemy is often uncertainty.
"There's a lot of uncertainty upfront in the election process," Johnson said Tuesday on CNBC's "Trading Nation." "Then as we get into the third quarter it starts to become a lot more clear to investors" what's going to happen in November.
So far this year, the market has managed to far underperform the historical election-year average, as the below chart shows. But if history is any indication, the market could see an even greater comeback that it already has.