Designing an Automated Trading System Based on Oscar's Grind Money Management with Bollinger Bands and ADX for Trading XAU/USD on the MetaTrader 5 Platform
Main Article Content
Abstract
This study designed and evaluated an automated trading system, or Expert Advisor (EA), for the XAU/USD instrument that integrates a trend-following strategy with a disciplined risk management approach. The system utilizes Bollinger Bands and the Average Directional Index for trading signals, and applies Oscar's Grind Money Management for position management. The EA's performance was tested on the MetaTrader 5 platform in two timeframe scenarios, H1 and H4, through backtesting over three years and real-time testing over one month. The findings consistently show that the strategy on the H4 timeframe significantly outperforms the H1 timeframe in both historical simulations and real-world testing, demonstrating higher stability, greater efficiency, and more controlled risk. Statistical tests also confirmed a significant difference in the final balance accumulation between the simulated and real-world environments. It was concluded that the use of the H4 timeframe proved highly effective for this strategy in filtering market noise and improving trading signal quality.
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
Baradja, A., Tjendrowasono, T. I., & Sudalyo, R. A. T. (2021). Evaluasi dan perbandingan indikator teknikal dalam prediksi pergerakan mata uang forex. Jurnal Pustaka Data, 1(1), 53–56.
Blystone, D. (2024). Berapa persentase trader valas yang kehilangan uang? Traders Log. https://www.traderslog.com/what-percentage-of-traders-lose-money
Fahros, T. F., Rahman, H., & Sirait, D. E. P. (2025). Development of an automated trading strategy based on VWAP and RVI indicators for USD/JPY using MetaTrader 5 on Deriv broker. Economic: Journal Economic and Business, 4(3), 543–549. https://doi.org/10.56495/ejeb.v4i3.1179
Fridayanthie, E. W., Haryanto, H., & Tsabitah, T. (2021). Penerapan metode prototype pada perancangan sistem informasi penggajian karyawan (Persis Gawan) berbasis web. Jurnal Khatulistiwa Informatika, 23(2), 472897.
Ginting, L. D. P., Rahman, H., & Siregar, Z. (2025). Development of RSI-MA based Expert Advisor with money management optimization for GBP/USD trading on Weltrade swap-free account in MetaTrader 5. Economic: Journal Economic and Business, 4(3), 355–364. https://doi.org/10.56495/ejeb.v4i3.1156
Imano, L. T., & Budiyanto, N. E. (2019). Sistem trading forex otomatis menggunakan indikator RSI dan MA dengan metode martingale di MetaTrader 4. Informatika dan RPL, 1(1), 10–14.
Naibaho, M. L. T., & Rahman, H. (2024). Pengembangan Expert Advisor berbasis indikator Moving Average, Relative Strength Index, dan Bollinger Bands dalam trading forex EUR/USD di MetaTrader 5. Jurnal Spektrum Ekonomi, 7(4), 5–18.
Nasution, M. A. (2024). Perancangan dan pengujian kinerja Expert Advisor berbasis indikator RSI, MA, dan optimasi lot pada 10 pair forex populer dengan akun swap-free. Jurnal Sains, Teknologi & Komputer, 1(2), 62–68. https://doi.org/10.56495/saintek.v1i2.760
Nasution, M. A. (2025). Pengujian backtesting Expert Advisor berbasis Donchian Channel pada 10 pasangan forex dengan volume perdagangan tertinggi. Journal of Computers and Digital Business, 4(1), 10–15. https://doi.org/10.56427/jcbd.v4i1.609
Nasution, M. A., & Rahman, H. (2025). Implementation of breakout strategy and adaptive risk management in an Expert Advisor with optimized Bollinger Bands and RSI parameters on MetaTrader 5. Economic: Journal Economic and Business, 4(3), 400–406. https://doi.org/10.56495/ejeb.v4i3.1177
Panjaitan, G. G., & Wikartika, I. (2023). Penerapan money management dan risk management pada trading forex. Akubis: Akuntansi dan Bisnis, 7(1), 12137–12141.
Park, J., Choi, S., Kim, D., Boots, D., & Lee, C. K. (2021). Role of technology in sustainable gambling: Policy effects of electronic card system and limit setting. Mathematical Problems in Engineering, 2021(1), 1779535.
Saputra, Y. E. A. (2023). Analisis pertukaran mata uang asing menggunakan Fourier Transform dan Ant Colony Optimization (ACO) 1990–2022. Jurnal Vokasi Indonesia, 11(2). https://doi.org/10.7454/jvi.v11i2.1214
Sati, A. T., Aditya, D. T., Azzahra, N. L., & Djutalov, R. (2023). Perancangan sistem informasi keuangan Orens Peninggaran Raya (OPERA) berbasis desktop dengan Java SE & MySQL menggunakan metode research and development (R&D). JORAPI: Journal of Research and Publication Innovation, 1(2), 196–200.
Suratman, S. (2018). Expert Advisor foreign exchange menggunakan simple moving average. Jurnal Bangkit Indonesia, 7(1), 30. https://doi.org/10.52771/bangkitindonesia.v7i1.33