Dynamic Matched Filters for Gravitational Waves Detection