IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v68y2026i2d10.1007_s10614-025-11101-0.html

A 2D-CNN-LSTM-Based Deep Learning Model for Forex Price Prediction using Lag Features

Author

Listed:
  • Bilguun Narmandakh

    (Albion College, Department of Mathematics and Computer Science)

  • Yuming Zhang

    (Albion College, Department of Mathematics and Computer Science)

  • Zhen Li

    (Albion College, Department of Economics and Management)

  • Paul Anderson

    (Albion College, Department of Mathematics and Computer Science)

Abstract

Foreign exchange (Forex) plays a critical role in the global financial market, and accurate forecasting of Forex price movements is essential for investors to manage risk and enhance profitability. However, due to the influence of numerous internal and external factors, Forex time series are inherently volatile and noisy, posing significant challenges for reliable prediction. Existing deep learning approaches often rely on conventional historical financial data and technical indicators, which may not effectively capture the underlying trends in the data. To address this limitation, we propose a novel deep learning model that leverages lag features - differences computed from historical times series values - as input. These features inherently encode trend information and are shown to be statistically stationary, making them more suitable for learning in deep neural networks. The proposed model integrates a 2D Convolutional Neural Network (2D-CNN), a Long Short-term Memory (LSTM) layer, and a dense output layer. The 2D-CNN, equipped with an asymmetric kernel, enables the extraction of features along both time and feature dimensions with different weighting sensitivities. Subsequently, the LSTM layer captures long-term temporal dependencies, while the dense layer produces the final trend prediction. We evaluate our method on four major currency pairs - EUR/USD, CAD/USD, GBP/USD, and JPY/USD. Our method achieves up to 82.3% accuracy for one-day-ahead predictions and up to 64% accuracy for five-day-ahead predictions. Compared to traditional deep learning models such as MLP, 2D-CNN, LSTM, and CNN-LSTM, our approach consistently delivers superior accuracy and faster convergence. These results demonstrate the effectiveness of using lag features and the proposed architecture for robust Forex trend forecasting. Enhanced forecasting accuracy achieved through lag features and deep learning models can offer significant practical benefits, particularly in the areas of trading strategy optimization and risk management.

