They are saying that the stock exchange is simply another form of gambling. This type of perception comes, naturally, from people that don't have much information about trading. In reality, however, like true of any field, it requires good experience and knowledge that accumulate with time. In order to win,