BlogPsychology

Algo trading doesn't remove emotions: how to control them

No system takes the emotion out of trading. Treat each trade as independent, stop watching your MTM and size your positions so you can sleep.

Education only, not investment advice. Figures here come from past data and backtests: illustrative, not live market data and not a performance claim.

People say it is hard to control their emotions when they trade manually, and that's why they started algo trading. But "algo trading removes emotions" is a myth. There is no way to avoid emotions in trading, but there are some ways you can control them.

Each trade is independent

We always regret the past or worry about the future. That's human nature. We hardly live in the present, but when it comes to trading, we live far too much in the present. We worry too much about the current trade. How is this trade going to end? Will it end in profit? Will it help me recover all my past losses? Will this trade blow up my capital?

You really don't need to worry so much about an existing trade. Focus on the law of large numbers. The outcome of the current trade is in no way going to affect your next trade.

Say you are going for a walk in the park, and a person comes up to you and tells you what's going to happen in your life tomorrow at exactly 10 am, with precise details about the event. Will you believe him? There's a 99% chance you would ignore him, because you know very well that no one can predict what's going to happen to you tomorrow, next month or even in the years to come.

But then why do we believe the so-called experts who say what's going to happen in the markets tomorrow? We can only react to market movements and place trades based on what's happening now. We can't take trades based on a prediction of what's going to happen tomorrow. You can only control what you can control.

Size your position so you can sleep

When you can't control the outcome of a trade, why worry about it? There used to be days when, after taking overnight put options, I kept checking what was happening in the world. I would wake up in the night to see where the US market closed. After waking up in the morning, I would check how Japan, Shanghai in China and SGX Nifty were trading, and then eagerly wait for our markets to open.

Once the position is taken, there is no control in our hands. Despite that, we keep checking what's happening around the world. The main reason is that too much money is at stake. We did not realise how much is too much, and we were trading with a higher lot size.

I always say the correct position sizing rule is very simple: trade with the number of lots that lets you sleep comfortably, without worrying too much about what's going to happen overnight.

It's okay to be wrong

Right or wrong, success or failure, A grade or F grade: all of these are wired into our minds from childhood. When we get an A grade in school, we tend to think we are the smartest, and when we get an F, we tend to think we are a loser. We relate our successes and failures to what we are capable of. But if you trade with the same mindset, you are screwed.

  • A winning trade doesn't mean I'm smarter than the rest.
  • A losing trade doesn't mean I'm dumber than the rest.

In life in general, we don't want to be wrong. Being wrong makes you a loser in society's eyes. But trading is the only profession where you can make money while being wrong. Only when we are ready to take losses will we be able to make profits. It's okay to be wrong in this profession.

Stop watching your MTM

Once the trade is placed, will watching your MTM screen help you increase your profits in any way? No way. But we are still addicted to checking our MTM every now and then. Be it manual or automated trading, we keep staring at our screens.

Sometimes people monitor their order book to make sure there are no execution errors. That's fine, but even that can be automated. Watching your MTM screen will convince you that if you don't close the position now, it will end in a loss. Out of fear of losing your profits, you tend to exit early most of the time or override your own system. Watching MTM does more harm than good.

If you are running a trend following or breakout system, you would have noticed many times the market reversing from the peak, hitting your trailing stop loss, then reversing again and resuming its up move. With such a system, if you keep a very close trailing stop loss, it will definitely kick you out much earlier. We always want to protect our profits; we don't want unrealised profits to turn into realised losses. So give the trailing stop loss enough room that it doesn't get hit easily.

Don't carry emotions between trades

Don't bring the emotions from one trade into the next. Say you were trading a delta neutral option selling system last expiry, and suddenly after 2:30 pm the market moved to one side, so your profitable position turned into a loss. You think about it the whole week. When you trade the next expiry, you expect the same behaviour from the market, so you close your positions before 2:30 pm.

But that day the market behaved normally, and if you had held on to the positions as per your system, you would have made much more profit. Because of recency bias, because of the pain you went through recently, your subconscious mind wants to save you from that pain again, so you exited the trade early. As I mentioned earlier, each trade is independent. Don't let your previous trading outcome dictate what you do with your next trade.

Trading is all about handling pain. Why do some traders let their losses run? Why do they cut their profits short, but wait for their losing trades to turn profitable? "People will do more to avoid pain than they will do to gain."

Most of the pain is caused by irrational decisions in our trading. We tend to make such irrational decisions when we trade with capital we can't afford to lose. You can control your emotions to a large extent by controlling your position size.

Trading is all about handling pain.

I go into more detail in this article and in my video on controlling emotions.

I first wrote this as a thread on X. Follow me there for new ones.

  • trading psychology
  • position sizing
  • recency bias
  • algo trading
  • MTM

Kirubakaran Rajendran

Full-time algo trader, 18 years in the markets. Founder, Vecktor. I teach trading the way I work: write the rule, test it on data, then automate it.

More about me

Learn it step by step

Turn these ideas into rules you can test.