KMITL Expo 2026 LogoKMITL 66th Anniversary Logo

Application of Machine Learning, Stochastic Process, and Game Theory in Short-Term Financial Asset Investment Strategies

Abstract

This project focuses on the study and development of a short-term investment framework via gold trading in the foreign exchange market. Machine learning techniques are applied to analyze and forecast pricing trends. Moreover, we develop the system using a stochastic process to determine optimal stop-loss points, with the aim of maximizing expected returns. Additionally, we apply game theory to guide the decision-making process regarding order holding or closure. The system is implemented and tested on the MetaTrader 5 (MT5) platform. This project outlined the clear process that includes data preparation, machine learning model training, probabilistic modeling of gold price movements, stop-loss strategy formulation, strategic decision modeling based on game theory, the development of an automated trading program, and backtesting to evaluate system performance.

Objective

การลงทุนระยะสั้น คือ การพยากรณ์ว่าราคาในอนาคตอันใกล้เพิ่มขึ้นหรือลดลงในปริมาณ เท่าไรและเก็งกำไรจากส่วนต่างของราคาที่จะเกิดขึ้น ยิ่งการพยากรณ์มีความแม่นยำมาก ก็จะยิ่งได้ ผลตอบแทนมากตาม ผู้วิจัยได้รับแรงบันดาลใจจากการศึกษาการลงทุนระยะสั้นในรูปแบบ Price Action ซึ่งตั้งอยู่ บนสมมติฐานที่ว่า ข้อมูลราคาในอดีตมีความเพียงพอในการทำนายแนวโน้มราคาในอนาคต โดยไม่ จำเป็นต้องใช้ตัวชี้วัดทางเทคนิค (indicator) เนื่องจากตัวชี้วัดเหล่านั้นล้วนแล้วแต่คำนวณมาจาก ข้อมูลราคาในอดีตเช่นกัน ด้วยเหตุนี้ ผู้วิจัยจึงมุ่งเน้นที่จะนำเทคโนโลยี Deep Learning มาใช้ในการ สร้างแบบจำลองที่สามารถเรียนรู้จากข้อมูลราคาในอดีตเพื่อทำการพยากรณ์แนวโน้มราคาตลาดใน อนาคต และนำผลลัพธ์ไปประยุกต์ใช้ในการกำหนดจุด take profit อย่างมีประสิทธิภาพ ทั้งนี้ การ เลือกใช้ Deep Learning มีพื้นฐานมาจากคุณสมบัติในการเรียนรู้และประมวลผลข้อมูลเชิงซ้อน รวมถึงความสามารถในการจับความสัมพันธ์เชิงลึกของข้อมูลที่ไม่สามารถมองเห็นได้ด้วยวิธีการทั่วไป นอกจากนั้น ผู้วิจัยยังได้รับแรงบันดาลใจจากการศึกษาแนวคิด Drunkard Walk ซึ่งได้ถูกในไปใช้หา ความน่าจะเป็นที่คนเมาจะเดินกลับถึงบ้านหรือเดินกลับไปที่สถานบันเทิงจากความน่าจะเป็นที่คนเมา จะเดินไปทางซ้ายหรือเดินไปทางขวาและการประยุกต์ใช้ Absorbing Markov Chain เพื่อวิเคราะห์ ความน่าจะเป็นของการเคลื่อนไหวของกราฟราคา โดยแนวคิดนี้สามารถนำมาใช้ในการคำนวณความ น่าจะเป็นที่ราคาจะเคลื่อนที่ไปถึงจุด take profit หรือ stop loss ซึ่งเป็นปัจจัยสำคัญในการกำหนด กลยุทธ์การลงทุน ผู้วิจัยจึงประยุกต์ใช้แนวคิดนี้ในการพัฒนาแบบจำลองที่สามารถคำนวณค่า ผลตอบแทนเฉลี่ยเพื่อช่วยในการกำหนดจุด stop loss ที่เหมาะสม ยิ่งไปกว่านั้น จากประสบการณ์ใน การเทรดจริง ผู้วิจัยได้พบเจอปัญหาในการตัดสินใจเมื่อคำสั่งเทรดยังคงเปิดอยู่และไม่สามารถประเมิน ได้ชัดเจนว่าควรปิดคำสั่งเทรดก่อน หรือรอให้ราคาถึงจุดที่ตั้งไว้ หากปิดคำสั่งก่อนและราคากลับไปถึง จุด stop loss การตัดสินใจนั้นถือว่าถูกต้อง แต่หากราคาถึงจุด take profit การตัดสินใจนั้นก็จะถือ ว่าผิดพลาด ด้วยเหตุนี้ ผู้วิจัยจึงเลือกนำแนวคิดจากทฤษฎีเกม (Game Theory) มาช่วยในการวางกลยุทธ์ การตัดสินใจที่เหมาะสม โดยใช้กลยุทธ์แบบผสม (Mixed Strategy) และการวิเคราะห์การแจกแจง ความน่าจะเป็นของกราฟราคา เพื่อให้สามารถตัดสินใจได้อย่างมีเหตุผลและมีประสิทธิภาพสูงสุด

