valley peak detector

Shouldn't your peak detector work just the same if its negative vs positive, as long as you swap VCC+ with VCC-?

If you aren't using a VCC-, then you need to rectify the signal and use the normal peak detector.