Ringgit extends downtrend against greenback