Suggested Citation

  • Bilguun Narmandakh & Yuming Zhang & Zhen Li & Paul Anderson, 2026. "A 2D-CNN-LSTM-Based Deep Learning Model for Forex Price Prediction using Lag Features," Computational Economics, Springer;Society for Computational Economics, vol. 68(2), pages 1445-1470, August.
  • Handle: RePEc:kap:compec:v:68:y:2026:i:2:d:10.1007_s10614-025-11101-0
    DOI: 10.1007/s10614-025-11101-0
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-025-11101-0
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10614-025-11101-0?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to

    for a different version of it.

    References listed on IDEAS

    as
    1. Abarbanell, JS & Bushee, BJ, 1997. "Fundamental analysis, future earnings, and stock prices," Journal of Accounting Research, John Wiley & Sons, Ltd., vol. 35(1), pages 1-24.
    2. Deeksha Chandola & Akshit Mehta & Shikha Singh & Vinay Anand Tikkiwal & Himanshu Agrawal, 2023. "Forecasting Directional Movement of Stock Prices using Deep Learning," Annals of Data Science, Springer, vol. 10(5), pages 1361-1378, October.
    3. Shahzad Zaheer & Nadeem Anjum & Saddam Hussain & Abeer D. Algarni & Jawaid Iqbal & Sami Bourouis & Syed Sajid Ullah, 2023. "A Multi Parameter Forecasting for Stock Time Series Data Using LSTM and Deep Learning Model," Mathematics, MDPI, vol. 11(3), pages 1-24, January.
    4. Paulo Canas Rodrigues & Olushina Olawale Awe & Jonatha Sousa Pimentel & Rahim Mahmoudvand, 2020. "Modelling the Behaviour of Currency Exchange Rates with Singular Spectrum Analysis and Artificial Neural Networks," Stats, MDPI, vol. 3(2), pages 1-21, June.
    5. Taylor, Mark P. & Allen, Helen, 1992. "The use of technical analysis in the foreign exchange market," Journal of International Money and Finance, Elsevier, vol. 11(3), pages 304-314, June.
    6. Mojtaba Sedighi & Hossein Jahangirnia & Mohsen Gharakhani & Saeed Farahani Fard, 2019. "A Novel Hybrid Model for Stock Price Forecasting Based on Metaheuristics and Support Vector Machine," Data, MDPI, vol. 4(2), pages 1-28, May.
    7. Assaf, Ata, 2008. "Nonstationarity in real exchange rates using unit root tests with a level shift at unknown time," International Review of Economics & Finance, Elsevier, vol. 17(2), pages 269-278.
    8. Zexin Hu & Yiqi Zhao & Matloob Khushi, 2021. "A Survey of Forex and Stock Price Prediction Using Deep Learning," Papers 2103.09750, arXiv.org.
    9. Kaur, Gurbinder & Dhar, Joydip & Guha, Rangan Kumar, 2016. "Minimal variability OWA operator combining ANFIS and fuzzy c-means for forecasting BSE index," Mathematics and Computers in Simulation (MATCOM), Elsevier, vol. 122(C), pages 69-80.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Yugo Fujimoto & Kei Nakagawa & Kentaro Imajo & Kentaro Minami, 2022. "Uncertainty Aware Trader-Company Method: Interpretable Stock Price Prediction Capturing Uncertainty," Papers 2210.17030, arXiv.org, revised Nov 2022.
    2. Ghada A. Altarawneh & Ahmad B. Hassanat & Ahmad S. Tarawneh & Ahmad Abadleh & Malek Alrashidi & Mansoor Alghamdi, 2022. "Stock Price Forecasting for Jordan Insurance Companies Amid the COVID-19 Pandemic Utilizing Off-the-Shelf Technical Analysis Methods," Economies, MDPI, vol. 10(2), pages 1-18, February.
    3. Jasleen Kaur & Khushdeep Dharni, 2022. "Application and performance of data mining techniques in stock market: A review," Intelligent Systems in Accounting, Finance and Management, John Wiley & Sons, Ltd., vol. 29(4), pages 219-241, October.
    4. Srivinay & B. C. Manujakshi & Mohan Govindsa Kabadi & Nagaraj Naik, 2022. "A Hybrid Stock Price Prediction Model Based on PRE and Deep Neural Network," Data, MDPI, vol. 7(5), pages 1-11, April.
    5. Senol Emir & Hasan Dincer & Umit Hacioglu & Serhat Yuksel, 2016. "Random Regression Forest Model using Technical Analysis Variables: An application on Turkish Banking Sector in Borsa Istanbul (BIST)," International Journal of Finance & Banking Studies, Center for the Strategic Studies in Business and Finance, vol. 5(3), pages 85-102, April.
    6. Fateme Shahabi Nejad & Mohammad Mehdi Ebadzadeh, 2023. "Stock market forecasting using DRAGAN and feature matching," Papers 2301.05693, arXiv.org.
    7. Iqbal Murtza & Ayesha Saadia & Rabia Basri & Azhar Imran & Abdullah Almuhaimeed & Abdulkareem Alzahrani, 2022. "Forex Investment Optimization Using Instantaneous Stochastic Gradient Ascent—Formulation of an Adaptive Machine Learning Approach," Sustainability, MDPI, vol. 14(22), pages 1-13, November.
    8. Hongyang Yang & Boyu Zhang & Neng Wang & Cheng Guo & Xiaoli Zhang & Likun Lin & Junlin Wang & Tianyu Zhou & Mao Guan & Runjia Zhang & Christina Dan Wang, 2024. "FinRobot: An Open-Source AI Agent Platform for Financial Applications using Large Language Models," Papers 2405.14767, arXiv.org, revised May 2024.
    9. Bradley Blaylock & Bradley P. Lawson & Michael A. Mayberry, 2020. "Taxable income, future profitability, and stock returns," Journal of Business Finance & Accounting, Wiley Blackwell, vol. 47(7-8), pages 858-881, July.
    10. Reitz, Stefan & Rülke, Jan & Stadtmann, Georg, 2012. "Nonlinear Expectations in Speculative Markets," VfS Annual Conference 2012 (Goettingen): New Approaches and Challenges for the Labor Market of the 21st Century 62045, Verein für Socialpolitik / German Economic Association.
    11. Reitz, Stefan & Rülke, Jan-Christoph & Stadtmann, Georg, 2012. "Nonlinear expectations in speculative markets – Evidence from the ECB survey of professional forecasters," Journal of Economic Dynamics and Control, Elsevier, vol. 36(9), pages 1349-1363.
    12. Westerhoff, Frank H. & Dieci, Roberto, 2006. "The effectiveness of Keynes-Tobin transaction taxes when heterogeneous agents can trade in different markets: A behavioral finance approach," Journal of Economic Dynamics and Control, Elsevier, vol. 30(2), pages 293-322, February.
    13. Roscoe, Philip & Howorth, Carole, 2009. "Identification through technical analysis: A study of charting and UK non-professional investors," Accounting, Organizations and Society, Elsevier, vol. 34(2), pages 206-221, February.
    14. Brandon Luo & Jim Skufca, 2026. "Enhancing Portfolio Optimization with Deep Learning Insights," Papers 2601.07942, arXiv.org.
    15. Dammak, Wael & Frikha, Wajdi & Souissi, Mohamed Naceur, 2024. "Market turbulence and investor decision-making in currency option market," The Journal of Economic Asymmetries, Elsevier, vol. 30(C).
    16. Westerhoff Frank H., 2008. "The Use of Agent-Based Financial Market Models to Test the Effectiveness of Regulatory Policies," Journal of Economics and Statistics (Jahrbuecher fuer Nationaloekonomie und Statistik), De Gruyter, vol. 228(2-3), pages 195-227, April.
    17. Barbara Summers & Evan Griffiths & Robert Hudson, 2004. "Back to the future: an empirical investigation into the validity of stock index models over time," Applied Financial Economics, Taylor & Francis Journals, vol. 14(3), pages 209-214.
    18. Xue-Zhong He, 2003. "Asset Pricing, Volatility and Market Behaviour: A Market Fraction Approach," Research Paper Series 95, Quantitative Finance Research Centre, University of Technology, Sydney.
    19. Jessie Sun, 2019. "A Stock Selection Method Based on Earning Yield Forecast Using Sequence Prediction Models," Papers 1905.04842, arXiv.org.
    20. Chi-Wei Su, 2012. "The relationship between exchange rate and macroeconomic variables in China," Zbornik radova Ekonomskog fakulteta u Rijeci/Proceedings of Rijeka Faculty of Economics, University of Rijeka, Faculty of Economics and Business, vol. 30(1), pages 33-56.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:kap:compec:v:68:y:2026:i:2:d:10.1007_s10614-025-11101-0. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.