After reading/researching the pedigree/health of a race horse (fundamental analysis) and past performances (technical analysis) a punter places a bet for that horse to win the race. For that, we called it "gambling" or "punting"..
After doing fundamental & technical research and analysis on currencies pair, we place a trade position in anticipation and probable movement of that currencies pair. For that, and as a matter of course, we do not (heavens forbid) dare called it "gambling"...but "trading" because that sounds more "professional".
So, nooooooo, trading the forex is most certainly 100% NOT GAMBLING