The dollar tends to rise for the third week