Logging library for mql4 – library MetaTrader 4

Logging library for mql4 - library for MetaTrader 4
This is a logging library to quickly add logging capabilities to your code without  much hassle. The library’s default behavior matches most cases however most of the functionality can be customized using pre-processor substitutions (#define) See the example scripts on how to use library. How to use #include <Logger.mqh> //+——————————————————————+ //| Script program start function                                    | … Read more

Expert History Export – library MetaTrader 4

Expert History Export - library for MetaTrader 4
Adds the ability to automatically export the history of deals after running an Expert Advisor in the Strategy Tester. The file is saved in the shared terminal folder   Common/Files or in the terminal folder   MQL4/Files. The file name is generated automatically or set manually when calling the method   Export() The history file can be used to simulate the same sequence … Read more

Real Trade Copy MT4 – library MetaTrader 4

Real Trade Copy MT4 - library for MetaTrader 4
Adviser-Utility for copying transactions from one MT5 account or MT4 account to another MT4 account. You can copy positions between Netting and Hedging accounts in any combination. You can set filters by the name of the instrument and the magic numbers of the positions that will be copied. So far, the source sends information only … Read more

Trade Classes from MT5 for MT4 – library MetaTrader 4

Trade Classes from MT5 for MT4 - library for MetaTrader 4
In the process of developing a program for copying positions between accounts, it was necessary to develop essentially the same code for MT5 and MT4. The differences were only in the functions of performing trading operations. Therefore, several classes from the MT5 standard library were rewritten to work in MT4. When using this library, it … Read more

Grid and Martin Gale include file – library MetaTrader 4

Grid and Martin Gale include file - library for MetaTrader 4
This include file provides programmers with a seamless solution for creating Martin Gale trading strategies effortlessly. The classes GridStrategy and MartinGaleStrategy are derived from the Strategy class, which encompasses various attributes such as Startprice, Lots(Volume available for the strategy), TakeProfit, Stoploss (in monetary terms), and more. While Grid and Martin Gale strategies possess their own … Read more

Probability and Signals class – library MetaTrader 4

Probability and Signals class - library for MetaTrader 4
The provided code is an MQL include file and an Expert Advisor demonstrating how the classes work.It implements a trading strategy based on various technical indicators and trend analysis. The script defines several custom classes to create and manage trading signals based on different technical conditions. Trend Class : This class is responsible for determining … Read more