The market making algorithm for Bitcoin is: the highest bid and the lowest ask.
But we probably have to agree to disagree here.
Your confusion seems to be that the exchanges are coming up with the prices, which is not at all how it works. Again, the price is set exactly the same way as it is on the NYSE, by matching bids and asks.