Yield curve inversion is not a signal to sell U.S. stocks
That's what analysts at Truist Advisory Services say. there have been seven inversions of the yield curve since 1978, with the S&P 500 index rising five out of seven times on a three-month, six-month and 12-month basis after the initial inversion.

The average time from inversion to the next recession averages 16 months, but the range varies from 6 to 24 months. The shortest period from inversion to recession happened in 2019 before the COVID pandemic.