Other Innovations

Project Urban House

คณะสถาปัตยกรรม ศิลปะและการออกแบบ

Project Urban House

The Project Urban House is an initiative focused on developing and designing urban housing solutions that address the growing demand for city living. The project emphasizes efficient space utilization, sustainability, and designs that cater to modern urban lifestyles. Key considerations include the use of eco-friendly materials, the integration of green spaces, and the implementation of smart home technologies to enhance residents' quality of life.

Read more
LEARNING ACHIEVEMENT WITH THE USE OF BOARDGAMES ON MUSHROOMS COOPERATED WITH  COOPERATIVE LEARNING FOR THIRD-YEAR VOCATIONAL CERTIFICATE STUDENTS

คณะครุศาสตร์อุตสาหกรรมและเทคโนโลยี

LEARNING ACHIEVEMENT WITH THE USE OF BOARDGAMES ON MUSHROOMS COOPERATED WITH COOPERATIVE LEARNING FOR THIRD-YEAR VOCATIONAL CERTIFICATE STUDENTS

This study aims to develop a board game on mushrooms production with cooperative learning and to examine its effects on the learning achievement of third-year vocational certificate students in the mushroom production course. The research instruments included a board game designed using the Educational Boardgame Design Canvas framework, comprising 60 cards (7 main cards, 24 secondary cards, and 29 additional cards). The board game was implemented alongside the Learning Together (LT) cooperative learning approach, following the ASSURE Model for instructional media design. Pre- and post-tests, along with a satisfaction questionnaire, were used to assess student performance and engagement. The findings revealed a statistically significant improvement at the .05 level in students' learning achievement before and after using the board game. At Ratchaburi College of Agriculture and Technology, the post-test mean score was 16.00, compared to a pre-test mean score of 12.50. Student satisfaction with the learning approach was at the highest level, with an average satisfaction score of 4.69. To further refine and expand the study, the board game was also implemented at the Uthai Thani College of Agriculture and Technology, where similar improvements were observed. The post-test mean score increased to 11.21, compared to a pre-test mean score of 7.48, confirming the research hypothesis. Student satisfaction at Uthai Thani College of Agriculture and Technology was also high, with an average satisfaction score of 4.39. These results suggest that integrating board games with cooperative learning effectively enhances student achievement and engagement in agricultural education.

Read more
THE DEVELOPMENT OF LEARNING ACHIEVEMENT THE USE OF THE INTEGRATED FARMING SYSTEM BOARD GAME FOR THIRD-YEAR VOCATIONAL CERTIFICATE STUDENTS AT RATCHABURI COLLEGE OF AGRICULTURE AND TECHNOLOGY

คณะครุศาสตร์อุตสาหกรรมและเทคโนโลยี

THE DEVELOPMENT OF LEARNING ACHIEVEMENT THE USE OF THE INTEGRATED FARMING SYSTEM BOARD GAME FOR THIRD-YEAR VOCATIONAL CERTIFICATE STUDENTS AT RATCHABURI COLLEGE OF AGRICULTURE AND TECHNOLOGY

This study aims to develop a board game for teaching Integrated Farming System and to examine the learning achievement of third-year vocational certificate students at Ratchaburi College of Agriculture and Technology who used the board game as a learning tool. The research instruments included a board game developed using the Educational Boardgame Design Canvas. The board game is a strategic planning game consisting of five game boards, and 166 cards categorized into four types: 30 event cards, 60 special action cards, 16 character cards, and 60 production cards. It also includes 180 resource tokens of six kinds: 60 water tokens, 60 soil tokens, 45 plant product tokens, 45 animal product tokens, 45 aquatic product tokens, and 45 currency tokens. Additional components include one die and five player aid sheets. The game emphasizes planning and decision-making in integrated farming to maximize production and achievement points under game conditions and simulated scenarios. Research tools also included pre-and post-tests and a satisfaction questionnaire. The results indicated that students’ average scores significantly increased at the .05 level after using the board game, with the average pre-test score at 6.54 and the post-test score rising to 17.71. Additionally, an analysis of student satisfaction with board game-based learning revealed a high level of satisfaction (mean score = 4.45). The highest-rated aspects were the teacher’s implementation of post-tests (mean score = 4.69) and the engaging and diverse teaching methods used (mean score = 4.66).

Read more