Programmatic modification of Tester “From:” and “To:” fields with user32.dll – script MetaTrader 4

Programmatic modification of Tester "From:" and "To:" fields with user32.dll - script for MetaTrader 4
For this script to run properly you must have the strategy tester window open. I made this for the purpose of creating a distributed automated optimization package.I was unsatisfied with the available automated optimization code because it necessitates modification of expert advisor code. This was created and tested on Windows 7 64 bit. It is

Schnick – Support Vector Machine Learning Tool Tester – script MetaTrader 5

Schnick - Support Vector Machine Learning Tool Tester - script for MetaTrader 5
This script was written to form part of the “Machine Learning: How Support Vector Machines can be used in Trading” article posted on the MQL5 website. Imagine this hypothetical scenario, you are a researcher investigating a rare animal only found in the depths of the Arctic called Shnicks. Given the remoteness of these animals, only

Schnick [Support Vector Machine Learning Tool Tester – DEMO] – EA MetaTrader 5

Schnick [Support Vector Machine Learning Tool Tester - DEMO] - expert for MetaTrader 5
This script was written to form part of the “Machine Learning: How Support Vector Machines can be used in Trading” article posted on the MQL5 website. This version of the code has been written specifically to be used in conjunction with the demo version of the Support Vector Machine Learning Tool available for free from

Equivolume and range-bars in the strategy tester – script MetaTrader 4

Equivolume and range-bars in the strategy tester - script for MetaTrader 4
The script is an updated version of the FXTFileMaker script (see Conversion of the real tick data into FXT files of the strategy tester, which describes what *.tks file is and how to work with it). Among the revolutionary novelties are the abilities to create: any chart timeframe that is a multiple of one second,

Transfer trades from the tester report to the chart – script MetaTrader 4

Transfer trades from the tester report to the chart
The script is designed to transfer trades from the standard report of the MetaTrader 4 tester to the chart. The main purpose of such action is to study third-party trading systems. It transfers to the chart: Entry Points. Displayed by characters separately for long and short positions. The character codes can be set by user.

Regular Expressions Tester MQL4 – script MetaTrader 4

Regular Expressions Tester MQL4 - script for MetaTrader 4
Materials on Regular Expressions The Regular Expressions for Traders article. The Regular Expressions in MQL4 for working with regular expressions library. Other Useful Materials Microsoft .NET Regular Expressions Microsoft .NET Regex Class Documentation Microsoft Regular Expressions – Quick Reference PDF Others: Using Regular Expressions with The Microsoft .NET Framework Most Useful CRegex Class Methods IsMatch()