Skip to main content

Application of Fuzzy Logic in Stock Markets by Using Technical Analysis Indicators

  • Conference paper
  • First Online:
Proceedings of the 12th International Conference on Robotics, Vision, Signal Processing and Power Applications (RoViSP 2021)

Abstract

Investing with proper understanding on the stock is risk taking, while investing based on rumor is gambling. Increase in retail investors during the pandemic gives an opportunity of a more volatile market, therefore it leads to a need of using proper tools to screen through the stock market to find worthy assets to invest in. Previous research shows that there are possibilities of utilizing artificial intelligence techniques in assessing the market performance such as utilizing genetic algorithm with moving average convergence-divergence to generate trading signals or using deep recurrent neural network with closing data to predict the next day stock price. Even though there are good algorithms out there, it has not been utilized and made available to the public to access. Therefore, this project aims to develop an application to screen through the market using artificial intelligence techniques such as fuzzy logic to find a company which is worthy to invest in. Historical price data from 100 companies that made up the Kuala Lumpur Composite Index (KLCI) is used to assess the performance of the fuzzy logic application developed. The technical indicators used for the system is RSI, stochastic and MACD. The trading strategy using this application is to select stocks which have score lower than 0.5 for a buy signal. The results almost achieve the primary objective of generating 70% correct buy signals for short-term trading.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 299.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 379.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Kana G (2020) Retail investors are back. Star

    Google Scholar 

  2. The ringgit plus team, best fixed deposit account in Malaysia. https://ringgitplus.com/en/blog/fixed-deposits/best-fixed-deposit-accounts-in-malaysia.html. Accessed 10 Dec 2020

  3. Pareto C (2020) Understanding investor behaviour. https://www.investopedia.com/articles/05/032905.asp. Accessed 8 Dec 2020

  4. Liu X, Liu B, Han X (2019) Analysis of herd effect of investor’s behavior from the perspective of behavioral finance. In: Proceedings of the 2019 international conference on management, education technology and economics (ICMETE 2019)

    Google Scholar 

  5. Li KS (2020) Even if you’re an investment guru, you can be jailed up to 10 years without a licence. Edge Malaysia

    Google Scholar 

  6. Tan L (2020) What is “Contra trading”. https://www.straitstimes.com/business/invest/what-is-contra-trading. Accessed 23 Nov 2020

  7. Aguirre AAA, Medina RAR, Méndez NDD (2020) Machine learning applied in the stock market through the moving average convergence divergence (MACD) indicator. Invest Manag Finan Innov 17(4):44

    Google Scholar 

Download references

Acknowledgements

This work was supported by Universiti Sains Malaysia Short Term Grant 304/PELECT/6315342.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mohamad Tarmizi Abu Seman .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kang, L.W., Nordin, M.I., Din, A.S., Seman, M.T.A. (2024). Application of Fuzzy Logic in Stock Markets by Using Technical Analysis Indicators. In: Ahmad, N.S., Mohamad-Saleh, J., Teh, J. (eds) Proceedings of the 12th International Conference on Robotics, Vision, Signal Processing and Power Applications. RoViSP 2021. Lecture Notes in Electrical Engineering, vol 1123. Springer, Singapore. https://doi.org/10.1007/978-981-99-9005-4_59

Download citation

Publish with us

Policies and ethics