MQL5 Algo Trading
387K subscribers
2.56K photos
2.56K links
The best publications of the largest community of algotraders.

Subscribe to stay up-to-date with modern technologies and trading programs development.
Download Telegram
Explore the potential of MetaTrader 5 by leveraging MQL wizard to experiment with simple trading patterns efficiently. By combining the Moving Average with the Stochastic Oscillator, traders can generate high-probability trading signals. Delve into the three machine learning phases: Supervised Learning for model training, Reinforcement Learning for optimizing decision-making, and Inference for applying learned insights to new data. Advanced Python integration with neural networks offers significant efficiency gains, enabling cross-validation and forward testing of predictive models. These methods enhance automated trading strategies, providing traders and developers with robust, data-driven decision-making tools for financial markets.

πŸ‘‰ Read | Signals | Share!

#MQL5 #MT5 #EA
πŸ‘24❀2πŸ‘¨β€πŸ’»2πŸ‘Œ1
The article delves into the innovative adaptation of the Tabu Search algorithm for optimizing continuous search spaces. Initially renowned for efficiently solving combinatorial problems using adaptive memory, this modified version introduces a discretization technique, categorizing search parameters into sectors managed by "white" and "black" lists. This structure enhances adaptive exploration by dynamically adjusting search priorities based on previous successes or failures, thereby preventing redundant cycles and promoting diversification. Practical applications include optimizing complex algorithmic trading strategies, offering developers a robust tool to explore diverse solution spaces without excessive parameter tuning, while ensuring efficiency in finding optimal trading strategies.

πŸ‘‰ Read | CodeBase | Share!

#MQL5 #MT5 #Algorithm
πŸ‘30❀9πŸ‘¨β€πŸ’»2πŸ‘Œ1
Optimizing algorithmic models demands precision and stability in parameter selection. The complexity increases with the integration of strict parameters from proprietary firms. Developing a Custom Criterion allows for targeted optimization without extensive manual analysis. However, caution is needed to avoid issues like the misuse of return(0) in optimization processes that could lead to discarding viable results.

Adapting principles from Neural Networks, such as Activation Functions, can refine parameter selection by offering structured ways to handle data ranges and improve scoring methods. Functions like Sigmoid and Tanh are particularly beneficial due to their constrained and stable output ranges, preventing issues like exploding or vanishing gradients.

This approach advances the capability to harness genetics-based algorithms for superior optimizatio...

πŸ‘‰ Read | Calendar | Share!

#MQL5 #MT5 #AI
πŸ‘30❀7πŸ‘¨β€πŸ’»5✍4πŸ†3πŸ€“2πŸ‘Œ1
BreakRevertPro introduces a sophisticated set of features for modern trading environments. It emphasizes statistical analysis using Weibull, Poisson, and Exponential distributions to identify trades. The system is designed for validation with a built-in safety mechanism that adjusts position sizing, particularly for precious metals, ensuring robust performance.

The software supports multi-timeframe analysis, from M1 to H1, providing a thorough market overview. It utilizes dynamic stop loss and take profit validation, ensuring trades align with market conditions. BreakRevertPro automatically detects validation environments, incorporating a highly integrated validator class for broker compliance.

Risk management remains a priority with multiple margin safety checks. The system adapts execution based on real-time market conditions and uses persistent ...

πŸ‘‰ Read | CodeBase | Share!

#MQL5 #MT5 #Strategy
πŸ‘31❀11πŸ”₯5πŸ‘¨β€πŸ’»2πŸ‘Œ1
Dive into the technical realm of algorithmic trading with a detailed exploration of the Force Index indicator. Developed by Alexander Elder, this indicator uses price and volume to reveal market power and potential trend reversals. The article outlines strategies like trend identification and divergence detection, offering a blueprint to create a robust trading system. By leveraging MQL5 in MetaTrader 5, traders can automate these strategies, gaining precise market insight and decision-making capability. Ideal for seasoned developers or those eager to harness the power of algorithmic trading, this guide emphasizes practical application and strategy testing, ensuring it’s both educational and actionable.

