The money deducted from your paycheck if you participate in your company's 401 (k) program is an example of dollar cost averaging.
You will buy more shares when the price of your investment has declined, and fewer shares when the price has risen.