IDEAS home Printed from https://ideas.repec.org/a/hin/jnlmpe/9280590.html
   My bibliography  Save this article

Predicting Stock Price Trend Using MACD Optimized by Historical Volatility

Author

Listed:
  • Jian Wang
  • Junseok Kim

Abstract

With the rapid development of the financial market, many professional traders use technical indicators to analyze the stock market. As one of these technical indicators, moving average convergence divergence (MACD) is widely applied by many investors. MACD is a momentum indicator derived from the exponential moving average (EMA) or exponentially weighted moving average (EWMA), which reacts more significantly to recent price changes than the simple moving average (SMA). Traders find the analysis of 12- and 26-day EMA very useful and insightful for determining buy-and-sell points. The purpose of this study is to develop an effective method for predicting the stock price trend. Typically, the traditional EMA is calculated using a fixed weight; however, in this study, we use a changing weight based on the historical volatility. We denote the historical volatility index as HVIX and the new MACD as MACD-HVIX. We test the stability of MACD-HVIX and compare it with that of MACD. Furthermore, the validity of the MACD-HVIX index is tested by using the trend recognition accuracy. We compare the accuracy between a MACD histogram and a MACD-HVIX histogram and find that the accuracy of using MACD-HVIX histogram is 55.55% higher than that of the MACD histogram when we use the buy-and-sell strategy. When we use the buy-and-hold strategy for 5 and 10 days, the prediction accuracy of MACD-HVIX is 33.33% and 12% higher than that of the traditional MACD strategy, respectively. We found that the new indicator is more stable. Therefore, the improved stock price forecasting model can predict the trend of stock prices and help investors augment their return in the stock market.

Suggested Citation

  • Jian Wang & Junseok Kim, 2018. "Predicting Stock Price Trend Using MACD Optimized by Historical Volatility," Mathematical Problems in Engineering, Hindawi, vol. 2018, pages 1-12, December.
  • Handle: RePEc:hin:jnlmpe:9280590
    DOI: 10.1155/2018/9280590
    as

    Download full text from publisher

    File URL: http://downloads.hindawi.com/journals/MPE/2018/9280590.pdf
    Download Restriction: no

    File URL: http://downloads.hindawi.com/journals/MPE/2018/9280590.xml
    Download Restriction: no

    File URL: https://libkey.io/10.1155/2018/9280590?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
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Sukono & Dedi Rosadi & Di Asih I Maruddani & Riza Andrian Ibrahim & Muhamad Deni Johansyah, 2024. "Mechanisms of Stock Selection and Its Capital Weighing in the Portfolio Design Based on the MACD-K-Means-Mean-VaR Model," Mathematics, MDPI, vol. 12(2), pages 1-22, January.
    2. Chen & Jo-Hui & Hussain & Sabbor & Chen & Fu-Ying, 2023. "The Relationship between VIX and Technical Indicator: The Analysis of Shared-Frailty Model," Journal of Applied Finance & Banking, SCIENPRESS Ltd, vol. 13(3), pages 1-5.
    3. Thi Thu Giang Nguyen & Robert ƚlepaczuk, 2022. "The efficiency of various types of input layers of LSTM model in investment strategies on S&P500 index," Working Papers 2022-29, Faculty of Economic Sciences, University of Warsaw.
    4. Traianos-Ioannis Theodorou & Alexandros Zamichos & Michalis Skoumperdis & Anna Kougioumtzidou & Kalliopi Tsolaki & Dimitris Papadopoulos & Thanasis Patsios & George Papanikolaou & Athanasios Konstanti, 2021. "An AI-Enabled Stock Prediction Platform Combining News and Social Sensing with Financial Statements," Future Internet, MDPI, vol. 13(6), pages 1-22, May.
    5. Yuan Li & Bingqiao Luo & Qian Wang & Nuo Chen & Xu Liu & Bingsheng He, 2024. "A Reflective LLM-based Agent to Guide Zero-shot Cryptocurrency Trading," Papers 2407.09546, arXiv.org.

    More about this item

    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:hin:jnlmpe:9280590. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Mohamed Abdelhakeem (email available below). General contact details of provider: https://www.hindawi.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.