Foreign fund buying highest in 17 weeks at RM362m