yes I do consider trading as gambling but its of course your own choice what you want, I think it is the same, it almost has the same risks too.
If you start trading without much knowledge yes it will be same as gambling and also if you trade only for the day means short term then it is also called gambling because in this short format your just guessing prices may go up or down without any base. But you trade for the longer term then you got better chance of making profit and I don't think this kind trading is exactly same as gambling.
Both day trading and long term trading become a form of gambling if you are just hoping for the price to go up, in order to obtain consistent profits, knowledge and skill should be your primary weapons.