Pembangunan Expert Advisor Untuk Melakukan Otomatisasi Trading Pada Pasar Forex Dengan Menggunakan Metode Triple MA Crossover Dan BAHASA Pemrograman MQL5 Pada Platform MetaTrader5
Keywords:forex, pair, trading, trader, MetaQuotes Language 5, backtesting
AbstractForex (foreign exchange) is the activity of exchanging one currency for another for trading purposes. However, in forex trading, several problems can be faced such as human psychological factors, the trader's lack of experience and the ability to perform technical analysis. From these problems, an expert advisor is needed to help new traders to start their careers in forex. In this final project, the expert advisor was built by implementing the triple MA crossover method for the Metatrader 5 trading platform with the MetaQuotes Language 5 programming language and tested by doing backtesting with price data from January 1, 2019 to December 31, 2020 (2 years). The results obtained during 2 years of backtesting testing shows that expert advisor that was built made 86 transactions of which 75 resulted in profit and 11 transactions resulted in losses which made the expert advisor built to have a win rate of 87.21% and developed the capital of the trading account by 24.8%. In addition, the expert advisor also managed to make transactions that resulted in 24 consecutive profits with a total profit of 289.10 USD and 2 transactions that resulted in consecutive losses with a total loss of 101.28 USD.
Liyanto & Alwiyah, Analisis Teknikal Untuk Mendapatkan Profit Dalam Forex Trading Online. Buletin Studi Ekonomi, 17(2), 221–228, 2012.
Watthana Pongsena, Prakaidoy Ditsayabut, Panida Panichkul, Nittaya Kerdprasop, dan Kittisak Kerdprasop, Developing A Forex Expert Advisor Based on Japanese Candlestick Patterns and Technical Trading Strategies, 2018.
Iis Teguh Imano dan Nugroho Eko Budiyanto, SISTEM TRADING FOREX OTOMATIS MENGGUNAKAN INDIKATOR RSI DAN MA DENGAN METODE MARTINGALE DI METATRADER 4, 2019.
Wojciech Fialkiewicz, Multivariate Forex Calculus Robot, 2020.
John J. Murpy, Technical Analysis of the Financial Markets: A Comprehensive Guide to Trading Methods and Applications, 1999.
Tim Smith, Broker Definition and Example Verified By Gordon Scott, 2020.
MetaTrader, MetaTrader 5 for broker Metatrader5.com, https://www.metatrader5.com/en/bro kers, 2010.
MetaTrader, MetaQuotes Programming Language 5 for trading Metatrader5.com, https://www.metatrader5.com/en/aut omated-trading/mql5, 2010.
MetaTrader (2010). MetaEditor5, Metatrader5.com, https://www.metatrader5.com/en/aut omated-trading/metaeditor, 2010.
Khan, M. E., Different approaches to white box testing technique for finding errors. International Journal of Software Engineering and Its Applications, 5(3), 1–14. https://doi.org/10.5121/ijsea.2011.24 04, 2011.
Jiarui Ni dan Chengqi Zhang, An Efficient Implementation of the Backtesting
Copyright info for authors
1. Authors hold the copyright in any process, procedure, or article described in the work and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
2. Authors retain publishing rights to re-use all or portion of the work in different work but can not granting third-party requests for reprinting and republishing the work.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) as it can lead to productive exchanges, as well as earlier and greater citation of published work.