Main Article Content
Abstract
Gold is a precious metal often used for investment, due to its cash-in ease and yearly value increase. This indicates that price forecasting is used to determine the prospect of future gold prices. Strong gold price forecasting is highly desired by investors to make decisions. That is why technical indicators are very important used for forecasting. By using technical indicators the information obtained can be more informative than using pure gold prices. One of the commonly used methods is Backpropagation (BP). BP has been shown to have good performance in dealing with nonlinear problems. However, due to the random determination of the parameters of neurons in the hidden layer BP requires a number of neurons in the hidden layer to get optimal results. Therefore, this study aims to analyze the optimization of Backpropagation (BP) through the Harmony Search (HS) algorithm by evaluating the use of relevant technical indicators for forecasting gold prices. In the HS-BP model, this method is used to determine input variables and neurons in the hidden layer. HS with the principle of musicians with the aim of finding the best harmony. This technique is used based on the results of the fitness function. In this research, the fitness function used is Mean Square Error (MSE). HS aims to optimize BP in such a way that the forecasting system provides the lowest MSE and improves the forecasting performance of gold prices. Based on this research, the input variables used are Moving Average, Relative Strength Index, and Bollinger Bands. Next, the selected variables and neurons are applied to the BP algorithm. Where the implementation uses gold closing price data for January 2020-2021. The results showed that the proposed method has better results in forecasting accuracy and convergence error. HS-BP provides a better level of gold price forecasting than the regular BP model.
Keywords
Article Details
This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following License
CC BY: This license allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, so long as attribution is given to the creator. The license allows for commercial use.
References
- Abdelkader, S., Mohammeed, M., & Hacen, K. (2020). Fuzzy Auto-Regressive Integrated Moving Average ( FARIMA ) Model for Forecasting the Gold Prices. 5(1), 1–13.
- Abo-Hammour, Z., Abu Arqub, O., Momani, S., & Shawagfeh, N. (2014). Optimization solution of Troesch’s and Bratu’s problems of ordinary type using novel continuous genetic algorithm. Discrete Dynamics in Nature and Society, 2014(1). https://doi.org/10.1155/2014/401696
- Abu Arqub, O., Abo-Hammour, Z., Momani, S., & Shawagfeh, N. (2012). Solving singular two-point boundary value problems using continuous genetic algorithm. Abstract and Applied Analysis, 2012. https://doi.org/10.1155/2012/205391
- Al-Milli, N. (2013). Backpropogation neural network for prediction of heart disease. Journal of Theoretical and Applied Information Technology, 56(1), 131–135.
- Arqub, O. A., & Abo-Hammour, Z. (2014). Numerical solution of systems of second-order boundary value problems using continuous genetic algorithm. Information Sciences, 279, 396–415. https://doi.org/10.1016/j.ins.2014.03.128
- Chandar, S. K., Sumathi, M., & Sivanadam, S. N. (2016). Forecasting gold prices based on extreme learning machine. International Journal of Computers, Communications and Control, 11(3), 372–380. https://doi.org/10.15837/ijccc.2016.3.2009
- Chauhan, G., Patel, V., & Arekar, V. (2018). Applications of Harmony Search Algorithm. 1, 239–229. https://doi.org/10.29007/pvrk
- Chen, S., Fang, G., Huang, X., & Zhang, Y. (2018). Water quality prediction model of a water diversion project based on the improved artificial bee colony-backpropagation neural network. Water (Switzerland), 10(6). https://doi.org/10.3390/w10060806
- Demir, S., Mincev, K., Kok, K., & Paterakis, N. G. (2020). Introducing technical indicators to electricity price forecasting: A feature engineering study for linear, ensemble, and deep machine learning models. Applied Sciences (Switzerland), 10(1). https://doi.org/10.3390/app10010255
- Göçken, M., Boru, A., Dosdogru, A. T., & Özçalici, M. (2018). Integrating metaheuristics and artificial neural network for weather forecasting. International Journal of Global Warming, 14(4), 440–461. https://doi.org/10.1504/IJGW.2018.091508
- Gu, J., Yin, G., Huang, P., Guo, J., & Chen, L. (2017). An improved back propagation neural network prediction model for subsurface drip irrigation system. Computers and Electrical Engineering, 60, 58–65. https://doi.org/10.1016/j.compeleceng.2017.02.016
- Hussein, M. M., Mutlag, A. H., & Shareef, H. (2020). An Improved Artificial Neural Network Design for Face Recognition utilizing Harmony Search Algorithm. IOP Conference Series: Materials Science and Engineering, 745(1). https://doi.org/10.1088/1757-899X/745/1/012038
- Jiang, P., Li, R., & Zhang, K. (2018). Two combined forecasting models based on singular spectrum analysis and intelligent optimized algorithm for short-term wind speed. Neural Computing and Applications, 30(1). https://doi.org/10.1007/s00521-016-2679-8
- Kim, J. H. (2021). Harmony Search Algorithms for Optimizing Extreme Learning Machines. In Advances in Intelligent Systems and Computing (Vol. 1275).
- Lauguico, S., Ii, R. C., Alejandrino, J., MacAsaet, D., Tobias, R. R., Bandala, A., & Dadios, E. (2019). A Fuzzy Logic-Based Stock Market Trading Algorithm Using Bollinger Bands. 2019 IEEE 11th International Conference on Humanoid, Nanotechnology, Information Technology, Communication and Control, Environment, and Management, HNICEM 2019. https://doi.org/10.1109/HNICEM48295.2019.9072734
- Li, X., Wu, P., & Wang, W. (2020). Incorporating stock prices and news sentiments for stock market prediction: A case of Hong Kong. Information Processing and Management, 57(5), 102212. https://doi.org/10.1016/j.ipm.2020.102212
- Lien Minh, D., Sadeghi-Niaraki, A., Huy, H. D., Min, K., & Moon, H. (2018). Deep learning approach for short-term stock trends prediction based on two-stream gated recurrent unit network. IEEE Access, 6, 55392–55404. https://doi.org/10.1109/ACCESS.2018.2868970
- Lin, C. (2015). Build Prediction Models for Gold Prices Based on Back-Propagation Neural Network. Msam, 155–158. https://doi.org/10.2991/msam-15.2015.35
- Nur, A. S., Mohd Radzi, N. H., & Shamsuddin, S. M. (2015). Near Optimal Convergence of Back-Propagation Method using Harmony Search Algorithm. TELKOMNIKA Indonesian Journal of Electrical Engineering, 14(1). https://doi.org/10.11591/telkomnika.v14i1.7233
- Omar, P., & Arqub, A. (2014). Optimization Algorithm for Solving Systems of Singular Boundary Value Problems. Applied Mathematics and Computation, 8(6), 2809–2821.
- Phooi M’ng, J. C. (2018). Dynamically Adjustable Moving Average (AMA’) technical analysis indicator to forecast Asian Tigers’ futures markets. Physica A: Statistical Mechanics and Its Applications, 509, 336–345. https://doi.org/10.1016/j.physa.2018.06.010
- Picasso, A., Merello, S., Ma, Y., Oneto, L., & Cambria, E. (2019). Technical analysis and sentiment embeddings for market trend prediction. Expert Systems with Applications, 135, 60–70. https://doi.org/10.1016/j.eswa.2019.06.014
- Pradhan, N., Rani, G., Dhaka, V. S., & Poonia, R. C. (2020). Diabetes prediction using artificial neural network. Deep Learning Techniques for Biomedical and Health Informatics, 121, 327–339. https://doi.org/10.1016/B978-0-12-819061-6.00014-8
- Radityo, A. (2017). Prediction of Bitcoin in Exchange Rate to America Dollar Using Neural Network Methods. ICACSIS, 433–438. doi:10.1109/ICACSIS.2017.8355070
- Rupert neate. (2020). No Title. The Guardian News. https://www.theguardian.com/business/2020/aug/05/after-covid-19-just-how-high-will-prices-go-in-the-2020-gold-rush
- Sezer, O. B., & Ozbayoglu, A. M. (2018). Algorithmic financial trading with deep convolutional neural networks: Time series to image conversion approach. Applied Soft Computing Journal, 70, 525–538. https://doi.org/10.1016/j.asoc.2018.04.024
- Shabani, M., Abolghasem Mirroshandel, S., & Asheri, H. (2017). Selective Refining Harmony Search: A new optimization algorithm. Expert Systems with Applications, 81, 423–443. https://doi.org/10.1016/j.eswa.2017.03.044
- Shynkevich, Y., McGinnity, T. M., Coleman, S. A., Belatreche, A., & Li, Y. (2017). Forecasting price movements using technical indicators: Investigating the impact of varying input window length. Neurocomputing, 264(June), 71–88. https://doi.org/10.1016/j.neucom.2016.11.095
- Yuan, F. C., Lee, C. H., & Chiu, C. (2020). Using market sentiment analysis and genetic algorithm-based least squares support vector regression to predict gold prices. International Journal of Computational Intelligence Systems, 13(1), 234–246. https://doi.org/10.2991/ijcis.d.200214.002
- Zhang, T., & Geem, Z. W. (2019). Review of harmony search with respect to algorithm structure. Swarm and Evolutionary Computation, 48, 31–43. https://doi.org/10.1016/j.swevo.2019.03.012