2025, issue 4, p. 115-127

Received 18.06.2025; Revised 31.10.2025; Accepted 18.11.2025

Published 08.12.2025; First Online 15.12.2025

https://doi.org/10.34229/2707-451X.25.4.11

Previous  |  FULL TEXT (in Ukrainian)  |  Next

 

UDC 519.85

Development of Decision Support Systems Based on Fuzzy and Binary Logic for the FOREX Foreign Exchange Market

Natalia Kondruk ORCID ID favicon Big,   Serhii Hetsko * ORCID ID favicon Big

Uzhhorod National University, Uzhhorod

* Correspondence: This email address is being protected from spambots. You need JavaScript enabled to view it.

 

Introduction. Most authors considered the use of only binary logic and technical analysis, which does not allow for effective consideration of market uncertainty and rapid dynamic. Other researchers considered the use of fuzzy logic, but these studies are limited to local markets or do not provide integration with more flexible types of analysis such as ML. It was also found that no comparative analysis of the effectiveness of different logical approaches (fuzzy, classical, probabilistic logic) is conducted, which creates a gap in the scientific justification of the choice of a particular method. The potential of multi-timeframe analysis is also practically not taken into account, although it can increase the accuracy and stability of decisions made. The above indicates the need for a comprehensive study that would combine the advantages of various logical approaches, machine learning and multi-timeframe analysis within a single hybrid DSS. This would also allow a reasonable approach to the choice of a specific method.

Research objective. The aim of this work is to develop multi-timeframe hybrid DSS for algorithmic trading based on fuzzy and classical binary logic with probabilistic elements. This will make it possible to increase the efficiency of algorithmic trading systems.

Results. The study consisted in the development of multi-timeframe hybrid DSS based on binary and fuzzy logic with probabilistic elements, as well as their comparative analysis. As a source of signals for further decision-making, the system uses forecasts made by the Random Forest model. Cross-Validation was used to train the model to predict not only the opening, maximum, minimum and closing values ​​of the position (Open, High, Low, Close – OHLC), but also the level of confidence of these predictions. The Mamdani fuzzy logic system [13, 14] was used as a fuzzy logic system for DSS. Both DSS were implemented in the MQL5 programming language. The backtest was carried out on the MT5 platform. As a result, the decision support system based on fuzzy logic showed a significant advantage over the decision support system based on classical binary logic with a Win Rate of 60.81%, and an annual return of 58% and a Sharpe ratio of 1.33. While the decision support system based on binary logic showed the following results: Win Rate of 34.16%, and an annual return of –95.46% and a Sharpe ratio of –5. An applied aspect of using the obtained scientific result is the possibility of improving DSS for making trading decisions.

Conclusions. The study showed that multi-timeframe hybrid DSS based on fuzzy logic with probabilistic elements allows making more effective decisions than DSS based on binary logic. This study allows for a reasoned approach to choosing a specific method. In addition, the proposed methodology and constructed models can be used by other researchers in the field of financial technologies for the further development of decision support systems in financial markets. Future research will be aimed at improving time series forecasting methods in order to improve the quality of input signals for the trading system.

 

Keywords: algorithmic trading, FOREX, Machine Learning, fuzzy logic, Mamdani.

 

Cite as: Kondruk N., Hetsko S. Development of Decision Support Systems Based on Fuzzy and Binary Logic for the FOREX Foreign Exchange Market. Cybernetics and Computer Technologies. 2025. 4. P. 115–127. (in Ukrainian) https://doi.org/10.34229/2707-451X.25.4.11

 

