A Hybrid Transformer Model for Stock Price Prediction with Technical Indicators

Purpose: The purpose of this study is to develop a hybrid Transformer-based stock price forecasting model and compare its performance with other deep learning models. Design/Methodology/Approach: This study adopts a comparative experimental approach using historical stock market data for Reliance Industries and ICICI Bank from 1 September 2015 to 30 September 2026. The total 11-year dataset is split into 70% for training and 30% for testing. The dataset comprises Open, High, Low, Close and Volume (OHLCV) variables, together with technical indicators such as RSI, EMA, MACD and Bollinger Bands. Time-series-specific data preprocessing methods are used to prepare the data for modelling, including missing-value handling, feature scaling and sliding-window generation. Research Limitation: The study is limited to two selected Indian stocks, Reliance Industries and ICICI Bank, which may restrict the generalisability of the findings to other companies, sectors and financial markets. Findings: The experimental analysis provides a comparative assessment of recurrent and attention-based deep learning models for stock price forecasting. The evaluation metrics are used to identify differences in predictive accuracy and the models’ ability to capture temporal patterns in financial time-series data. The feature-set analysis and ablation studies further help determine the contribution of historical market variables and selected technical indicators to forecasting performance. The findings can support the selection of suitable deep learning architectures for stock price forecasting. The superiority of the proposed hybrid Transformer model should be established through the reported experimental results rather than assumed in advance. Practical Implication: The findings may assist researchers, financial analysts and quantitative modelling practitioners in selecting appropriate forecasting architectures and input features. Social Implication: Stock price forecasting may contribute to financial awareness, investment research and the development of accessible analytical tools for market participants. Originality/Value: The originality of this study lies in its comparative evaluation of a proposed hybrid Transformer model alongside recurrent and other deep learning architectures using a consistent experimental framework for two major Indian stocks.

Authors

Institutions

Publication Details

Journal
African Journal Of Applied Research
Published
2026-12-02
DOI
https://doi.org/10.26437/q3xg2z35
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Hybrid Transformer Model for Stock Price Prediction with Technical Indicators

P. T. Karule, V. Alagdeve
African Journal Of Applied Research
Stock Market Forecasting Methods
article

A Hybrid Transformer Model for Stock Price Prediction with Technical Indicators

P. T. Karule, V. Alagdeve
article en

Abstract

Purpose: The purpose of this study is to develop a hybrid Transformer-based stock price forecasting model and compare its performance with other deep learning models. Design/Methodology/Approach: This study adopts a comparative experimental approach using historical stock market data for Reliance Industries and ICICI Bank from 1 September 2015 to 30 September 2026. The total 11-year dataset is split into 70% for training and 30% for testing. The dataset comprises Open, High, Low, Close and Volume (OHLCV) variables, together with technical indicators such as RSI, EMA, MACD and Bollinger Bands. Time-series-specific data preprocessing methods are used to prepare the data for modelling, including missing-value handling, feature scaling and sliding-window generation. Research Limitation: The study is limited to two selected Indian stocks, Reliance Industries and ICICI Bank, which may restrict the generalisability of the findings to other companies, sectors and financial markets. Findings: The experimental analysis provides a comparative assessment of recurrent and attention-based deep learning models for stock price forecasting. The evaluation metrics are used to identify differences in predictive accuracy and the models’ ability to capture temporal patterns in financial time-series data. The feature-set analysis and ablation studies further help determine the contribution of historical market variables and selected technical indicators to forecasting performance. The findings can support the selection of suitable deep learning architectures for stock price forecasting. The superiority of the proposed hybrid Transformer model should be established through the reported experimental results rather than assumed in advance. Practical Implication: The findings may assist researchers, financial analysts and quantitative modelling practitioners in selecting appropriate forecasting architectures and input features. Social Implication: Stock price forecasting may contribute to financial awareness, investment research and the development of accessible analytical tools for market participants. Originality/Value: The originality of this study lies in its comparative evaluation of a proposed hybrid Transformer model alongside recurrent and other deep learning architectures using a consistent experimental framework for two major Indian stocks.

African Journal Of Applied ResearchVol. 12(8)
Yeshwantrao Chavan College of Engineering (IN)
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon