Shares gain, dollar falters ahead of Fed meeting