The yield curve was once just a wonky graph for academics and policymakers. But in recent years it has become a way to forecast looming recessions.

The curve has helped predict every recession over the past 50 years. That means the curve accurately predicted even largely unforeseen downturns like the dot-com bubble of 2001 and the Great Recession in 2007.