Enhancement of Bitcoin Trading Performance Through Machine Learning and RSI Divergence in Technical Analysis

Authors

  • Nguyen Thang Son

Abstract

After reviewing recent research on trading, this dissertation focuses on how combining machine learning models and technical analysis can automate the trading process and improve trading results. In the beginning, this research established a complete trading system with clear entry, trade, and exit criteria, using RSI divergence from technical analysis and other trading metrics, as a professional trader would for risk management. Data from the Binance API was processed to detect RSI divergence signals. After that, they were used to train the Random Forest and Extreme Gradient Boosting (XGB) models to predict the probability of a successful signal. A trade was opened only when the model probability surpassed a predefined threshold or when the deferred-confirmation rule was triggered after a weak divergence signal. After backtesting one year of 15-minute data between March 2025 and March 2026, the system using the XGB model achieved a total profit of 2,548.93 USD from the initial balance of 10,000 USD after 117 trades, where the win rate is 60.68%, and the average win and average loss were close to a 1:1 ratio. The result was better than a buy-and-hold strategy over the same period, which suffered a loss of around 12%. The result suggests that technical analysis is still a viable option, but it requires a trading system with clear risk-management boundaries. Finally, with the help of machine learning models, trading execution can be automated without emotional interference.
Keywords: Bitcoin trading, technical analysis, RSI divergence, trading system, machine learning, algorithmic trading

Downloads

Published

2026-11-05

How to Cite

Thang Son, N. (2026). Enhancement of Bitcoin Trading Performance Through Machine Learning and RSI Divergence in Technical Analysis. Digital Repository of Theses. Retrieved from https://repository.learn-portal.org/index.php/rps/article/view/1389