A Simple Approach for Deciding when to Invest