The Swiss central bank said on Thursday it expects to post a record profit for 2024, boosted by a stock market rally and gold after two years of losses.