The market actually closes around 4.10. The last ten minutes are what called the "auction". All the bids and offers are on the screen and overlapping and then at 4.10 the computer balances it all out and you get the closing price. All sorts of games can go on during this period.