It Cant Be Done
Wouldn't it be nice if you were only in the stock market when it was going up and have everything transferred to cash while it is going down? It is called 'market timing' and your broker or financial planner will tell you "it can't be done". What that person just told you is he doesn't know how to do it. He doesn't know his job.
Even the Federal Reserve wrote an article saying that market timing does out perform the S&P500 index which is one of the best market directional indicators.
There are many advisory services that offer market timing. If you search on the Internet under "Market Timing" you will find them or you may look in various publications such as Technical Analysis of Stocks and Commodities magazine or Investor's Business Daily newspaper. Once you have found several you will find that some have several buy and sell signals each year and a few average only one timing signal per year. Here it depends upon your personality and your approach to the market.
For the active trader the more signals the better and for the longer-term investor the slow signals are best. You will have to do your homework and will want to send for a trial subscription to their newsletters. You might have to try several until you find one you like.
Instead of subscribing to an advisory letter you may decide to make up your own timing signal. It will take some initial work, but once done you will not have to pay anyone else for the service.
Most of these timing methods use two a simple moving averages of from 50 days to 200 days plotted with the S&P500 Index or the NYSE Composite or the Nasdaq Composite if you are investing in the high tech stocks or mutual funds. Yes, this definitely works with mutual funds. The longer the time of the moving average the less frequent will be the Buy and Sell signals. The signal is generated when the index penetrates the moving average line. When the index is below the moving average and goes through it to the upside you have a Buy and visa versa for the Sell. Nothing complicated.
Basically what market timing does is protect you from any big loss in a bear market. The first rule for all smart investors is to protect their capital. If your broker does not know how to do this you need a new broker.
It's your money. Keep it.