Maejo Information Technology and Innovation Journal (MITIJ)
 Search | First Page   
 
 
 
» Home
» Current Issue
» Archives
» Journal Search/Article
» Register (OJS/PKP)
 

                               :: Article details ::
Return to search menu 
Article name
Reducing Excessive Loss Risk with Grid Trading and Target Based Position Closure via Trading Bots
Article type
Research article
Authors Alongkot Gongmanee(1), Thitikorn Rueanmon(1), Paween Khoenkaw(1), Kongkarn Dullayachai(1) and Somnuek Sinthupuan(1*)
Office Computer Science Department, Faculty of Science, Maejo University(1) *Corresponding author: somnuk@mju.ac.th
Journal name Vol. 12 No.1 (2026): January - April
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.

Keywords FOREX; Grid Strategy; Target Based Position Closure; USOUSD; Trading robot
Page number 99-118
ISSN ISSN 3027-7280 (Online)
DOI
ORCID_ID 0000-0003-1461-1243
Article file https://mitij.mju.ac.th/ARTICLE/R69006.pdf
  
Reference 
  Aloud, M. E., & Fasli, M. (2017). Exploring trading strategies and their effects in the foreign exchange market. Computational Economics, 49(2), 287-310.
  Balcilar, M., Gupta, R., & Wang, S. (2020). The impact of oil price shocks on forex markets: A Markov-switching approach. Energy Economics, 91, 104906.
  Bollerslev, T., Patton, A. J., & Wang, W. (2016). Daily volatility dynamics in forex markets: A realized volatility approach. Journal of Financial Econometrics, 14(1), 147-183.
  Cheung, Y. W., & Rime, D. (2014). The offshore renminbi exchange rate: Microstructure and links to the onshore market. Journal of International Money and Finance, 49, 170-189.
  Dunis, C. L., Laws, J., & Sermpinis, G. (2010). Modelling and trading the EUR/USD exchange rate at the ECB fixing. European Journal of Finance, 16(6), 541-560.
  Evans, M. D. D., & Lyons, R. K. (2002). Order flow and exchange rate dynamics. Journal of Political Economy, 110(1), 170-200.
  Gencay, R., & Gradojevic, N. (2013). Private information and its role in the forex market. Journal of Financial Markets, 16(4), 637-659.
  Hautsch, N., & Huang, R. (2012). The market impact of a limit order. Journal of Economic Dynamics and Control, 36(4), 501-522.
  Hsu, P. H., Taylor, M. P., & Wang, Z. (2016). Technical trading: Is it still beating the foreign exchange market? Journal of International Economics, 102, 188-208.
  King, M. R., Osler, C. L., & Rime, D. (2013). The market microstructure approach to foreign exchange: Looking back and looking forward. Journal of International Money and Finance, 38, 95-119.
  Lyons, R. K. (2001). The microstructure approach to exchange rates. MIT Press.
  Menkhoff, L., Sarno, L., Schmeling, M., & Schrimpf, A. (2016). Information flows in foreign exchange markets: Dissecting customer currency trades. Journal of Finance, 71(2), 601-634.
  Neely, C. J., & Weller, P. A. (2003). Intraday technical trading in the foreign exchange market. Journal of International Money and Finance, 22(2), 223-237.
  Osler, C. L. (2003). Currency orders and exchange rate dynamics: An explanation for the predictive success of technical analysis. Journal of Finance, 58(5), 1791- 1820.
  Pojarliev, M., & Levich, R. M. (2010). Trades of the living dead: Style differences, style persistence and performance of currency fund managers. Journal of International Money and Finance, 29(8), 1752-1775.
  Rime, D., Sarno, L., & Sojli, E. (2010). Exchange rate forecasting, order flow and macroeconomic information. Journal of International Economics, 80(1), 72- 88.
  Sermpinis, G., Stasinakis, C., Theofilatos, K., & Karathanasopoulos, A. (2015). Forecasting foreign exchange rates with adaptive neural networks using radial- basis functions and particle swarm optimization. European Journal of Operational Research, 247(1), 272-286.
  Tashpulatov, S. (2015). Estimating the volatility of the forex market: Evidence from high-frequency data. Economic Modelling, 45, 162-168.
  Vezeris, D., & Schinas, C. (2019). On the optimization of grid trading strategies with genetic algorithms. Procedia Computer Science, 151, 110-117.
  Zhang, H., & Dufour, J. M. (2019). Forecasting exchange rates using principal components and time-varying regressions. Journal of Forecasting, 38(6), 543- 561.
 
 
 
 
 
 
 
Return to search menu
       
Editorial Board of Maejo Information Technology and Innovation Journal MAEJO UNIVERSITY
No. 63 Moo 4, Nong Han Subdistrict, San Sai District, Chiang Mai Province 50290  mitij@mju.ac.th