I wasn't really schooled in trading but i just followed what the others did ,
That was your first undoing. You don't dabble into what you've no basic knowledge of because you see others go into it. No, it's wrong. You will lose a sense of direction on what your expectations are of it, judging from where you currently stand and into the future.
but along the line I've just realized that it is seemingly not different from gambling considering the fact that I've lost a lot of money.
Loss is a general thing in anything called business. It's not peculiar to trading or gambling. If you can't stand losses, then you aren't fit to be in business. You may want to be in a paid job and let employers do the risk taking, and then pay out peanuts as wages and salaries.
Please, am I wrong in looking at trading this way?
Yes, you're absolutely wrong. Let me explain it a bit, trading has to do with an exchange of products where a trader expects that one product will rise in value and the other decrease in value, while in gambling there's no exchange of products. It's just a desire to win embedded in financial rewards. I don't know if my comment made any sense.