Trading is also gambling. Although trading has less risk of losing than a real gambling. The only difference between them is that real gambling like poker, etc. is a fast way to earn money. While trading requires patience to earn. If you have patience you can double or even more your money safely if you are patient to it. Gambling can also double your money but when it happens most people gets greedy a d they lose in the end.
I totally agree that Trading is like gambling with some differences. Common factor is, both gambling and trading is risky and cast easily eat all of your money if you don't know what you are doing and are not licky enough.
Better stay away from gambling and trading if you don't know anything about them yet. Do your homework first before going to trade or gamble.