πŸ‘‰ Read | NeuroBook | Share!

#MQL5 #MT5 #Indicator
πŸ‘49❀19πŸ”₯7⚑2πŸ‘Œ2🀑2πŸ‘¨β€πŸ’»2
The development of a simple indicator that adds daily vertical lines to charts aids in clearly identifying the start of each trading day. Additionally, it labels each day with its name, allowing for easy recognition of daily patterns and cycles. This functionality is particularly useful for those who require precise daily segmentation in their trading analysis. By providing a clear visual demarcation, traders can better organize their analysis around daily open and close times, enhancing both strategic and operational planning. The incorporation of day labels ensures clarity in monitoring and evaluating daily market behavior, supporting more informed decision-making processes.

πŸ‘‰ Read | NeuroBook | Share!

#MQL5 #MT5 #Indicator
πŸ‘31❀12πŸ‘¨β€πŸ’»3πŸ€”1πŸ‘Œ1πŸ‘€1
Creating or modifying complex indicators with multiple buffers can be cumbersome. Initial setup involves declaring numerous double arrays, setting up buffers, configuring plot types, and ensuring all elements align correctly. Avoiding errors like 'Array Out Of Range' becomes challenging without careful planning. Handling data across multiple buffers, such as averages, often requires verbose, repetitive code. Strategies to minimize errors include organizing buffers in objects, simplifying data operations, and leveraging object-oriented programming.

Enhancing this approach involves delegating plot configuration to classes and using inheritance to refine data handling. Extending functionality needs flexible class structures to accommodate various plot types, maintaining ease of use and reusability without overwhelming complexity.

πŸ‘‰ Read | Calendar | Share!

#MQL5 #MT5 #Indicator
πŸ‘66❀33⚑3πŸ‘¨β€πŸ’»2πŸ‘Œ1
The Assistant indicator is designed for chart analysis by marking price ranges. With the appearance of a rectangle named "Rice", it automatically projects two lines parallel to the rectangle's upper and lower price. These lines offer a visual aid in chart analysis, persisting even if the indicator is subsequently removed. This feature ensures continuity in analysis without disrupting user-set parameters. Attention must be paid to the naming convention, as only rectangles starting with "Rice" are considered. Monitor these lines for uninterrupted analysis even after the indicator's removal. This systematic approach aids in maintaining clear visual boundaries on price movements.

πŸ‘‰ Read | Calendar | Share!

#MQL5 #MT5 #Indicator
πŸ‘38❀15πŸ‘¨β€πŸ’»3πŸ”₯1πŸ‘Œ1
Dive into the technical intricacies of calculating custom currency indices for algorithmic trading using MetaTrader 5's powerful environment. The article outlines the creation of synthetic instruments like the USDX and EURX through a comprehensive service program. It meticulously details setting up a robust system to continuously update currency indices using latest tick data from a basket of major global currencies. With a focus on practicality, the workflow ensures charts are dynamically updated, providing traders and developers with real-time insights into currency fluctuations. The innovative approach leverages advanced data structures and functional programming within MQL5, enabling the customization of indices with flexible parameters.

πŸ‘‰ Read | NeuroBook | Share!

#MQL5 #MT5 #USDIndex
πŸ‘42❀25πŸ‘¨β€πŸ’»5✍3πŸ‘Œ1
The T3 Indicator offers an efficient method for analyzing market trends by reducing lag and filtering noise. Developed by Tim Tillson, this advanced moving average stands out by combining multiple exponential moving averages (EMAs) to enhance the responsiveness to actual price movements.

The calculation involves a cascade of six sequential EMAs, each using the previous EMA's output. The T3 equation incorporates specific coefficients related to a volume factor, significantly influencing the balance between curve smoothness and responsiveness. With parameters like T3_Length and T3_Factor, users can adjust the period length and responsiveness control to align with their strategy.

Utilize the T3 Indicator for trend identification, trading signals, and understanding support/resistance levels. For implementation, place the file in your MetaTrader 5 indicat...

πŸ‘‰ Read | Calendar | Share!

