I have been losing a lot recently because of emotions as I was a gambler before and it is hard to keep it for myself. I have been calm when the price increased but at dump points I get heart attacks literally.

There will be no differences in handling your emotions in both gambling and trading. But it will not good for your health and for your trading capital if you still losing your calmness in negative market conditions. I suggest you to partice more in mock account just get the drills and practices of different scenarios of usual bitcoin trading, this way you can gain knowledge on controlling yourselves.
I'm dealing with it by simply stopping and changing my plans, it's the hardest enemy as we know we are fighting with ourselves.
How it will be possible to stop trading when we are in loss with our trades. You mean before facing bigger losses you will cut and come out ? But you may be facing all the times losses only because sometimes market will bounce back after showing some negative movements.
i do not think that it is such a an easy job to manage and control our emotions, and specially if a person is playing gambling then it will become more difficult to manage our emotions in gambling.