the first factor in my opinion is that trading is not gambling if we pursue this activity it really does prioritize strategies, techniques, market analysis and must work hard to sharpen the brain, mind and energy to get profit. The second factor of tarading is a business entity that is engaged in currency trading and foreign exchange transactions where these activities are legal, have permits and offices and are clear in its rules. The third factor is trading gambling if it contains elements of gambling, there are no indicators or analysis to support this activity and also transparent in presenting public information.
Trading can be said to fulfill the gambling element if the perpetrator makes a transaction by relying on betting, try it, and his fortune and activities are illegal or against the law in the country concerned.