Niles believes after the year-end rally, stocks could see more losses as corporate earnings are about to deteriorate.