Home / Current Issue / Paper 1708714
Machine Learning-Based Forecasting of Financial Time Series Using Ensemble Techniques and Technical Indicators
Subject area: Science,Engineering and Technology · Area of research: AI and ML in Finance
Abstract
Financial markets present a highly dynamic and nonlinear environment, making accurate time series forecasting both challenging and critical. On the other hand, investors are highly concerned about the future stock price trend. There are still challenges in the stock price prediction model, including the extensive number of methods, the selection of feature index variables, and the substantial time-effectiveness of prediction. This study aims to propose a machine learning-driven approach for stock return prediction and trading signal generation using an ensemble of XGBoost and Logistic Regression models. First, we denoise the raw data with statistical-based strategies. Second, we engineered a comprehensive feature set incorporating lagged returns, technical indicators including RSI, SMA, MACD, and volatility. Strategies were evaluated using walk-forward validation to ensure realistic simulation of evolving market behavior. Next, trade signals were filtered with RSI thresholds and capped with a stop-loss mechanism. Finally, performance was measured using risk-adjusted metrics including Sharpe, Sortino, Calmar ratios, and maximum drawdown. The results show that the ensemble strategy outperformed single-based models and traditional moving average crossover methods in both cumulative return and risk stability.
Keywords
Dynamic pricing, Data-driven architecture, Machine learning, XGBoost, logistic regression
References
[1] Martins, N. M., Pires-Alves, C. C., Modenesi, A. D. M., & Leite, K. V. B. D. S. (2017). The transmission mechanism of monetary policy: Microeconomic aspects of macroeconomic issues. Journal of Post Keynesian Economics, 40(3), 300-326.
[2] Show, P. L. (2022). Global market and economic analysis of microalgae technology: Status and perspectives. Bioresource Technology, 357, 127329.
[3] Dave, B. B. (2022). Can India be a $5 Trillion economy by 2026–27: A perspective. The Clarion-International Multidisciplinary Journal, 11(1), 1-13.
[4] Khan, A., Khan, M. Y., Khan, A. Q., Khan, M. J., & Rahman, Z. U. (2021). Testing the weak form of efficient market hypothesis for socially responsible and Shariah indexes in the USA. Journal of Islamic Accounting and Business Research, 12(5), 625-645.
[5] Li, Y., Wang, T., Sun, B., & Liu, C. (2022). Detecting the lead–lag effect in stock markets: definition, patterns, and investment strategies. Financial Innovation, 8(1), 51.
[6] Zhang, D., & Lou, S. (2021). The application research of neural network and BP algorithm in stock price pattern classification and prediction. Future Generation Computer Systems, 115, 872-879.
[7] Cheng, D., Yang, F., Xiang, S., & Liu, J. (2022). Financial time series forecasting with multi-modality graph neural network. Pattern Recognition, 121, 108218.
[8] Kolambe, M., & Arora, S. (2024). Forecasting the future: A comprehensive review of time series prediction techniques. Journal of Electrical Systems, 20(2s), 575-586.
[9] Khurana, D., Koli, A., Khatter, K., & Singh, S. (2023). Natural language processing: state of the art, current trends and challenges. Multimedia tools and applications, 82(3), 3713-3744.
[10] Wątorek, M., Kwapień, J., & Drożdż, S. (2023). Cryptocurrencies are becoming part of the world global financial market. Entropy, 25(2), 377.
[11] Barro, D., Consigli, G., & Varun, V. (2022). A stochastic programming model for dynamic portfolio management with financial derivatives. Journal of Banking & Finance, 140, 106445.
[12] Khademalomoom, S., & Narayan, P. K. (2020). Intraday-of-the-week effects: What do the exchange rate data tell us?. Emerging Markets Review, 43, 100681.
[13] Li, L. (2023). Commodity prices volatility and economic growth: Empirical evidence from natural resources industries of China. Resources Policy, 80, 103152.
[14] Ahamad, S., Gupta, P., Acharjee, P. B., Kiran, K. P., Khan, Z., & Hasan, M. F. (2022). The role of block chain technology and Internet of Things (IoT) to protect financial transactions in crypto currency market. Materials Today: Proceedings, 56, 2070-2074.
[15] Han, Z., Zhao, J., Leung, H., Ma, K. F., & Wang, W. (2019). A review of deep learning models for time series prediction. IEEE Sensors Journal, 21(6), 7833-7848.
[16] Nguyen, N., & Quanz, B. (2021, May). Temporal latent auto-encoder: A method for probabilistic multivariate time series forecasting. In Proceedings of the AAAI conference on artificial intelligence (Vol. 35, No. 10, pp. 9117-9125).
[17] Dixit, A., & Jain, S. (2023). Contemporary approaches to analyze non-stationary time-series: Some solutions and challenges. Recent Advances in Computer Science and Communications (Formerly: Recent Patents on Computer Science), 16(2), 61-80.
[18] Wang, J., Qian, X., & Li, H. (2024). Predict-and-update network: Audio-visual speech recognition inspired by human speech perception. IEEE/ACM Transactions on Audio, Speech, and Language Processing.
[19] Sharma, N., Sharma, R., & Jindal, N. (2021). Machine learning and deep learning applications-a vision. Global Transitions Proceedings, 2(1), 24-28.
[20] Dong, S., Wang, P., & Abbas, K. (2021). A survey on deep learning and its applications. Computer Science Review, 40, 100379.
[21] Prasad, A., & Seetharaman, A. (2021). Importance of machine learning in making investment decision in stock market. Vikalpa, 46(4), 209-222.
[22] Kumar, D., Sarangi, P. K., & Verma, R. (2022). A systematic review of stock market prediction using machine learning and statistical techniques. Materials Today: Proceedings, 49, 3187-3191.
[23] Marti, G., Nielsen, F., Bińkowski, M., & Donnat, P. (2021). A review of two decades of correlations, hierarchies, networks and clustering in financial markets. Progress in information geometry: Theory and applications, 245-274.
[24] Busari, S. I., & Samson, T. K. (2022). Modelling and forecasting new cases of Covid-19 in Nigeria: Comparison of regression, ARIMA and machine learning models. Scientific African, 18, e01404.
[25] Kurani, A., Doshi, P., Vakharia, A., & Shah, M. (2023). A comprehensive comparative study of artificial neural network (ANN) and support vector machines (SVM) on stock forecasting. Annals of Data Science, 10(1), 183-208.
[26] Chuang, C. C., Su, S. F., Jeng, J. T., & Hsiao, C. C. (2002). Robust support vector regression networks for function approximation with outliers. IEEE Transactions on Neural Networks, 13(6), 1322-1330.
[27] Suykens, J. A., De Brabanter, J., Lukas, L., & Vandewalle, J. (2002). Weighted least squares support vector machines: robustness and sparse approximation. Neurocomputing, 48(1-4), 85-105.
[28] Mallqui, D. C., & Fernandes, R. A. (2019). Predicting the direction, maximum, minimum and closing prices of daily Bitcoin exchange rate using machine learning techniques. Applied Soft Computing, 75, 596-606.
[29] Cao, L., & Tay, F. E. (2001). Financial forecasting using support vector machines. Neural Computing & Applications, 10, 184-192.
[30] T. M. Sands, D. Tayal, M. E. Morris and S. T. Monteiro, "Robust stock value prediction using support vector machines with particle swarm optimization", Proc. IEEE Congr. Evol. Comput. (CEC), pp. 3327-3331, May 2015.
[31] J.-S. Chou, N.-T. Ngo and A.-D. Pham, "Shear strength prediction in reinforced concrete deep beams using nature-inspired metaheuristic support vector regression", J. Comput. Civil Eng., vol. 30, no. 1, Jan. 2016.
[32] Xu, S., An, X., Qiao, X., Zhu, L., & Li, L. (2013). Multi-output least-squares support vector regression machines. Pattern recognition letters, 34(9), 1078-1084.
[33] Chang, V., Xu, Q. A., Chidozie, A., Wang, H., & Marino, S. (2024). Predicting Economic Trends and Stock Market Prices with Deep Learning and Advanced Machine Learning Techniques. Electronics, 13(17), 3396.
[34] Fischer, T., & Krauss, C. (2018). Deep learning with long short-term memory networks for financial market predictions. European journal of operational research, 270(2), 654-669.
[35] Elhoseny, M., Metawa, N., Sztano, G., & El-Hasnony, I. M. (2022). Deep learning-based model for financial distress prediction. Annals of Operations Research, 1-23.
[36] Hao, Y., & Gao, Q. (2020). Predicting the trend of stock market index using the hybrid neural network based on multiple time scale feature learning. Applied Sciences, 10(11), 3961.
[37] Mehtab, S., & Sen, J. (2022). Analysis and forecasting of financial time series using CNN and LSTM-based deep learning models. In Advances in Distributed Computing and Machine Learning: Proceedings of ICADCML 2021 (pp. 405-423). Springer Singapore.
[38] Zhang, L., Bian, W., Qu, W., Tuo, L., & Wang, Y. (2021, April). Time series forecast of sales volume based on XGBoost. In Journal of Physics: Conference Series (Vol. 1873, No. 1, p. 012067). IOP Publishing.
[39] Gruver, N., Finzi, M., Qiu, S., & Wilson, A. G. (2023). Large language models are zero-shot time series forecasters. Advances in Neural Information Processing Systems, 36, 19622-19635.
How to cite this paper
@article{1708714,
author = {Merry Jebin Gnanadhas},
title = {Machine Learning-Based Forecasting of Financial Time Series Using Ensemble Techniques and Technical Indicators},
journal = {Iconic Research And Engineering Journals},
year = {2025},
volume = {8},
number = {11},
pages = {1791-1802},
issn = {2456-8880},
url = {https://www.irejournals.com/formatedpaper/1708714.pdf},
abstract = {Financial markets present a highly dynamic and nonlinear environment, making accurate time series forecasting both challenging and critical. On the other hand, investors are highly concerned about the future stock price trend. There are still challenges in the stock price prediction model, including the extensive number of methods, the selection of feature index variables, and the substantial time-effectiveness of prediction. This study aims to propose a machine learning-driven approach for stock return prediction and trading signal generation using an ensemble of XGBoost and Logistic Regression models. First, we denoise the raw data with statistical-based strategies. Second, we engineered a comprehensive feature set incorporating lagged returns, technical indicators including RSI, SMA, MACD, and volatility. Strategies were evaluated using walk-forward validation to ensure realistic simulation of evolving market behavior. Next, trade signals were filtered with RSI thresholds and capped with a stop-loss mechanism. Finally, performance was measured using risk-adjusted metrics including Sharpe, Sortino, Calmar ratios, and maximum drawdown. The results show that the ensemble strategy outperformed single-based models and traditional moving average crossover methods in both cumulative return and risk stability.},
keywords = {Dynamic pricing, Data-driven architecture, Machine learning, XGBoost, logistic regression},
month = {May},
}