Sep 2026· Merkurius : Jurnal Riset Sistem Informasi dan Teknik Informatika· 0 citations
TL;DR
The integration of XGBoost, technical indicators, and risk management proved effective in creating an accurate and profitable algorithmic trading system, outperforming Random Forest in mitigating extreme errors.
Abstract
This study addresses the high volatility and non-linearity of XAU/USD price movements, which hinder accurate prediction in financial markets. An experimental quantitative approach was employed, comparing the XGBoost algorithm as the primary model against Random Forest. Daily historical XAU/USD data from 2021 to 2025 (2,556 data points) were collected from Investing.com, processed using forward fill and Interquartile Range-based outlier handling, and augmented with technical indicators (RSI, MACD, and 20- and 50-period SMAs). Data were partitioned using a time-based split (80:20) without randomization to prevent data leakage, with hyperparameter optimization performed via Grid Search and TimeSeriesSplit cross-validation. A one-step-ahead regression forecasting model was developed and integrated with a dynamic risk management strategy (signal threshold: 0.25%; Stop Loss: 0.40%; Take Profit: 0.80%; minimum Risk-to-Reward ratio: 1.8:1); the model was then exported to ONNX format for implementation as an MQL5-based Expert Advisor in MetaTrader 5. Results show XGBoost achieving an MAE of $34.2141, RMSE of $47.3175, and MAPE of 0.9651%; while competitive with Random Forest, it outperformed the latter in mitigating extreme errors. Trading simulations yielded a profit of +$1,549.99—four times the baseline achieved without risk management. A real-world backtest in MetaTrader 5 recorded a Net Profit of +$41,144.11, a Profit Factor of 1.28, and a Win Rate of 39.53%. The integration of XGBoost, technical indicators, and risk management proved effective in creating an accurate and profitable algorithmic trading system.
The management and intervention of stunting cases in toddlers still face major challenges due to the high class imbalance in risk assessment data, where the population of normal toddlers significantly dominates the at-risk class. This condition often causes machine learning classification models to suffer from predicti...
Uncertainty regarding daily sales volume poses a challenge for inventory management in the culinary business, as it can lead to a mismatch between stock levels and demand. This study aims to apply the Seasonal Autoregressive Integrated Moving Average (SARIMA) method to forecast daily kebab sales using historical data f...
Intan Maulida Hanum, Rudi Hariyanto, Muhammad Udin· METHODIKA: Jurnal Teknik Inf...· 0 citations
A BYD stock price prediction model using LSTM algorithm with parameter optimization to achieve high accuracy and analyzes the effect of epoch variations on prediction performance to demonstrate the effectiveness of LSTM on high-volatility stocks.
Devi Marta, Legawa, Muhammad Rafif Rizqullah et al.· 0 citations
Rainfall is one of the factors associated with flooding in Semarang City, so information about future rainfall conditions is needed to support preparedness and mitigation. This study implements Extreme Gradient Boosting (XGBoost) to predict daily rainfall using historical rainfall observations obtained from the Meteoro...
This research focuses on developing a machine learning-based artificial intelligence architecture to serve as an automated detection instrument for potential tax avoidance among Indonesian publicly traded companies. The exploitation of tax regulation loopholes remains a critical challenge that massively degrades nation...
The cryptocurrency market, specifically Solana (SOL), exhibits extreme volatility that is difficult for conventional algorithms to predict accurately. Additionally, advanced Deep Learning models often act as black-boxes. This study implements the Temporal Fusion Transformer (TFT) architecture for robust and interpretab...