{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,3,18]],"date-time":"2026-03-18T03:20:39Z","timestamp":1773804039804,"version":"3.50.1"},"reference-count":47,"publisher":"MDPI AG","issue":"16","license":[{"start":{"date-parts":[[2025,8,16]],"date-time":"2025-08-16T00:00:00Z","timestamp":1755302400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Mathematics"],"abstract":"<jats:p>In recent years, computational intelligence techniques have significantly contributed to the automation and optimization of trading strategies. Despite the increasing sophistication of predictive models, classical technical indicators such as dual Simple Moving Averages (2-SMA) remain popular due to their simplicity and interpretability. This work proposes an adaptive trading system that combines the 2-SMA strategy with a learning-based metaheuristic optimizer known as the Learning-Based Linear Balancer (LB2). The objective is to dynamically adjust the strategy\u2019s parameters to maximize returns in the highly volatile cryptocurrency market. The proposed system is evaluated through simulations using historical data of the BTCUSDT futures contract from the Binance platform, incorporating real-world trading constraints such as transaction fees. The optimization process is validated over 34 training\/test splits using overlapping 60-day windows. Results show that the LB2-optimized strategy achieves an average return on investment (ROI) of 7.9% in unseen test periods, with a maximum ROI of 17.2% in the best case. Statistical analysis using the Wilcoxon Signed-Rank Test confirms that our approach significantly outperforms classical benchmarks, including Buy and Hold, Random Walk, and non-optimized 2-SMA. This study demonstrates that hybrid strategies combining classical indicators with adaptive optimization can achieve robust and consistent returns, making them a viable alternative to more complex predictive models in crypto-based financial environments.<\/jats:p>","DOI":"10.3390\/math13162629","type":"journal-article","created":{"date-parts":[[2025,8,18]],"date-time":"2025-08-18T11:31:37Z","timestamp":1755516697000},"page":"2629","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Adaptive Optimization of a Dual Moving Average Strategy for Automated Cryptocurrency Trading"],"prefix":"10.3390","volume":"13","author":[{"given":"Andres","family":"Romo","sequence":"first","affiliation":[{"name":"Escuela de Ingenier\u00eda Inform\u00e1tica, Pontificia Universidad Cat\u00f3lica de Valpara\u00edso, Valpara\u00edso 2362807, Chile"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-5755-6929","authenticated-orcid":false,"given":"Ricardo","family":"Soto","sequence":"additional","affiliation":[{"name":"Escuela de Ingenier\u00eda Inform\u00e1tica, Pontificia Universidad Cat\u00f3lica de Valpara\u00edso, Valpara\u00edso 2362807, Chile"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0079-3974","authenticated-orcid":false,"given":"Emanuel","family":"Vega","sequence":"additional","affiliation":[{"name":"Escuela de Ingenier\u00eda Inform\u00e1tica, Pontificia Universidad Cat\u00f3lica de Valpara\u00edso, Valpara\u00edso 2362807, Chile"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5500-0188","authenticated-orcid":false,"given":"Broderick","family":"Crawford","sequence":"additional","affiliation":[{"name":"Escuela de Ingenier\u00eda Inform\u00e1tica, Pontificia Universidad Cat\u00f3lica de Valpara\u00edso, Valpara\u00edso 2362807, Chile"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-2205-4938","authenticated-orcid":false,"given":"Antonia","family":"Salinas","sequence":"additional","affiliation":[{"name":"Escuela de Ingenier\u00eda Inform\u00e1tica, Pontificia Universidad Cat\u00f3lica de Valpara\u00edso, Valpara\u00edso 2362807, Chile"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0426-0144","authenticated-orcid":false,"given":"Marcelo","family":"Becerra-Rozas","sequence":"additional","affiliation":[{"name":"Escuela de Ingenier\u00eda Inform\u00e1tica, Pontificia Universidad Cat\u00f3lica de Valpara\u00edso, Valpara\u00edso 2362807, Chile"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2025,8,16]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"101396","DOI":"10.1016\/j.frl.2019.101396","article-title":"Technical trading rules in the cryptocurrency market","volume":"32","author":"Grobys","year":"2020","journal-title":"Financ. Res. Lett."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"343","DOI":"10.1016\/j.irfa.2016.02.008","article-title":"Negative bubbles and shocks in cryptocurrency markets","volume":"47","author":"Fry","year":"2016","journal-title":"Int. Rev. Financ. Anal."},{"key":"ref_3","unstructured":"Nakamoto, S. (2025, February 04). Bitcoin: A Peer-to-Peer Electronic Cash System. Decentralized Business Review. Available online: https:\/\/ssrn.com\/abstract=3440802."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Resta, M., Pagnottoni, P., and De Giuli, M.E. (2020). Technical analysis on the bitcoin market: Trading opportunities or investors\u2019 pitfall?. Risks, 8.","DOI":"10.3390\/risks8020044"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"6","DOI":"10.1016\/j.econlet.2016.10.033","article-title":"On the inefficiency of Bitcoin","volume":"150","author":"Nadarajah","year":"2017","journal-title":"Econ. Lett."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"106","DOI":"10.1016\/j.econlet.2017.12.006","article-title":"Informational efficiency of Bitcoin\u2014An extension","volume":"163","author":"Tiwari","year":"2018","journal-title":"Econ. Lett."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"182","DOI":"10.1016\/j.irfa.2018.09.003","article-title":"Cryptocurrencies as a financial asset: A systematic analysis","volume":"62","author":"Corbet","year":"2019","journal-title":"Int. Rev. Financ. Anal."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.ijforecast.2021.08.001","article-title":"Forecasting Bitcoin with technical analysis: A not-so-random forest?","volume":"39","author":"Gradojevic","year":"2023","journal-title":"Int. J. Forecast."},{"key":"ref_9","doi-asserted-by":"crossref","unstructured":"Vega, E., Soto, R., Crawford, B., Pe\u00f1a, J., and Castro, C. (2021). A learning-based hybrid framework for dynamic balancing of exploration-exploitation: Combining regression analysis and metaheuristics. Mathematics, 9.","DOI":"10.3390\/math9161976"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"393","DOI":"10.1016\/j.ejor.2021.04.032","article-title":"Machine learning at the service of meta-heuristics for solving combinatorial optimization problems: A state-of-the-art","volume":"296","author":"Mohammadi","year":"2022","journal-title":"Eur. J. Oper. Res."},{"key":"ref_11","first-page":"1","article-title":"Machine learning into metaheuristics: A survey and taxonomy","volume":"54","author":"Talbi","year":"2021","journal-title":"ACM Comput. Surv. (CSUR)"},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"187","DOI":"10.1016\/j.eswa.2017.04.030","article-title":"Deep learning networks for stock market analysis and prediction: Methodology, data representations, and case studies","volume":"83","author":"Chong","year":"2017","journal-title":"Expert Syst. Appl."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"192","DOI":"10.1016\/j.frl.2016.09.025","article-title":"On the hedge and safe haven properties of Bitcoin: Is it really more than a diversifier?","volume":"20","author":"Bouri","year":"2017","journal-title":"Financ. Res. Lett."},{"key":"ref_14","unstructured":"Achelis, S.B. (2001). Technical Analysis from A to Z, McGraw-Hill."},{"key":"ref_15","first-page":"231","article-title":"Mining stock data to predict the best time to buy and sell using integrated GA and ANN","volume":"9","author":"Lin","year":"2009","journal-title":"Appl. Soft Comput."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1007\/s10479-020-03575-y","article-title":"Prediction of cryptocurrency returns using machine learning","volume":"297","author":"Akyildirim","year":"2021","journal-title":"Ann. Oper. Res."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1186\/s40854-020-00217-x","article-title":"Forecasting and trading cryptocurrencies with machine learning under changing market conditions","volume":"7","author":"Godinho","year":"2021","journal-title":"Financ. Innov."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"3","DOI":"10.1016\/j.econlet.2017.06.023","article-title":"Volatility estimation for Bitcoin: A comparison of GARCH models","volume":"158","author":"Katsiampa","year":"2017","journal-title":"Econ. Lett."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"119970","DOI":"10.1016\/j.eswa.2023.119970","article-title":"An improved learning automata based multi-objective whale optimization approach for multi-objective portfolio optimization in financial markets","volume":"224","author":"Morteza","year":"2023","journal-title":"Expert Syst. Appl."},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"58","DOI":"10.1016\/j.neucom.2020.12.022","article-title":"Multiple populations co-evolutionary particle swarm optimization for multi-objective cardinality constrained portfolio optimization problem","volume":"430","author":"Zhao","year":"2021","journal-title":"Neurocomputing"},{"key":"ref_21","doi-asserted-by":"crossref","first-page":"853","DOI":"10.1007\/978-981-19-6631-6_59","article-title":"Cardinality Constrained Portfolio Selection Strategy Based on Hybrid Metaheuristic Optimization Algorithm","volume":"Volume 1","author":"Ahmad","year":"2023","journal-title":"Proceedings of the International Conference on Data Science and Applications: ICDSA 2022"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"103247","DOI":"10.1016\/j.ipm.2022.103247","article-title":"Online portfolio management via deep reinforcement learning with high-frequency data","volume":"60","author":"Li","year":"2023","journal-title":"Inf. Process. Manag."},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"13","DOI":"10.1007\/s13278-022-01004-5","article-title":"Optimized long short-term memory-based stock price prediction with sentiment score","volume":"13","author":"Ayyappa","year":"2022","journal-title":"Soc. Netw. Anal. Min."},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"103809","DOI":"10.1016\/j.frl.2023.103809","article-title":"Deep learning and technical analysis in cryptocurrency market","volume":"54","author":"Goutte","year":"2023","journal-title":"Financ. Res. Lett."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"119879","DOI":"10.1016\/j.eswa.2023.119879","article-title":"Real-time forecasting of time series in financial markets using sequentially trained dual-LSTMs","volume":"223","author":"Gajamannage","year":"2023","journal-title":"Expert Syst. Appl."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Seabe, P.L., Moutsinga, C.R.B., and Pindza, E. (2023). Forecasting cryptocurrency prices using LSTM, GRU, and bi-directional LSTM: A deep learning approach. Fractal Fract., 7.","DOI":"10.3390\/fractalfract7020203"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Mohamed, I., and Otero, F.E. (2019, January 17\u201319). Using population-based metaheuristics and trend representative testing to compose strategies for market timing. Proceedings of the 11th International Joint Conference on Computational Intelligence, Vienna, Austria.","DOI":"10.5220\/0008066100590069"},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Pizzi, C., Bitto, I., and Corazza, M. (2021). Exploration and Exploitation in Optimizing a Basic Financial Trading System: A Comparison Between FA and PSO Algorithms. Progresses in Artificial Intelligence and Neural Systems, Springer.","DOI":"10.1007\/978-981-15-5093-5_27"},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Papatsimpas, M.G., Lykogiorgos, I., and Parsopoulos, K.E. (2020, January 2\u20134). Forex trading model based on forecast aggregation and metaheuristic optimization. Proceedings of the 11th Hellenic Conference on Artificial Intelligence, Athens, Greece.","DOI":"10.1145\/3411408.3411415"},{"key":"ref_30","first-page":"8721246","article-title":"Automatic high-frequency trading: An application to emerging chilean stock market","volume":"2018","author":"Crawford","year":"2018","journal-title":"Sci. Program."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"1251","DOI":"10.1007\/s10614-021-10129-2","article-title":"High frequency and dynamic pairs trading with ant colony optimization","volume":"59","author":"Cerda","year":"2022","journal-title":"Comput. Econ."},{"key":"ref_32","doi-asserted-by":"crossref","unstructured":"Cuevas, E., Fausto, F., and Gonz\u00e1lez, A. (2020). New Advancements in Swarm Algorithms: Operators and Applications, Springer International Publishing.","DOI":"10.1007\/978-3-030-16339-6"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Boyd, S., and Vandenberghe, L. (2004). Convex Optimization, CambridgeUniversity Press.","DOI":"10.1017\/CBO9780511804441"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Soto, R., Crawford, B., Vega, E., and Paredes, F. (2015). Solving manufacturing cell design problems using an artificial fish swarm algorithm. Mexican International Conference on Artificial Intelligence, Springer.","DOI":"10.1007\/978-3-319-27060-9_23"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"357","DOI":"10.1007\/s10489-017-0972-6","article-title":"A k-means binarization framework applied to multidimensional knapsack problem","volume":"48","author":"Crawford","year":"2018","journal-title":"Appl. Intell."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"181","DOI":"10.1007\/BF01589402","article-title":"Impacs-a bus crew scheduling system using integer programming","volume":"42","author":"Smith","year":"1988","journal-title":"Math. Program."},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"825","DOI":"10.1007\/s11047-019-09752-8","article-title":"A binary monkey search algorithm variation for solving the set covering problem","volume":"19","author":"Crawford","year":"2019","journal-title":"Nat. Comput."},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"106242","DOI":"10.1016\/j.cie.2019.106242","article-title":"A taxonomic review of metaheuristic algorithms for solving the vehicle routing problem and its variants","volume":"140","author":"Elshaer","year":"2020","journal-title":"Comput. Ind. Eng."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Crama, Y., Kolen, A.W., and Pesch, E.J. (1995). Local search in combinatorial optimization. Artificial Neural Networks, Springer.","DOI":"10.1007\/BFb0027029"},{"key":"ref_40","doi-asserted-by":"crossref","first-page":"975","DOI":"10.1007\/BF01009452","article-title":"Optimization by simulated annealing: Quantitative studies","volume":"34","author":"Kirkpatrick","year":"1984","journal-title":"J. Stat. Phys."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"129","DOI":"10.1080\/03052150500384759","article-title":"Shuffled frog-leaping algorithm: A memetic meta-heuristic for discrete optimization","volume":"38","author":"Eusuff","year":"2006","journal-title":"Eng. Optim."},{"key":"ref_42","doi-asserted-by":"crossref","first-page":"28","DOI":"10.1109\/MCI.2006.329691","article-title":"Ant colony optimization","volume":"1","author":"Dorigo","year":"2006","journal-title":"IEEE Comput. Intell. Mag."},{"key":"ref_43","doi-asserted-by":"crossref","first-page":"46","DOI":"10.1016\/j.advengsoft.2013.12.007","article-title":"Grey wolf optimizer","volume":"69","author":"Mirjalili","year":"2014","journal-title":"Adv. Eng. Softw."},{"key":"ref_44","doi-asserted-by":"crossref","first-page":"48","DOI":"10.1016\/j.advengsoft.2017.05.014","article-title":"Spotted hyena optimizer: A novel bio-inspired based metaheuristic technique for engineering applications","volume":"114","author":"Dhiman","year":"2017","journal-title":"Adv. Eng. Softw."},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"143","DOI":"10.1007\/s13748-019-00185-z","article-title":"A review on the self and dual interactions between machine learning and optimisation","volume":"8","author":"Song","year":"2019","journal-title":"Prog. Artif. Intell."},{"key":"ref_46","doi-asserted-by":"crossref","unstructured":"Kim, J.M., Jun, C., and Lee, J. (2021). Forecasting the volatility of the cryptocurrency market by GARCH and Stochastic Volatility. Mathematics, 9.","DOI":"10.3390\/math9141614"},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"39","DOI":"10.17535\/crorr.2024.0004","article-title":"On the American style futures contracts","volume":"15","author":"Zaevski","year":"2024","journal-title":"Croat. Oper. Res. Rev."}],"container-title":["Mathematics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2227-7390\/13\/16\/2629\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T18:29:00Z","timestamp":1760034540000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2227-7390\/13\/16\/2629"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,8,16]]},"references-count":47,"journal-issue":{"issue":"16","published-online":{"date-parts":[[2025,8]]}},"alternative-id":["math13162629"],"URL":"https:\/\/doi.org\/10.3390\/math13162629","relation":{},"ISSN":["2227-7390"],"issn-type":[{"value":"2227-7390","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,8,16]]}}}