This paper proposes a method of testing whether a time series is a martingale. The procedure develops an asymptotic theory for the shape of the spectral distribution function of the first differences. Under the null hypothesis, this shape should be a diagonal line. several tests are developed...