You are right that both of them are two different things but actually the charts and technical analysis of them can be compared because both of them are traded and similar due the financial market aspect, so in my opinion stocks can be compared to crypto.