References

           1.     Kondruk N.E., Hetsko S.V. Forecasting Currency Rates Using Machine Learning Models. Scientific Bulletin of Uzhhorod University. Series "Mathematics and Informatics". 2024. 45(2). P. 205–215. https://doi.org/10.24144/2616-7700.2024.45(2).205-215 (in Ukrainian)

           2.     Thogaram U., Asthana P.K. Algo Trading – A New Paradigm in The Stock Trading. 11th International Symposium on Electronic Systems Devices and Computing. 2023. https://doi.org/10.1109/ESDC56251.2023.10149864

           3.     Genesereth M., Kao E. Intoduction to Logic. Springer: Synthesis Lectures on Computer Science. 2022. 165 p. http://doi.org/10.1007/978-3-031-01798-8

           4.     Ebienazer J.S.C., Suruthipriya S.M. Fuzzy Logic. International Journal of Innovative Research in Information Security. 2023. 9(3). P. 147–152. https://doi.org/10.26562/ijiris.2023.v0903.19

           5.     Juszczuk P., Kruś L. Fuzzy trading system on the forex market for deriving the portfolio of instruments. Control and Cybernetics. 51. P. 467–486. https://doi.org/10.2478/candc-2022-0025

           6.      Singh J., Shahnaz, F. Chauhan, A. Design and Performance Study of Improved Fuzzy System with Genetic Algorithm. International Journal on Recent and Innovation Trends in Computing and Communication. 2023. https://doi.org/10.17762/ijritcc.v11i8s.7203

           7.     Sashank T., Sharma V., Vats S. Algorithmic Forex Trading: Expert Advisor Implementation of Automated Strategies. 2nd International Conference on Disruptive Technologies (ICDT). 2024. P. 347–352. https://doi.org/10.1109/ICDT61202.2024.10489230

           8.     Sharma A., Bhatnagar V., Bansal A. Technical analysis-based fuzzy support system for stock market trading. Int. J. Adv. Intell. Paradigms. 2020. 17. P. 193207. https://doi.org/10.1504/IJAIP.2018.10010679

           9.     Kang L.W., Nordin M.I., Din A.S., Abu Seman M.T. Application of Fuzzy Logic in Stock Markets by Using Technical Analysis Indicators. International Conference on Robotics, Vision, Signal Processing and Power Applications. 2023. https://doi.org/10.1007/978-981-99-9005-4_59

       10.     Khan A.Z., Gupta P., Mehlawat M. A Fuzzy Rule-Based System for Portfolio Selection Using Technical Analysis. IEEE Transactions on Fuzzy Systems. 2024. 32. P. 48614875. https://doi.org/10.1109/TFUZZ.2024.3355515

       11.      Bisati A.I., Haque I., Ganai U.J., Gulzar I. Decision Making in Financial Markets: A Thematic Review and Discussion. Journal of Business Strategy Finance and Management. 2021. https://doi.org/10.12944/jbsfm.03.01-02.06

       12.      Nidhi R.M., Chou Y.L., Hashim H., Abd Rahman N., Mohd Ali J. Fuzzy Mamdani based user-friendly interface for food preservatives determination. Food and Bioproducts Processing. 2021. 126. P. 282–292. https://doi.org/10.1016/j.fbp.2021.01.012

       13.      Bates S., Hastie T., Tibshirani R. Cross-Validation: What Does It Estimate and How Well Does It Do It?. Journal of the American Statistical Association. 2021. 119. P. 1434–1445. https://doi.org/10.1080/01621459.2023.2197686

       14.     Ganeshsree S., Quek S.G., Lan H.L.T., Son H.L., Nguyen L.G., Ding W. et al. A New Design of Mamdani Complex Fuzzy Inference System for Multiattribute Decision Making Problems. IEEE Transactions on Fuzzy Systems. 2021. 29. P. 716–730. https://doi.org/10.1109/TFUZZ.2019.2961350

       15.     Kondruk N.E., Hetsko S.V. Raw Data for "Development of Decision Support Systems Based on Fuzzy and Binary Logic for the FOREX Foreign Exchange Market" (Version V1) [Data set]. 2025. https://doi.org/10.6084/m9.figshare.30336691

       16.     Niu H., Li S., Li J. MetaTrader: An Reinforcement Learning Approach Integrating Diverse Policies for Portfolio Optimization. Proceedings of the 31st ACM International Conference on Information & Knowledge Management. 2022. https://doi.org/10.1145/3511808.3557363

       17.     MetaTrader 5 Trading Platform. https://www.metaquotes.net/en/metatrader5 (accessed: 18.06.2025)

 

 

ISSN 2707-451X (Online)

ISSN 2707-4501 (Print)

Previous  |  FULL TEXT (in Ukrainian)  |  Next

 

 

            Archive

 

© Website and Design. 2019-2026,

V.M. Glushkov Institute of Cybernetics of the NAS of Ukraine,

National Academy of Sciences of Ukraine.