CFP last date
20 June 2024
Reseach Article

Applying Machine Learning Approach to Build an Automated Trading System for Gold Chart

by Mehdi Safaei Ghaderi, Adel Akbari, Zahra Najafi
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 184 - Number 27
Year of Publication: 2022
Authors: Mehdi Safaei Ghaderi, Adel Akbari, Zahra Najafi

Mehdi Safaei Ghaderi, Adel Akbari, Zahra Najafi . Applying Machine Learning Approach to Build an Automated Trading System for Gold Chart. International Journal of Computer Applications. 184, 27 ( Sep 2022), 57-61. DOI=10.5120/ijca2022922344

@article{ 10.5120/ijca2022922344,
author = { Mehdi Safaei Ghaderi, Adel Akbari, Zahra Najafi },
title = { Applying Machine Learning Approach to Build an Automated Trading System for Gold Chart },
journal = { International Journal of Computer Applications },
issue_date = { Sep 2022 },
volume = { 184 },
number = { 27 },
month = { Sep },
year = { 2022 },
issn = { 0975-8887 },
pages = { 57-61 },
numpages = {9},
url = { },
doi = { 10.5120/ijca2022922344 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
%0 Journal Article
%1 2024-02-07T01:22:36.738775+05:30
%A Mehdi Safaei Ghaderi
%A Adel Akbari
%A Zahra Najafi
%T Applying Machine Learning Approach to Build an Automated Trading System for Gold Chart
%J International Journal of Computer Applications
%@ 0975-8887
%V 184
%N 27
%P 57-61
%D 2022
%I Foundation of Computer Science (FCS), NY, USA

Nowadays, with the pervasiveness of online and algorithmic trading, there is a need to analyze financial markets’ trading data and turn them into profitable decisions in the shortest time possible. The purpose of this study is to develop an automated algorithmic trading system using AI (Artificial Intelligence) in the global gold market. In recent years, employing AI to build profitable strategies has considerably increased. In this paper, to create a trading system, the genetic algorithm is employed to optimize the two functions of net profit and return on conditional risk and technical analysis. Also, to complete the risk management system, the optimum profit and loss limit for the market is set. The results show that the generated trading system has a more favorable return-to-risk ratio than other competing strategies. A 30-minute timeframe is also suitable for building trading systems on gold.

  1. Skabar, A. and Cloete, I., 2002. Neural networks, financial trading and the efficient markets hypothesis. Australian Computer Science Communications, 24(1), pp.241-249.
  2. Lin, L., Cao, L., Wang, J. and Zhang, C., 2004. The applications of genetic algorithms in stock market data mining optimization. WIT Transactions on Information and Communication Technologies, 33.
  3. de la Fuente, D., Garrido, A., Laviada, J. and Gómez, A., 2006, July. Genetic algorithms to optimize the time to make stock market investment. In Proceedings of the 8th annual conference on Genetic and evolutionary computation (pp. 1857-1858). ACM.
  4. Ng, W.W., Liang, X.L., Li, J., Yeung, D.S. and Chan, P.P., 2014. LG-Trader: Stock trading decision support based on feature selection by weighted localized generalization error model. Neurocomputing, 146, pp.104-112.
  5. Liu, X., An, H., Wang, L. and Jia, X., 2017. An integrated approach to optimize moving average rules in the EUA futures market based on particle swarm optimization and genetic algorithms. Applied Energy, 185, pp.1778-1787.
  6. Fukumoto, R. and Kita, H., 2001, October. Designing trading agents for an artificial market with a multi-objective genetic algorithm. In Proceedings of the Fourth International Conference on Computational Intelligence and Multimedia Applications (p. 226). IEEE Computer Society
  7. Zhu, H., Wang, Y., Wang, K. and Chen, Y., 2011. Particle Swarm Optimization (PSO) for the constrained portfolio optimization problem. Expert Systems with Applications, 38(8), pp.10161-10169.
  8. Chen, Y. and Wang, X., 2015. A hybrid stock trading system using genetic network programming and mean conditional value-at-risk. European Journal of Operational Research, 240(3), pp.861-871.
  9. Lubnau, T. and Todorova, N., 2015. Trading on mean-reversion in energy futures markets. Energy Economics, 51, pp.312-319.
  10. Rangel-González, Javier Alberto, et al.2020,Fuzzy multi-objective particle swarm optimization solving the three-objective portfolio optimization problem.International Journal of Fuzzy Systems 22.8: 2760-2768.
  11. Jiang, Ping, et al. 2021, Decomposition-selection-ensemble forecasting system for energy futures price forecasting based on multi-objective version of chaos game optimization algorithm. Resources Policy 73 102234.
  12. Karasu, Seçkin, et al.2020,A new forecasting model with wrapper-based feature selection approach using multi-objective optimization technique for chaotic crude oil time series. Energy 212: 118750.
  13. Ravi, Vadlamani, Dadabada Pradeepkumar, and Kalyanmoy Deb. 2017, Financial time series prediction using hybrids of chaos theory, multi-layer perceptron and multi-objective evolutionary algorithms. Swarm and Evolutionary Computation 36: 136-149.
  14. T.M. Mitchell, Machine learning (Chapter 9),1997,1st ed., McGraw-Hill Boston.
  15. A.E. Eiben, J.E. Smith, 2003,Introduction to evolutionary computing, Springer.
  16. C. Heitzinger,2002., Simulation and inverse modeling of semiconductor manufacturing processes, eingereicht an der Technischen Universität Wien.
Index Terms

Computer Science
Information Sciences


Algorithmic trading gold technical analysis strategy genetic algorithm