#MQL5 #MT5 #Indicator
πŸ‘47❀25πŸ†3πŸ‘¨β€πŸ’»3πŸ‘Œ2⚑1✍1
Introducing a callback interface for timing tasks in your projects can enhance reliability and control. Consider utilizing the npm package manager for seamless installations. This interface supports efficient creation and management of timers. Developed by Kuzme Shevelev, it's accessible via GitHub for a comprehensive understanding of its functionalities. By leveraging this resource, developers can facilitate improved time-based operations within their applications. This tool assures more precise scheduling and task execution. For those managing complex systems, integrating such mechanisms can streamline processes and optimize performance. Further details and examples can be found in the provided GitHub repository.

πŸ‘‰ Read | AppStore | Share!

#MQL5 #MT5 #Timer
πŸ‘25❀9πŸ‘Œ5πŸ‘¨β€πŸ’»1
A new implementation enables serialization and deserialization of JSON in MQL5. This function allows developers to handle JSON data directly within MQL5 projects efficiently. Leveraging this function can enhance the integration of MQL5 applications with various data sources and APIs that utilize JSON format. Additionally, developers can opt to use npm for accessing examples and additional support through the project hosted on GitHub. This resource further broadens the potential for developing robust and dynamic trading algorithms. The code and implementation details by Kuzme Shevelev can be accessed through the specified GitHub repository, offering an opportunity for collaboration and innovation in MQL5 coding practices.

πŸ‘‰ Read | Signals | Share!

#MQL5 #MT5 #MQL5
πŸ‘29❀12πŸ‘Œ1πŸ‘¨β€πŸ’»1
Dimensionality reduction is critical in today's data-heavy environment, easing storage and computational needs. By simplifying data structures, methods like Principal Component Analysis (PCA) maintain essential information while reducing complexity. In trading, PCA can help streamline model inputs, making real-time decisions faster, and improving system efficiency. PCA, introduced by Karl Pearson, identifies principal components to capture data variance optimally. Through singular value decomposition, we derive orthogonal vectors ensuring minimal correlation and enhanced model learning. When implementing PCA, data normalization is paramount. In MQL5, matrix operations aid the process, ensuring effective dimensional reduction while preserving 99% of original data information.

πŸ‘‰ Read | CodeBase | Share!

#MQL5 #MT5 #PCA
πŸ‘29❀15πŸ‘¨β€πŸ’»2πŸ‘Œ1
The latest versions of the MetaTrader 5 mobile app for iOS introduce a range of convenient chart features, along with important stability improvements for a smoother user experience.

βœ“ Text object for creating custom labels on charts.
βœ“ Countdown timer that displays the remaining time until the current bar closes.
βœ“ Enhanced crosshair mode – it can now be used as a ruler.
βœ“ Display of position tickets in trading history.
βœ“ Improved quote delay indication if such a delay is used for a trading instrument.
βœ“ Support for new providers in the integrated payment system.
βœ“ Field for entering date of birth when opening demo accounts.
βœ“ Improved chats.

Download the latest version of the app and enhance your trading experience.
πŸ”₯29❀24πŸ‘24✍5πŸ‘¨β€πŸ’»4πŸ€”3πŸ‘Œ2
The latest enhancement to the Strategy Tester's capabilities now includes the functionality to automatically export the history of deals post simulation via an Expert Advisor. This enhancement allows users to save the deal history file in either the shared terminal folder under Common/Files or within the terminal directory at MQL5/Files. The system provides an option for automatic file name generation, while also allowing for manual specification using the Export() method.

For basic usage, begin by instantiating the object within the global scope and incorporate the Export() method call into the OnTester() function. For extended use, instantiate globally and allow for the inclusion of parameter names and values during OnInit(). The Export() method also offers several configurable options, enabling tailored usage scenarios. Such functionality supports the sim...

πŸ‘‰ Read | Quotes | Share!

