BITCOIN PRICE PREDICTION USING LONG SHORT TERM MEMORY ALGORITHM
DOI:
https://doi.org/10.47709/cnahpc.v7i3.5945Dimension:
Keywords:
Bitcoin, Prediction, Technical Indicator, Long Short Term Memory, CryptocurrencyAbstract
Bitcoin a digital asset with the largest market capitalization in the world and shows high price volatility, attracting the interest of researchers to make accurate price predictions. The research aims to build a Bitcoin price prediction model use Long Short-Term Memory (LSTM) algorithm by utilizing closing price data and technical indicator variables, Moving Average (MA) and Exponential Moving Average (EMA). Dataset obtained from Yahoo Finance with a time range of January 1, 2015 to January 1, 2024 as much as 3287 data. The LSTM model is designed in multivariate form with an input sequence of 30 with several test scenarios at the epoch number 50, 100 and 200. Model evaluation is based on 4 metrics, namely Root Mean Squared Error (RMSE), Mean Squared Error (MSE), Mean Absolute Error (MAE), and Mean Abso-lute Percentage Error (MAPE). Model evaluation results show that the model is capable of providing a good prediction value with an MSE value of 0.0001, RMSE of 0.0117, MAE of 0.0081, and MAPE of 2.21% at epoch 200. The use of technical indicators proved to be helpful in improving the performance of the model compared to using only closing price data.
Downloads
References
Aji Riyantoko, P., Maulana Fahruddin, T., Maulida Hindrayani, K., & Maya Safitri, E. (2020). Analisis Prediksi Harga Saham Sektor Perbankan Menggunakan Algoritma Long-Short Terms Memory (LSTM). Seminar Nasional Informatika, 2020.
Ariwibow, T. (2022). Efektivitas Analisis Teknikal Untuk Profitabilitas Cryptocurrency di Spot Market (Analisis Profitabilitas Criptocurrency di Spot Market Menggunakan Pendekatan Analisis Teknikal). 4.
Azriel Fahrezi, R., Yunita Wijaya, M., Fitriyati, N., Studi Matematika, P., Sains dan Teknologi, F., & Islam Negeri Syarif Hidayatullah Jakarta, U. (2024). Prediksi Harga Penutupan Saham Bank Central Asia: Implementasi Algoritma Long Short-Term Memory Dan Perbandingannya Dengan Support Vector Regression. 5(1). https://doi.org/10.46306/lb.v5i1
Carolina, I., & Haryanto, T. (2024). Modeling Of Hyperparameter Tuned RNN-LSTM and Deep Learning For Garlic Price Forecasting In Indonesia. JOURNAL OF INFORMATICS AND TELECOMMUNICATION ENGINEERING, 7(2), 502–513. https://doi.org/10.31289/jite.v7i2.10714
Chandra, C., & Budi, S. (2020). Analisis Komparatif ARIMA dan Prophet dengan Studi Kasus Dataset Pendaftaran Mahasiswa Baru. Jurnal Teknik Informatika Dan Sistem Informasi, 6(2). https://doi.org/10.28932/jutisi.v6i2.2676
Chicco, D., Warrens, M. J., & Jurman, G. (2021). The coefficient of determination R-squared is more informative than SMAPE, MAE, MAPE, MSE and RMSE in regression analysis evaluation. PeerJ Computer Science, 7, 1–24. https://doi.org/10.7717/PEERJ-CS.623
CoinMarketCap. (2025). CoinMarketCap. https://coinmarketcap.com/
Dharma, B., Gusniati, P., & Wardani, T. (2023). Analisis Pemanfaatan Cryptocurrency Bitcoin Sebagai Alat Alternatif Investasi (Vol. 2, Issue 1).
Dikan Ismafillah, Tatang Rohana, & Yana Cahyana. (2023). Analisis algoritma pohon keputusan untuk memprediksi penyakit diabetes menggunakan oversampling smote. INFOTECH?: Jurnal Informatika & Teknologi, 4(1), 27–36. https://doi.org/10.37373/infotech.v4i1.452
Fadilah, W. R. U., Agfiannisa, D., & Azhar, Y. (2020). Analisis Prediksi Harga Saham PT. Telekomunikasi Indonesia Menggunakan Metode Support Vector Machine. Fountain of Informatics Journal, 5(2), 45. https://doi.org/10.21111/fij.v5i2.4449
Gunarto, D. M., Sa’adah, S., & Utama, D. Q. (2023). Predicting Cryptocurrency Price Using RNN and LSTM Method. Jurnal Sisfokom (Sistem Informasi Dan Komputer), 12(1), 1–8. https://doi.org/10.32736/sisfokom.v12i1.1554
Hanafiah, A., Arta, Y., Nasution, H. O., & Lestari, Y. D. (2023). Penerapan Metode Recurrent Neural Network dengan Pendekatan Long Short-Term Memory (LSTM) Untuk Prediksi Harga Saham. Bulletin of Computer Science Research, 4(1), 27–33. https://doi.org/10.47065/bulletincsr.v4i1.321
Hodson, T. O. (2022). Root-mean-square error (RMSE) or mean absolute error (MAE): when to use them or not. In Geoscientific Model Development (Vol. 15, Issue 14, pp. 5481–5487). Copernicus GmbH. https://doi.org/10.5194/gmd-15-5481-2022
Indriyani, U., Faisal, S., & Rohana, T. (2023). Implementasi metode double exponential smoothing untuk prediksi saham bank btn (bank tabungan negara). Jurnal Pendidikan Informatika Dan Sains, 12(1), 42–55. https://doi.org/10.31571/saintek.v12i1.5337
Jamaludin, & Haryanto, T. (2023). Pemanfaatan Model Long Short Term Memory (LSTM) Untuk Prediksi Harga Emas Sebagai Instrumen Investasi Dalam Mempersiapkan Ancaman Resesi Global 2023. Indonesian Journal of Computer Science Attribution, 12(2), 614.
Karatri, R. H., Faidah, F., & Lailyah, N. (2021). Determinan Minat Generasi Milenial Dalam Investasi Pasar Modal di Masa Pandemi Covid-19. 6(2). https://journal.undiknas.ac.id/index.php/manajemen
Laghrissi, F. E., Douzi, S., Douzi, K., & Hssina, B. (2021). Intrusion detection systems using long short-term memory (LSTM). Journal of Big Data, 8(1). https://doi.org/10.1186/s40537-021-00448-4
Lee, D. K. C., Guo, L., & Wang, Y. (2018). Cryptocurrency: A new investment opportunity? Journal of Alternative Investments, 20(3), 16–40. https://doi.org/10.3905/jai.2018.20.3.016
Maliki, M. A., Cholissodin, I., & Yudistira, N. (2022). Prediksi Pergerakan Harga Cryptocurrency Bitcoin terhadap Mata Uang Rupiah menggunakan Algoritme LSTM (Vol. 6, Issue 7). http://j-ptiik.ub.ac.id
Nakamoto, S. (2009). Bitcoin: A Peer-to-Peer Electronic Cash System. www.bitcoin.org
Nurfalah, R., Baturohmah, H., & Ayuningsih, R. R. (2023). Analisis Tingkat Akurasi Signal Indikator Exponential Moving Average Pada Bitcoin (Periode 2017 – 2023). 5.
Pabutungan, R., Rusman, J., & Michael, A. (2023). Prediksi Harga Emas Menggunakan Metode Fuzzy Time Series. Indonesian Journal of Computer Science Attribution, 12(5), 2023–2915. https://id.investing.com
Ratna Juwita, A., Al Mudzakir, T., Pratama, A. R., Nugraha, B., & Heryana, N. (2024). Penerapan Algoritma Apriori untuk Memprediksi Pembayaran UKT. In Syntax: Jurnal Informatika (Vol. 13, Issue 01).
Rizkilloh, M. F., & Widiyanesti, S. (2022). Prediksi Harga Cryptocurrency Menggunakan Algoritma Long Short Term Memory (LSTM). Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 6(1), 25–31. https://doi.org/10.29207/resti.v6i1.3630
Rohana, T., Nurlaelasari, E., Awal, E. E., & Novita, H. Y. (2024). Kajian Model Jaringan Syaraf Tiruan Untuk Memprediksi Secara Dini Tingkat Kelulusan Mahasiswa. Technologia?: Jurnal Ilmiah, 15(4), 629. https://doi.org/10.31602/tji.v15i4.15583
Rohana, T., & Priyatna, B. (2021). Performance Evaluation of Adaptive Neuro-Fuzzy Inference System (ANFIS) In Predicting New Students (Case Study?: UBP Karawang). 2(2).
Sautomo, S., & Pardede, H. F. (2021). Prediksi Belanja Pemerintah Indonesia Menggunakan Long Short-Term Memory (LSTM). Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 5(1), 99–106. https://doi.org/10.29207/resti.v5i1.2815
Sianturi, T. B., Cholissodin, I., & Yudistira, N. (2023). Penerapan Algoritma Long Short-Term Memory (LSTM) berbasis Multi Fungsi Aktivasi Terbobot dalam Prediksi Harga Ethereum (Vol. 7, Issue 3). http://j-ptiik.ub.ac.id
Sihombing, S., Nasution, M. R., & Sadalia, I. (2021). Analisis Fundamental Cryptocurrency terhadap Fluktuasi Harga Studi Kasus Tahun 2019-2020. 2.
Siregar, S. R., & Widyasari, R. (2023). Peramalan Harga Crude Oil Menggunakan Metode Long Short-Term Memory (LSTM) Dalam Recurrent Neural Network (RNN). 4(3). https://doi.org/10.46306/lb.v4i3
Sujjada, A., Sembiring, F., & Febriansyah. (2024). Prediksi Harga Bitcoin Menggunakan Algoritma Long ShortTerm Memory. 9(1), 2024.
Wibowo, A., & Sasongko, R. (2022). Penerapan Data Mining Pada Suku Bunga Investasi Deposito Di Indonesia Menggunakan Metode K-Means Clustering Untuk Pengelompokan Profitabilitas (Application Of Data Mining On Deposit Investment Rate In Indonesia Using K-Means Clustering Method For Profitability Clustering). ASCARYA, 2(1). https://doi.org/10.53754/iscs.v2i1.369
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Rifqi Arul Fauzi, Tatang Rohana, Euis Nurlaelasari, Deden Wahiddin

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

