Trading have a lot of similarity with gambling with the difference almost insignificant. Your distinction id primarily base on the fact that you see trading as skill whereas gambling as entirely a thing of luck and I want to fault such line of thought because gambling too require skills and those who have the right skills are able to win gambling much more than those who approach it like it were just a thing of luck. On the basis of skill and emotions, trading and gambling are completely similar just that the risk make them a little different as the risk of trading is more controllable than that of gambling.