Dipole moment of ternary homonuclear systems