A moderate earthquake with a magnitude of 5.4 struck off eastern Taiwan early today, US seismologists said, but there were no immediate reports of damage and no tsunami warning was issued.