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

“Equinest” Thai Fruit-Flavored Horse Treats to Enhance Equine Digestive Efficiency.

วิทยาลัยการจัดการนวัตกรรมและอุตสาหกรรม

“Equinest” Thai Fruit-Flavored Horse Treats to Enhance Equine Digestive Efficiency.

This research aims to develop a horse treat product that meets the nutritional and health needs of horses by using natural ingredients with beneficial properties, such as oats, wheat flour, corn flour, and organic molasses. These ingredients are rich in fiber, vitamins, and essential minerals for horses, while also enhancing digestive efficiency, reducing the risk of colic, and providing an appropriate energy source. The treat is designed with a shape suitable for a horse’s chewing behavior and is infused with Thai fruit flavors, such as pineapple and ripe mango, to attract horses and make consumption easier. The production process emphasizes cleanliness and safety by selecting organic ingredients and avoiding harmful preservatives. The packaging is designed to maintain product quality for an extended period, prevent moisture, and be convenient for horse owners to use. Additionally, the treat can be used as a reward during horse training, helping to strengthen the bond between the horse and its owner while reducing equine stress. This product serves as both a health-boosting snack and an effective training tool, making it suitable for horses that require highly nutritious supplements. It also provides a new option for horse owners seeking a safe and beneficial product for their horse’s overall well-being.

Read more
Golden Banana Fries

วิทยาเขตชุมพรเขตรอุดมศักดิ์

Golden Banana Fries

Abstract: Banana French Fries This project aimed to study and develop the product Banana French Fries, which is a snack made by frying bananas in a form similar to French fries, in order to add value to bananas and create new choices for consumers. The experiment consisted of selecting suitable banana varieties, developing a coating formula, and testing the taste of samples. The results of the study found that Nam Wa bananas are the most suitable for making banana French fries because they have a firm texture and naturally sweet taste. The best coating formula consists of wheat flour, eggs, and milk, which provide longer crispiness. The taste test found that most consumers gave a very good response and were satisfied with the taste and texture. This project shows that banana French fries are a product with potential to be developed as a healthy snack and can be further developed into a commercial product in the future.

Read more
Power of Leaves: A Natural Fluorescent Seed Coating Innovation for Anti-Counterfeiting

คณะเทคโนโลยีการเกษตร

Power of Leaves: A Natural Fluorescent Seed Coating Innovation for Anti-Counterfeiting

This experiment aimed to study the suitable types of polymers for coating with chlorophyll extract and the quality of cucumber seeds after coating. The experiment was planned using a Completely Randomized Design (CRD) with four replications, consisting of five methods involving seeds coated with different types of polymers: Polyvinylpyrrolidone, Sodium Alginate, Carboxy Methyl Cellulose, and Hydroxypropyl Methylcellulose, each polymer being coated alongside chlorophyll, with uncoated seeds serving as the control method. The coating substance was prepared by extracting chlorophyll from mango leaves, then mixed with each type of polymer at a concentration of 1%, using an 8% concentration of chlorophyll extract. The properties of each coating method, such as pH and viscosity of the coating substance, were examined before coating the cucumber seeds with a rotary disk coater model RRC150 at a coating rate of 1,100 milliliters per 1 kilogram of seeds. Subsequently, the seeds were dried to reach the initial moisture level using a hot air blower, and seed quality was assessed in various aspects, including seed moisture, germination rate under laboratory conditions, germination index, and seed fluorescence under a portable ultraviolet light illuminator, as well as light emission spectrum analysis using a Spectrophotometer. The experiment found that each type of polymer could be used to form a film together with chlorophyll, which had appropriate pH and viscosity for the coating without affecting seed quality and showed fluorescence on the seed surface both under portable ultraviolet light and spectral emission analysis with a Spectrophotometer. Using HPMC as the film-forming agent with chlorophyll was the most suitable method, enhancing seed fluorescence efficiency.

Read more