Pemilihan Parameter Crossover Moving Average Adaptif pada BTC/USDT Menggunakan Proximal Policy Optimization


  • Anandava Eka Buana Baskara * Mail Universitas Teknologi Yogyakarta, Yogyakarta, Indonesia
  • Joko Aryanto Universitas Teknologi Yogyakarta, Yogyakarta, Indonesia
  • (*) Corresponding Author
Keywords: Moving Average; Proximal Policy Optimization; Trading Strategy; Cryptocurrency; Crossover MA

Abstract

Cryptocurrency markets exhibit high volatility, making it challenging to determine the optimal combination of Moving Averages (MA Short and MA Long) for technical indicator-based trading strategies. This study aims to develop an adaptive crossover Moving Average strategy using the Proximal Policy Optimization (PPO) algorithm to evaluate and recommend the most effective MA combinations. Daily cryptocurrency price data from January 1, 2021, to May 15, 2026, comprising a total of 1960 candles, were obtained through an exchange platform API. The data were processed through preprocessing to form market states that include price, volume, and volatility indicators, which were then used as input for the PPO agent during training and strategy evaluation. Test results indicate that the MA 3/50 combination was most frequently selected by PPO based on average probability, while the MA 25/40 combination produced the best financial performance in terms of profit factor, net profit, and win rate. Visualizations of the equity curve, drawdown, and entry and exit points confirm the strategy’s ability to adaptively adjust decisions, capture market trends, and balance risk and profitability. These findings provide practical guidance for selecting adaptive crossover Moving Average parameters, enabling technical indicator-based trading strategies to navigate the complex and rapidly changing dynamics of cryptocurrency markets.

Downloads

Download data is not yet available.

References

Abbasi, M., Al-Sadat Mousavi, S., Author, C., & Jafari-Nodoushan Assistant, A. (2024). Identification and Evaluation of Profitable Technical Trading Rules in the Cryptocurrency Market: A Mixed Method Approach. Persian Financial Research Journal, 26(3), 525–546. https://doi.org/10.22059/FRJ.2024.358549.1007462

Albana, M. F. A., Safitri, M., Waluyo, D. E., & Chasanah, A. N. (2026). Pengaruh Volume, Volatilitas, dan Market Cap terhadap Return Bitcoin, Ethereum, BNB 2022-2024. Jurnal Manajemen Bisnis Dan Keuangan, 7(1). https://doi.org/10.51805/jmbk.v7i1.500

Bandarupalli, E. (2025). Risk-Aware Deep Reinforcement Learning for Crypto and Equity Trading Under Transaction Costs. https://doi.org/10.2139/ssrn.5662930

Chiu, C. L., Ni, Y., Hu, H. C., Day, M. Y., & Chen, Y. (2023). Enhancing Crypto Success via Heatmap Visualization of Big Data Analytics for Numerous Variable Moving Average Strategies. Applied Sciences (Switzerland), 13(23). https://doi.org/10.3390/app132312805

Edy Prasetyo, R., Chaidir, I., & Supriyatna, A. (2025). Reinforcement learning for bitcoin trading: A comparative study of PPO and DQN. Jurnal Mandiri IT, 14(2), 159–169. https://doi.org/10.35335/mandiri.v14i2.455

Firsov, D. V., Silvestrov, S. N., Kuznetsov, N. V., Zolotarev, E. V., & Pobyvaev, S. A. (2023). Using PPO Models to Predict the Value of the BNB Cryptocurrency. Emerging Science Journal, 7(4), 1206–1214. https://doi.org/10.28991/ESJ-2023-07-04-012

Gort, B. J. D., Liu, X.-Y., Sun, X., Gao, J., Chen, S., & Wang, C. D. (2023). Deep Reinforcement Learning for Cryptocurrency Trading: Practical Approach to Address Backtest Overfitting. ArXiv. https://doi.org/10.48550/arXiv.2209.05559

