There's no perfect time. However, the principle of "buy low, sell high" is a good rule of thumb.