Reducing Excessive Loss Risk with Grid Trading and Target Based Position Closure via Trading Bots

Authors

  • Alongkot Gongmanee Computer Science Department, Faculty of Science, Maejo University, 50290, Thailand
  • Thitikorn Rueanmon Computer Science Department, Faculty of Science, Maejo University, 50290, Thailand
  • Paween Khoenkaw Computer Science Department, Faculty of Science, Maejo University, 50290, Thailand
  • Kongkarn Dullayachai Computer Science Department, Faculty of Science, Maejo University, 50290, Thailand
  • Somnuek Sinthupuan Computer Science Department, Faculty of Science, Maejo University, 50290, Thailand

Keywords:

FOREX, Grid Strategy, Target Based Position Closure, USOUSD, Trading robot

Abstract

This research aims to implement multi-level trading at predetermined prices using grid trading strategies, enabling profit generation from price movements within defined ranges without requiring constant market monitoring or directional predictions. The study developed three algorithmic trading approaches: 1) Buy-only grid trading, 2) Two-way (Buy & Sell) grid trading, and 3) Two-way grid trading with targeted position closure to prevent excessive losses. Back tested on USOUSD 4-hour data from January 1, 2024, to July 4, 2025 (denominated in cents), the analysis revealed that the two-way grid strategy with position closure delivered optimal performance - generating total returns of 4,779.20 cents. This outperformed the basic two-way grid strategy by 70% and significantly surpassed the buy-only grid strategy, while maintaining controlled risk exposure (Maximum Drawdown of 1.62%). The standard two-way grid achieved respectable results (2,800.18 cents) with tight drawdown control (1.15%), though remained inferior to the enhanced version. Notably, the buy-only strategy produced negative returns (-255.9 cents) despite its high 93.88%-win rate, demonstrating the critical importance of integrated risk management systems in grid trading methodologies. The superior performance of the position-closure enhanced strategy highlights how automated exit mechanisms can optimize grid trading effectiveness while controlling downside risk.

Downloads

Published

2026-04-25

How to Cite

1.
Reducing Excessive Loss Risk with Grid Trading and Target Based Position Closure via Trading Bots. MITIJ [Internet]. 2026 Apr. 25 [cited 2026 Sep. 2];12(1):99-118. Available from: https://ojs.mju.ac.th/ojs-system/article/view/381

Most read articles by the same author(s)

<< < 1 2 3