Check out the market forums. Sometimes people will offer refunds when people over pay.
additionally, I think that trying to tie it to recent bids would be difficult to code. Personally, I think a flat number for salvage, a different flat number for recipes and a different number for enhancements would be easier to implement.