Klasifikasi Arah Tren Harga Bitcoin Menggunakan Metode Ensemble Learning Random Forest

Bitcoin's extreme price volatility poses significant challenges for investors and traders in making informed investment decisions. Conventional technical analysis approaches are often subjective and unable to capture complex market dynamics accurately. This study aims to develop a Bitcoin price trend direction classification system as a more objective technical analysis tool using the Random Forest ensemble learning method. Historical Bitcoin price data from January 2017 to March 2026 with an H1 (1-hour) timeframe was obtained from MetaTrader 5 and Binance. Raw price data (Open, High, Low, Close, Volume) were processed through preprocessing stages and converted into 106 technical indicator features grouped into nine categories, including Trend Indicators, Momentum Oscillators, Volatility Features, and Rolling Statistics. The Random Forest Classifier model was built and optimized through hyperparameter tuning with time-series cross-validation, then evaluated using standard classification metrics as well as trading metrics under scenarios employing a trailing stop mechanism. The results show that the model achieved an accuracy of 58.65%, precision of 41.38%, recall of 99.50%, and F1-score of 0.5856. Although the low AUC-ROC value (0.5106) indicates the model can hardly distinguish between the two classes individually, the backtest generated significant trading performance with a net profit of 8,491 USD from an initial capital of 10,000 USD, a win rate of 45.08%, and a profit factor of 1.30. Feature importance analysis identified RSI_14_std_168 (3.77%), SMA_200 (3.03%), and ATR_pct_14_mean_168 (2.92%) as the three most influential technical indicators. This study concludes that although standard classification accuracy is limited, the Random Forest model combined with probability threshold optimization and risk management strategies can serve as a beneficial technical analysis tool. The system has been implemented as an interactive web dashboard providing real-time prediction features.

Authors

Institutions

Publication Details

Journal
Jurnal Sains Informatika Terapan
Published
2026-10-15
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Klasifikasi Arah Tren Harga Bitcoin Menggunakan Metode Ensemble Learning Random Forest

Indra Yustiana, Fadhlan Subhan Fadilah, Nugraha
Jurnal Sains Informatika Terapan
Stock Market Forecasting Methods
article

Klasifikasi Arah Tren Harga Bitcoin Menggunakan Metode Ensemble Learning Random Forest

Indra Yustiana, Fadhlan Subhan Fadilah, Nugraha
article en

Abstract

Bitcoin's extreme price volatility poses significant challenges for investors and traders in making informed investment decisions. Conventional technical analysis approaches are often subjective and unable to capture complex market dynamics accurately. This study aims to develop a Bitcoin price trend direction classification system as a more objective technical analysis tool using the Random Forest ensemble learning method. Historical Bitcoin price data from January 2017 to March 2026 with an H1 (1-hour) timeframe was obtained from MetaTrader 5 and Binance. Raw price data (Open, High, Low, Close, Volume) were processed through preprocessing stages and converted into 106 technical indicator features grouped into nine categories, including Trend Indicators, Momentum Oscillators, Volatility Features, and Rolling Statistics. The Random Forest Classifier model was built and optimized through hyperparameter tuning with time-series cross-validation, then evaluated using standard classification metrics as well as trading metrics under scenarios employing a trailing stop mechanism. The results show that the model achieved an accuracy of 58.65%, precision of 41.38%, recall of 99.50%, and F1-score of 0.5856. Although the low AUC-ROC value (0.5106) indicates the model can hardly distinguish between the two classes individually, the backtest generated significant trading performance with a net profit of 8,491 USD from an initial capital of 10,000 USD, a win rate of 45.08%, and a profit factor of 1.30. Feature importance analysis identified RSI_14_std_168 (3.77%), SMA_200 (3.03%), and ATR_pct_14_mean_168 (2.92%) as the three most influential technical indicators. This study concludes that although standard classification accuracy is limited, the Random Forest model combined with probability threshold optimization and risk management strategies can serve as a beneficial technical analysis tool. The system has been implemented as an interactive web dashboard providing real-time prediction features.

Jurnal Sains Informatika Terapan
Nusa Putra University (ID)
Openalex Percentile: Top 9%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.