This is a movie I remember watching as a kid—it might be one of the first movies I saw in a theater by myself, during the summer, probably using one of those summer passes. So I'm placing it late 70s early 80s. Other movies I may have seen around that time might have been Candle Shoe—but that might not be accurate.
The key visual I remember is one of the space ships was shaped like a hand. And the hand changed shape when it went into battle.
When a group of space ships traveled together, they moved like roller coaster cars all inline and on a track.
Edit: I assume this was an American film as its not likely I saw a foreign film as kid in a USA small southern town, none the less.