Dan Niles predicts when the S&P 500 might bottom, and reveals how he’s profited this year