TherehavebeenseveralmethodsfordeterminingTwave-end.ButnoneofthemcanovercomethedifficultyfrommultiformityofECGsignalpattern.Inthispaper,amethodfordeterminingTwave-endusingevolutionaryalgorithm(EA)isproposed.Inthisway,first,everycharacteristicparameterrelatedtoTwave-endisencodedtoastringofcodes,andadaptationfunctionisconstructedwiththestringofcodes.Thenchoosetheinpidualaccordingtotheadaptationfunctionvalueanddogeneticoperation(reproduction,crossoverandmutation),soastoproduceoffspringwithmoreadaptationfunctionvalue.BecauseofEA'sautoadaptationandautoorganizationcharacter,itcantraceECGsignaltypeandfindtheTwave-endautomatically.ExperimentresultsshowthattheerrorratioofrecognizingTwave-endusingthismethodismuchsmallerthanthatusingexistingmethod.