Khujamatov, E. H., Ismanov, K., Mallaev, O. U., & Sattarov, O. (2026). Optimizing Crypto-Trading Performance: A Comparative Analysis of Innovative Reward Functions in Reinforcement Learning Models. Mathematics, 14(5). https://doi.org/10.3390/math14050794

Kochliaridis, V., Kouloumpris, E., & Vlahavas, I. (2023). Combining deep reinforcement learning with technical analysis and trend monitoring on cryptocurrency markets. Neural Computing and Applications, 35(29), 21445–21462. https://doi.org/10.1007/s00521-023-08516-x

Kuncara, T., & Anugrah, K. P. (2023). Analisis Volatilitas Cryptocurrency Sebelum Pandemi dan Saat Pandemi Covid-19 dengan Metode Return pada Bitcoin dan Ethereum. KEUNIS, 11(1), 86. https://doi.org/10.32497/keunis.v11i1.3981

Li, X. (2025). Forecasting and Anomaly Detection in Bitcoin Historical Data. Applied and Computational Engineering, 139, 1–9. https://doi.org/10.54254/2755-2721/139/2025.21901

Liu, F., Li, Y., Li, B., Li, J., & Xie, H. (2021). Bitcoin Transaction Strategy Construction Based on Deep Reinforcement Learning. Applied Soft Computing, 113(December), doi: https://doi.org/10.1016/j.asoc.2021.107952

Ospina-Holguín, J. H., & Padilla-Ospina, A. M. (2025). Reinforcement learning meets technical analysis: combining moving average rules for optimal alpha. Cogent Economics and Finance, 13(1). https://doi.org/10.1080/23322039.2025.2490818

Purnawa, I. B. D. P., Dharma, E. M., & Sudiatmika, I. B. K. (2022). Trading Cryptocurrency Agent Menggunakan Deep Reinforcement Learning dengan Model yang Berbasis Q-Learning Menggunakan DQN, Double DQN, dan Dueling DQN pada Studi Kasus Bitcoin. Jurnal Teknologi Informasi Dan Komputer, 8(3). https://doi.org/10.36002/jutik.v8i3.2075

Rahmat, M. R. A., & Iswardhani, I. (2025). Volatilitas Cryptocurrency di Indonesia: Investasi Keuangan Pada Bitcoin Sebelum dan Sesudah Peresmian Bursa Kripto. SYNERGY: Jurnal Bisnis Dan Manajemen, 5(1), 65–69. https://doi.org/10.52364/synergy.v5i1.65

Romo, A., Soto, R., Vega, E., Crawford, B., Salinas, A., & Becerra-Rozas, M. (2025). Adaptive Optimization of a Dual Moving Average Strategy for Automated Cryptocurrency Trading. Mathematics, 13(16). https://doi.org/10.3390/math13162629

Tsoku, J. T., & Makatjane, K. (2026). Deep learning-based pairs trading: real-time forecasting of co-integrated cryptocurrency pairs. Frontiers in Applied Mathematics and Statistics, 12. https://doi.org/10.3389/fams.2026.1749337

Xia, Z., Shi, M., & Lin, C. (2023). Stock Trading Strategy Developing Based on Reinforcement Learning. Proceedings of the 2nd International Academic Conference on Blockchain, Information Technology and Smart Finance (ICBIS 2023), 156–164. https://doi.org/10.2991/978-94-6463-198-2_18

Yang, H., Liu, X.-Y., Zhong, S., & Walid, A. (2025). Deep Reinforcement Learning for Automated Stock Trading: An Ensemble Strategy. ACM Transactions on Intelligent Systems and Technology. http://arxiv.org/abs/2511.12120


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Pemilihan Parameter Crossover Moving Average Adaptif pada BTC/USDT Menggunakan Proximal Policy Optimization

Dimensions Badge
Article History
Published: 2026-05-31
Abstract View: 0 times
PDF Download: 0 times
Issue
Section
Articles

Most read articles by the same author(s)