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...
Automating Trading Strategies in MQL5 (Part 33): Creating a Price Action Shark Harmonic Pattern System
Quote:
In our
previous article (Part 32), we developed a
5 Drives (5-0) pattern system in
MetaQuotes Language 5 (MQL5) that detected bullish and bearish 5 Drives harmonic patterns using Fibonacci ratios, automating trades with customizable stop loss and take-profit levels, visualized through chart objects like triangles and trendlines. In Part 33, we develop a
Shark Pattern system that identifies bullish and bearish Shark harmonic patterns using pivot points and specific Fibonacci retracements and extensions. This system executes trades with flexible entry, stop-loss, and multi-level take-profit options, enhanced by visual triangles, trendlines, and labels for clear pattern representation.
more...
Automating Trading Strategies in MQL5 (Part 34): Trendline Breakout System with R-Squared Goodness of Fit
Quote:
In our
previous article (Part 33), we developed a
Shark Pattern system in
MetaQuotes Language 5 (MQL5) that detected bullish and bearish Shark harmonic patterns using Fibonacci ratios, automating trades with customizable take-profit and stop-loss levels, visualized through chart objects like triangles and trendlines. In Part 34, we create a
Trendline Breakout System that identifies support and resistance trendlines using swing points, validated by
R-squared goodness of fit and angle constraints, to execute trades on breakouts with dynamic chart visualizations.
more...