It depends how you define gambling.
The public misconception is that gambling doesn't require skills. In some way, trading is comparable to gambling in that,
1. There is a big part of it out of your control and subject to luck of God.
2. Equipped with skills, you can win consistently.