Australian shares end string of losses as gold, tech stocks rise | Sharefundss