IMO gambling is gambling as long as it's purely depending on luck and no support for it on other aspects "knowing methods of trading, best methods and ways to earn, specific market analysis", if the trader doesn't know these then it's merely gambling.
I do not think of trading as gambling because with trading you are somewhat sure that you are going to receive something back.
With gambling you are just a wild guess and that is not the case with trading.