Discussing the article: "Manual Backtesting Made Easy: Building a Custom Toolkit for Strategy Tester in MQL5"

 

Check out the new article: Manual Backtesting Made Easy: Building a Custom Toolkit for Strategy Tester in MQL5.

In this article, we design a custom MQL5 toolkit for easy manual backtesting in the Strategy Tester. We explain its design and implementation, focusing on interactive trade controls. We then show how to use it to test strategies effectively.

We aim to create a toolkit that merges manual control with the Strategy Tester’s fast backtesting speed in MetaTrader 5, sidestepping the slow real-time ticks of traditional manual testing. We will design the program with on-chart buttons to trigger Buy or Sell trades, adjust lot sizes, set Stop Loss (SL) and Take Profit (TP) levels, and close all positions via a Panic Button—fully integrable with any strategy, from indicators and Japanese candlestick patterns to price action, all working at the Tester’s accelerated pace. This flexible setup will let us test any trading approach interactively with speed and precision, streamlining strategy refinement in a simulated environment. In a nutshell, here is a visualization of what we are aiming for:

IMAGE PLAN

Author: Allan Munene Mutiiria

 
What about different timeframes
 
Mogulh Chilyalya Kiti #:
What about different timeframes

Hello. Currently just one timeframe. Maybe try that in the near future.

 
Thank you its a useful tool
 
Blessing Dumbura #:
Thank you its a useful tool

Sure. Welcome and thanks too for the feedback.