Trading is to invest your money in bussiness.If you buy the items in low price and trade it with higher price you earn money at a time.
Its not a gambling because u can earn in every items you buy.
Maybe you experience of no income but not at all times.
As you learn the process how to trade you can earn for every transactoin you make.so trading will not count as a gamling.