Stock markets close higher on firm global trends, foreign fund inflows | Sharefundss