U.S. stocks and ETFs have suffered a blow ahead of the midterm elections, but after all the political hoopla, equities could be in for a smoother ride.

The SPDR S&P 500 ETF (NYSEArca: SPY) tested correction territory and is now down 6.8% so far this month and up 3.2 year-to-date. After the October volatility, things could be turning around.

Since 1946, there have been 18 midterm elections, with stocks rising higher 12 months after every single midterm vote, despite the various political party combinations in the White House and Congress, writes Stephen McBride for MarketWatch.

Since the mid-20th century, stocks have on average gained 17% in the year after a midterm. The results are even more noteworthy if one is measuring from the yearly midterm lows – from their lows, stocks surged an average 32% over the following 12 months.

Furthermore, the third year of a presidential term has historically been the strongest year for stocks as well. The second year of the presidential cycle was topically the worst for stocks.

The volatility leading up the the midterms is nothing special as U.S. stocks typically performed poorly ahead of the elections. From January to October in midterm years, U.S. stocks fell an average of roughly 1% while stocks in all other years gained roughly 7% in the same time frame.

Even if we end up with a Republican president and Democratic Congress, U.S. stocks shouldn’t bat an eye.

For example, in 2006, when George W. Bush held office with Nancy Pelosi and Harry Reid in both the House and Senate, respectively, U.S. stocks were flat the next day but up 9% six months later and 6.7% a year later, MarketWatch reports.

If the Republicans manage to maintain control of Congress, it would be similar to when Bush held office with Bill Frist and Dennis Hastert in Congress during 2002. The S&P 500 was up 0.9% post-election day and increased 1.2% six months later and 14.9% a year later.

For more information on the markets, visit our current affairs category.