Stocks in Dubai up after three days of declines