This is what we use for our adult flock. It's a 3' piece of vinyl rain gutter (don't use galvanized metal, it will rust). I recently attached the wooden end pieces, but for months it was just the bare gutter on the ground and it worked great:
For chicks, we use something like this: