Trading is not the same as gambling. I don’t always believe that trading and gambling are similar things. To me these two things are very clearly different, though both of them are involved in high risk and high probability of losing your money, but to me the losses in trading can be reduced if you have the knowledge of trading,
while in gambling you can’t because you just predict and wait for the outcomes of the predicted while in trading you will be the one checking the market, managing the risk, and other things to avoid the risk, which is not possible in gambling. Also, trading can be for a long time, while gambling is just for some minutes or an hour.
First of all, I said Trading is similar to gambling, and not trading is the same as gambling. And secondly, it's true that trading and gambling may have a few differences but still, they're a lot more similar in many ways than you can imagine. Trading involves taking risks, and application of strategies to either mitigate the risk of losses and to also improve one's profit, but at the end these strategies are not 100% certain that you'll make profit, and this is just equally the same with gambling. There are methods one could employ to increase one's chances of winning as well as to mitigate losses, and while these strategies are no guaranteed, they're still very much effective.
The only difference I think trading has with gambling is the fact that success in gambling is totally dependent on luck, while trading depends more on strategies. Asides this, they're pretty much alike.