A pike phalanx, especially a dense one, is undirected. Most of the men in the ranks can't see the enemy, they're effectively running through a drill to keep the threat level up.
That's completely different to a hoplite phalanx, where every man is choosing a target and attacking an individual.