Algorithmic Trading Simulation of Tata Consultancy Services (TCS) Using Moving Average Strategies: Evidence From 2020 to 2025
The rapid advancement of algorithmic trading has significantly transformed modern financial markets by enabling systematic, rule-based decision-making with minimal human intervention. This study examines the effectiveness of a simple moving-average crossover-based algorithmic trading strategy applied to Tata Consultancy Services, one of India’s leading large-cap stocks. The trading system generates buying and selling recommendations through its 20-day short-term simple moving average and 50-day long-term simple moving average system, which operates on daily adjusted closing-price data from the years 2020 to 2025. The model operates in the R programming environment, which undergoes back testing through financial analysis packages that test its performance while safeguarding against look-ahead bias. The performance assessment of the proposed strategy uses key financial metrics, which include cumulative returns and annualised returns together with volatility and maximum drawdown. The empirical results show that the moving-average crossover strategy successfully detects medium- to long-term price movements while it protects investors better from losses than traditional buy-and-hold methods. The trading strategy shows decreased market downturns and smaller price movements, but it lacks capacity to produce profits during market stability because it keeps switching between buying and selling signals. The research demonstrates that basic technical trading rules still function effectively in Indian emerging markets when investors assess market performance over long durations. The results support existing literature that emphasises the role of trend-following strategies in enhancing risk-adjusted performance rather than consistently maximising absolute returns.
Authors
- Meghdoot Ghosh (ORCID: https://orcid.org/0000-0003-2654-2388)
- Surath Roy (ORCID: https://orcid.org/0000-0002-1409-7291)
- Sanju Das
- Dr. Surajit Das
- Moumita Saha
Institutions
- Techno India University (IN)
- Institute of Post Graduate Medical Education and Research (IN)
Publication Details
- Journal
- Asia-Pacific Journal of Management Research and Innovation
- Published
- 2026-09-19
- DOI
- https://doi.org/10.1177/2319510x261487250
- Primary Topic
- Stock Market Forecasting Methods
- Type
- article
- Field-Weighted Citation Impact
- 0.00