How to create a simple Multi-Currency Expert Advisor using MQL5 (Part 3): Added symbols prefixes and/or suffixes and Trading Time Session
Quote:
Several fellow traders sent emails or commented about how to use this Multi-Currency EA on brokers with symbol names that have prefixes and/or suffixes, and also how to implement trading time zones or trading time sessions on this Multi-Currency EA.
Therefore, on this occasion I will explain and create a function to be implemented in the EA in the previous
article FXSAR_MTF_MCEA by adding an automatic detection function for broker symbols with prefixes and/or suffixes and Trading Time Zones.
more...
How to create a simple Multi-Currency Expert Advisor using MQL5 (Part 4): Triangular moving average — Indicator Signals
Quote:
The definition of a Multi-Currency Expert Advisor in this article is one Expert Advisor or trading robot that can trade (open orders, close orders and manage orders for example: Trailing Stop Loss and Trailing Profit) for more than one symbol pair from only one symbol chart, where in this article Expert Advisor will trade for 30 pairs.
This time we will use only 1 indicator, namely Triangular moving average in multi-timeframes or single timeframe mode.
In this article, Expert Advisor signal calculations can be selected whether to activate multi-timeframes or activate single-timeframes.
more...
MQL5 Trading Toolkit (Part 5): Expanding the History Management EX5 Library with Position Functions
Quote:
In the
previous article, we began developing the primary functions of the
HistoryManager EX5 library, which forms the core engine responsible for retrieving, sorting, and categorizing historical data into various types, including orders, deals, pending orders, and positions. Most of these functions were designed to operate in the background, unnoticed by the library's users, and were not directly accessible. The only exportable functions were the print functions, which allowed users to output simple descriptive lists of orders, deals, pending orders, or positions to the MetaTrader 5 log.
more...