Trading or Gambling?

Unfortunately my trading goes from bad to worse.. I feel quite demoralised and I am not even looking at the charts properly and analysing before putting on trades. I just turn on the charting platform and put on the trades and lose. In fact, if I did the complete opposite to what I am currently doing I probably could do well!!! Right now, when I buy, the markets go down, when I sell, they go up! It seems that the markets know exactly what I want to do and just to the opposite to cause as much pa