Without the help of respective professional person, you are not going to get out of the spell of gambling. You need to realize first that you are gambling addict and afterwards discuss it with the person who is most close to you.
Tell your family about your problem and ask them to take you to psychiatrist or psychologist for proper treatment. With the moral support of your family, you can overcome this evil urge.
Yes, it is difficult in the beginning to quit gambling and go for some other productive way of earning such as trading. Addiction is nothing but a psychological state that has to be molded in a manner so that it does not leads you to the same task again and again. The best way indeed is to state trading along with the gambling side by side.
But, let your focus be diverged towards the trading only and in the end , you will succeed in giving up on gambling because trading would help you earn much more .