In order to determine exactly where to place your first finger for a particular bar chord it is essential to know the notes on the sixth string from memory. The diagram below shows the notes on the sixth string up to the 13th fret where the F note is an octave repeat of the F note at the first fret. It is rare to play bar chords any higher than the 12th fret.
Practice playing bar chords at different frets at random until you can instantly name the chord at any fret. Once you can do this, try the following example, which moves the same shape up and down the neck to form all the chords in the progression.
This progression can be played by moving one shape up and down the fretboard, or groups of two shapes, or four different shapes. Try each of these methods.