we investigate pilot-channel-assisted coherent demodulation in wideband code-division multiple-access (WCDMA) uplink and propose a novel parameter optimization scheme.The moving average length of channel estimator and the pilot-to-data channel power ratio are optimized analytically under the criterion of minimum bit-error-probability (BEP) for given signal-to-noise ratio (SNR).