By using dollar cost averaging and dollar value averaging, you can avoid the pitfalls of trying to time the market