FFT don't work on market data. I have worked with MEM, the berg algorithm and have my own version in CycleStudio for TradersStudio. Making MEM work with market data requires a lot of tricks and when developing my software it took 2-3 months to resolve all of these problems. John Ehlers is the one who first applied this method to market data and calls it MESA.
I don't have MESA but my own version of MEM for market data.