Foreign fund inflows offset impact of strengthening dollar