yes, trading has many factors that can be do something with the psychological state of one's trader. If you know that you had a bad trade, you should accept it and move on. always pay attention to the small things and be cautious. having some education about tradings,strategies and patters of chart may give you less risk on trading.
yes that is right that there are so many factors that are effect your trading. the most important is the knowledge about trading, trading skill and experience in trading is also too much important, i think proper planing and strategy can also effect the result of your trading, you need to keep these things in your mind when ever you are interested in trading.