Foreigners withdraw $5.3 million from equity market