Legendary market analyst and commentator Marc Chaikin said the stock market is bent but not broken.

Still, the S&P 500 has been trading in a narrow range and has failed to revisit its Jan. 26 high of 2,873.

"What gets us out [of the narrow range] is to break this pattern of negative closes," he said. "People are selling into the close [of the trading session]."

Chaikin said investors are afraid of overnight tweets from President Trump or negative trade news out of China.

Chaikin is the founder of Chaikin Analytics

Want exclusive investing insight from Jim Cramer? Get 24/7 access to Jim's charitable trust portfolio with a free trial to Action Alerts PLUS!

Watch all of Jim Cramer's NYSE live shows right here:

More from Video

Investors Shouldn't Be Worried About Trump's Trade Tariffs: Ian Bremmer

Investors Shouldn't Be Worried About Trump's Trade Tariffs: Ian Bremmer

Abercrombie & Fitch CEO Reveals to TheStreet How She Is Turning Company Around

Abercrombie & Fitch CEO Reveals to TheStreet How She Is Turning Company Around

The Chart Professor: Worried About United Technologies Right Here

The Chart Professor: Worried About United Technologies Right Here

Veteran Foreign Affairs Expert Ian Bremmer Reveals How to Price Political Risk

Veteran Foreign Affairs Expert Ian Bremmer Reveals How to Price Political Risk

Jim Cramer: I've Liked Six Flags Entertainment Stock as an Income Producer

Jim Cramer: I've Liked Six Flags Entertainment Stock as an Income Producer