Stephen Gathumbi Ndiba / Publications
Articles
Developing a Manual Backtesting Expert Advisor: Additional Features for MetaTrader 5
We enhance the manual backtesting EA with real-time lot adjustment, an order module for buy/sell stops and limits, and a Trade Manager to modify TP/SL and close positions individually. The article explains control setup with CButton/CBmpButton/CEdit, logic in OnTick, and workarounds for Strategy
Manual Backtesting with On-Chart Buttons in the MetaTrader 5 Strategy Tester for MetaTrader 5
Learn how to build a manual backtesting EA for MetaTrader 5's visual tester by adding chart buttons with CButton, executing orders through CTrade, and filtering positions with a magic number. The article implements Buy/Sell and Close All controls, configurable lot size and initial SL, and a trailing

