To be ahead of the curve means you've anticipated the market or are ahead of everyone else, be it fashion or the stock market. It's not used for anticipating events.
"He's got his Doctor's degree in International Business."
"Yeah, he's ahead of the curve."
I've mostly seen it used for business. There's a whole lot of books out there titled "Staying Ahead of the Curve."