Trading can consider as gambling, you might win or lose but the bug different is you dont have enemy to deal with. Only just your decision whether you sell or hold. Loss is depend on what you had been decided. Gambling for the future profit not a illegal gambling have a big amount of bet for each user.
Well, sometimes, some of us may refer to it as an educated gambling based on how you are able to do well or how vast and knowledgeable you are which based on that, anyone who is not knowledgeable is simply just gambling. Trading is a whole lot and you really want to be very good at what you do, be ready to learn more and practice every day as you keep getting better and that is the only best way to do well when it comes to trading.
Trading is a very reliable profession and not just an investment, but how you see it determines a lot as well. It is more or less a gambling since most time you are making predictions based on what you see, the indicators you read, and expecting to see how the market play to your favor.
But most of the time, it is more of an educated one which is the only way you can reduce the risk that comes with it otherwise you will just be gambling 100% of the way.