#MQL5 #MT5 #EA
❀25πŸ‘15πŸ‘¨β€πŸ’»3πŸ‘Œ1
Enhancing algorithmic trading, this article explores the efficient development of the Support and Resistance Strength Indicator (SRSI) with MQL5 in MetaTrader 5. By automating the detection of key levels, traders can improve precision and reduce manual errors. The SRSI processes extensive historical data to identify and differentiate support and resistance zones, providing clear visual indicators and comprehensive alerts. This adaptable solution streamlines technical analysis, enhancing decision-making for traders. The detailed step-by-step guide on custom indicator creation empowers both novice and experienced developers to implement and expand their algorithmic trading strategies efficiently.

πŸ‘‰ Read | Signals | Share!

#MQL5 #MT5 #MetaTrader
πŸ‘25❀17πŸ‘Œ4πŸ’―4πŸ†3✍2πŸ‘¨β€πŸ’»1
Explore an innovative approach for evaluating machine learning models when additional datasets are scarce. This methodology uses resampling techniques, such as cross-validation and bootstrap methods, for reliable model assessment, despite potential computational complexities. By utilizing a single dataset as both training and validation sets, these approaches provide practical solutions for traders and developers facing limited data. The article offers insights into error decomposition, cross-validation, and bootstrap estimation, guiding MetaTrader 5 developers in optimizing algorithmic trading models' performance and ensuring accurate, unbiased error estimation, crucial for robust model evaluation and development. Dive into the intricacies of these sophisticated techniques.

πŸ‘‰ Read | CodeBase | Share!

#MQL5 #MT5 #ML
πŸ‘49❀19πŸ‘Œ4πŸ‘¨β€πŸ’»4⚑3
Analyzing MeanReversionTrendEA reveals a hybrid approach, merging trend following with mean reversion. Essential for traders, it employs Moving Averages (MA) and ATR-based volatility measurements to ensure consistent execution in diverse market conditions.

The dual strategy employs MA crossovers for trend signals and price-to-MA deviations for reversion. With adaptive signals through fast and slow MAs, the system integrates ATR for volatility-based reversion entries. A built-in validator examines volume, margin, and stop levels, ensuring robust trade verification.

Key inputs include MA periods, ATR settings, lot sizing, and risk parameters, facilitating precise configurations. This EA is optimal for major currency pairs on all timeframes, with a preference for H1-H4 for quality signals. Additionally, the robust validation system supports execu...

πŸ‘‰ Read | NeuroBook | Share!

#MQL5 #MT5 #MeanReversion
πŸ‘34❀20πŸ‘Œ2πŸ‘¨β€πŸ’»1
Discover how advanced machine learning techniques can elevate algorithmic trading by integrating them with the Darvas Box Breakout Strategy. This article delves into innovative methods like generating signals using models rather than filtering trades, utilizing continuous over discrete signals, and confirming trades through models trained on varying timeframes. Understand the strategic application of supervised learning in trading, highlighting expert practices like feature engineering and hyperparameter tuning. Explore practical data collection for feature prediction, and learn about model performance analysis on historical data with decision-tree models. Enhance your trading strategies with insights into utilizing machine learning for better predictive accuracy and profit maximization.

πŸ‘‰ Read | Docs | Share!

#MQL5 #MT5 #Strategy
πŸ‘44❀20✍3πŸ‘¨β€πŸ’»3🀝2πŸ‘Œ1
This utility presents a histogram tool for analyzing the durations of custom bars in a subwindow, expressed in minutes. It is specifically designed for custom chart types such as renko boxes, PnF, and equivolume bars, where bar durations vary unlike standard charts organized by fixed timeframes. The limitation of MT5 platform in not supporting variable timeframe charts necessitates using M1 timeframe as the base, offering the highest accuracy in bar alignment due to its granularity. On standard charts, this indicator holds limited value, as it would display identical bar heights. The tool comes with a Directional option, which, when set to true, displays the histogram with positive or negative values based on the bar's price movement, otherwise displays absolute values by default.

πŸ‘‰ Read | Forum | Share!

#MQL5 #MT5 #Indicator
πŸ‘32❀12πŸ‘¨β€πŸ’»4πŸ‘Œ1