OPTIMIZATION OF N VALUE ON SINGLE MOVING AVERAGE (SMA) WITH PARTICLE SWARM OPTIMIZATION (PSO) CASE STUDY OF BRI STOCK

  • Rahman Hadi Rahman FMIPA ULM
  • Irwan Budiman
  • Friska Abadi
  • Andi Farmandi
  • Muliadi, S.Kom, M.Cs
Keywords: Stocks, BRI Stocks, Prediction, Single Moving Average, Particle Swarm Optimization

Abstract

The stock market is a promising business area. The potential to obtain high returns in a fairly short time is one of the main attractions of this business. Prediction of stock prices has become a very interesting and challenging thing for researchers and academics, recently it was found that stock prices can be predicted with a certain degree of accuracy. Single Moving Average (SMA) is one method for predicting time series data. However, the N value in SMA needs to be optimized in order to get the N value with optimal results at the SMA and get accurate results. The Particle Swarm Optimization Algorithm is implemented to find out the best N value in the Single Moving Average methodwhich is more optimal. SMA+PSO and SMA are calculated using the initial N values ​​of 3,5,7,9,11. So the results of this study are SMA with an accuracy of 97.98464% and for SMA+PSO with an accuracy of 98.15442% . The test results from this study are the influence of PSO on SMA in increasing accuracy in determining the best N value.

Published
2022-01-20
How to Cite
Rahman, R. H., Irwan Budiman, Friska Abadi, Andi Farmandi, & Muliadi. (2022). OPTIMIZATION OF N VALUE ON SINGLE MOVING AVERAGE (SMA) WITH PARTICLE SWARM OPTIMIZATION (PSO) CASE STUDY OF BRI STOCK. Journal of Data Science and Software Engineering, 2(03), 156-170. Retrieved from https://jurnalmahasiswamipa.ulm.ac.id/index.php/integer/article/view/58
Section
Articles