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
In 2019, the Artificial Electric Field Algorithm (AEFA) was introduced as an optimization algorithm inspired by natural phenomena. Originating from Coulomb's law, AEFA models agents as charged particles that exert electrostatic forces on one another. This innovative approach aims to address complex optimization challenges by leveraging the principles of attraction and repulsion analogous to electrical charges. Detailed equations have been formulated within this framework, incorporating elements such as the Coulomb constant, particle charges, force calculations, and motion updates, all essential for algorithmic implementation and effectiveness. AEFA's methodologies facilitate nuanced search space exploration, balancing global search and local optimization.
#MQL5 #MT5 #algorithm #AI

Read more...
πŸ‘46❀20πŸ‘Œ8⚑4πŸ‘¨β€πŸ’»3😁1🀑1
A moving average indicator simplifies the analysis by calculating based on the currently viewed timeframe. It relies on the timeframe window and the defined moving average period. For instance, a chart on a 15-minute timeframe displays an Exponential Moving Average (EMA) on the close price with a period of 16. Conversely, a 5-minute timeframe chart may utilize an EMA period of 48 on the same price type. Despite differing timeframes, both charts maintain a consistent moving average relative to the underlying market structure. This showcases the adaptability of moving averages in providing insight across various timeframes.
#MQL4 #MT4 #Indicator #Trading

Read more...
πŸ‘48❀16⚑2πŸ‘¨β€πŸ’»2πŸ‘Œ1
Explore the use of Autoencoders in algorithmic trading. Delve into their architecture, comprising encoder and decoder blocks, which compress and reconstruct data efficiently. Learn how Autoencoders tackle tasks like data compression, pre-processing, and noise removal, often differing from PCA in their approach by using complex, non-linear transforms. Discover potential trading applications such as data pre-processing or market trend evaluation, leveraging Transfer Learning to extend model utility. Engage in practical experimentation with a simple autoencoder, normalizing data inputs for effective model training, optimizing market insights for traders and developers.
#MQL5 #MT5 #AITrading #Algorithm

Read more...
❀23πŸ‘14πŸ‘Œ2✍1πŸ‘¨β€πŸ’»1
The following provides a straightforward MQL5 code example for an indicator designed to visualize spread[] data values, represented in points. These values are captured by the OnCalculate event handler. The spread data are consistent with those obtained through the CopyRates function when gathering MqlRates data. This example serves as a starting point for developers looking to monitor spread fluctuations accurately. The indicator can be customized further to suit various analytical requirements, allowing traders and developers to integrate spread analysis seamlessly into their trading strategies.
#MQL5 #MT5 #MQL #Indicator

Read more...
πŸ‘31❀11πŸ‘Œ1πŸ‘¨β€πŸ’»1
Enhancements to the MQL5 Economic Calendar streamline news event tracking, improving user experience for traders and developers. New database views display past and upcoming events, while expanded expert input menus refine news filter options and stop order methods. These updates leverage previous code to boost strategy tester performance and manage trade slippage and stop orders. Key features include customizable news profiles, structured calendar components, and precise SQL handling for event data retrieval. These improvements offer practical benefits, allowing developers to create more responsive and effective trading strategies by efficiently managing economic news impacts.
#MQL5 #MT5 #News #AlgoTrading

Read more...
πŸ‘29❀8πŸ”₯5πŸ‘¨β€πŸ’»4🀯3😁2πŸ‘Œ1
In 2019, the Artificial Electric Field Algorithm (AEFA) was introduced as an optimization algorithm inspired by natural phenomena. Originating from Coulomb's law, AEFA models agents as charged particles that exert electrostatic forces on one another. This innovative approach aims to address complex optimization challenges by leveraging the principles of attraction and repulsion analogous to electrical charges. Detailed equations have been formulated within this framework, incorporating elements such as the Coulomb constant, particle charges, force calculations, and motion updates, all essential for algorithmic implementation and effectiveness. AEFA's methodologies facilitate nuanced search space exploration, balancing global search and local optimization.
#MQL5 #MT5 #algorithm #AI

Read more...
❀51πŸ‘33🀯1πŸ‘Œ1πŸ‘¨β€πŸ’»1
Highlighting high-volume bars can be an effective way to analyze market momentum and trend confirmation in trading. The approach involves coloring bars when their volume surpasses a standard deviation or a specified multiple of it. This technique leverages volume as a critical metric for confirming the break of significant price levels.

Incorporating volume analysis into your trading strategy can provide additional context to price movements and help in identifying potential strength or weakness in a market move. By quantifying volume deviations, traders can gain insights into market dynamics that may not be apparent through price analysis alone.

This method can assist in distinguishing between legitimate breakouts and false signals, providing a more comprehensive picture of market activity. It's a reliable tool to consider for technical analysis.
#MQL4 #MT4 #Algorithm #AI

Read more...
❀31πŸ‘19πŸ‘Œ3πŸ‘¨β€πŸ’»2⚑1πŸ€”1
Dive into the intricate details of the Accelerator Oscillator (AC), a dynamic tool in algorithmic trading. Learn its calculation, interpretation, and application in strategic trading systems. Understand how to harness the AC for insightful momentum analysis, leveraging MetaTrader 5's MQL5 language. Explore three distinct strategies that utilize the AC indicator: Zero Crossover, AC Strength, and AC & MA. Each offers unique perspectives on market movements, facilitating the automatic generation of buying or selling signals. Ideal for traders and developers aiming to enhance their algorithmic trading capabilities, this resource offers a foundational approach to crafting robust trading systems.
#MQL5 #MT5 #Trading #Indicator

Read more...
πŸ‘57❀29⚑3✍2πŸ‘Œ2πŸ†2πŸ‘€1
An indicator has been developed to display the names of the days of the week directly on financial charts using text labels. Users can customize the settings via input parameters. This feature can enhance chart readability and provide temporal context. By aligning analysis with specific weekdays, traders and developers can streamline their review process. The integration of these labels into the chart interface can support more precise timing in strategy testing and historical data analysis. Such a tool can be beneficial for those needing to correlate trading patterns or events with day-specific data within technical analysis frameworks.
#MQL4 #MT4 #Indicator #Chart

Read more...
πŸ‘35❀19πŸ€”3πŸ‘¨β€πŸ’»2πŸ‘Œ1
A new script enables users to display Strategy Tester reports directly on a chart. Here is the process: place the `report_into_chart.mql5` file in the `\MQL5\Scripts` directory. Compile the file to generate `report_into_chart.ex5`. Extract the `StrategyTester.zip` archive and move the `StrategyTester.html` into the `\MQL5\Files` directory. Refresh the Metatrader 5 platform. Execute the `report_into_chart` script within Metatrader. The deals will be visualized on the chart with blue arrows indicating buy positions and red arrows for sell positions. Users may substitute the `StrategyTester.html` with an alternative *.html report from the Strategy Tester at their discretion. This technique provides a visual representation of strategy evaluation data within Metatrader.
#MQL5 #MT5 #script #Strategy

Read more...
❀36πŸ‘12πŸ‘Œ2πŸ€“1πŸ‘¨β€πŸ’»1
Developers and traders exploring algorithmic trading can benefit from a unique take on the traditional moving average crossover strategy. By implementing equal-period moving averagesβ€”one applied to opening prices and the other to closing pricesβ€”this approach addresses the inherent lag in conventional methods. This setup is applied to the highly active EURUSD pair, offering insights for improving trading strategies. The proposed system leverages careful integration with MetaTrader 5's event-driven architecture, utilizing expert advisors and dynamic stop-loss adjustments through ATR. The result is a more responsive strategy with improved profitability over a volatile four-year period, showcasing the potential for versatile application across different indicators.
#MQL5 #MT5 #Strategy #AlgoTrading

Read more...
πŸ‘26❀16✍5πŸ‘¨β€πŸ’»5πŸ‘Œ2
The article highlights advanced ensemble techniques for classification tasks. The emphasis is on combining models to enhance classification accuracy, with a focus on ordinal class rank outputs. These techniques are necessary due to the prediction instability in numeric-based classifiers. A key assumption is that component models are trained on datasets with exclusive and exhaustive class targets, allowing for either categorical class outputs or numeric scores.

Ensemble methods such as majority rule, Borda count, and model averaging are examined. The majority rule method focuses on the class receiving most votes. The Borda count captures full prediction spectrum by scoring classes based on their relative rankings. Averaging component outputs utilizies numeric values for enhanced ensemble performance, though it requires careful consideration of the outputs’ co...
#MQL5 #MT5 #Ensemble #ML

Read more...
❀25πŸ‘13πŸ‘¨β€πŸ’»5⚑1πŸ‘Œ1
Explore the Accelerator Oscillator to enhance your algorithmic trading strategies effectively. This indicator focuses on tracking the acceleration or deceleration of momentum, offering valuable signals for trade entries and exits. Unlike traditional velocity indicators, this tool highlights shifts before price reversals, proving advantageous across forex, stocks, and commodities markets. It is visually represented as a histogram, allowing for easy interpretation by traders. Despite its utility, it requires complementary indicators and is less reliable in choppy markets. Enhance your MetaTrader 5 skills by understanding these nuances to make well-informed trading decisions. Explore patterns to identify more accurate trading opportunities.
#MQL5 #MT5 #Indicator #Strategy

Read more...
πŸ‘26❀14πŸŽ‰2πŸ‘Œ2⚑1πŸ‘¨β€πŸ’»1
In the previous article, the development of the MSFformer model was discussed, specifically focusing on the CSCM and Skip-PAM modules. These modules are instrumental in constructing temporal feature trees and extracting scalable time series information respectively. This continues with training and performance evaluation on real-world data, utilizing the MetaTrader 5 Strategy Tester.

To commence model training, the architecture must be defined explicitly. The MSFformer, tailored for time series forecasting, is integrated into the Environmental State Encoder. This integration is accomplished through specific methods defining model structure, data processing, and feature extraction via batch normalization and transposition techniques.

The model's architecture provides for preprocessing and sequence analysis, using layers such as convolutional ones to achieve...
#MQL5 #MT5 #Algorithm #AI

Read more...
πŸ‘37❀25πŸ‘¨β€πŸ’»4✍3πŸ‘Œ2
Discover an indicator that displays candlestick patterns on charts efficiently. Users can select from various patterns, enhancing the analytical capabilities of their trading strategy. This tool aids in recognizing key market signals, providing traders with valuable insights into potential market movements. The ability to switch between different patterns offers flexibility and precision when analyzing market trends. Continuous improvements and error corrections ensure optimal performance and reliability in diverse trading environments, reinforcing the tool’s utility for both novice and experienced traders seeking to refine their technical analysis approach.
#MQL5 #MT5 #Indicator #Candlestick

Read more...
πŸ‘46❀20πŸ‘¨β€πŸ’»4πŸ‘Œ1
Algorithmic trading strategies leveraging moving averages excel in aligning trading applications with long-term market trends. Their effectiveness wanes in ranging markets, potentially leading to unfavorable outcomes. Acknowledging market transitions between trending and range-bound regimes can enhance strategy precision. Often, traders classify markets to apply suitable strategies daily, but literature on regime switching is scarce. A dynamic trading strategy capable of detecting regime shifts independently can replace traditional single-condition strategies. This approach involves a trading channel calculated using standard technical indicators like ATR in MetaTrader 5. Enhanced strategy rules significantly increased win rates in back tests, underscoring the value of adaptive strategies.
#MQL5 #MT5 #AlgoTrading #Strategy

Read more...
πŸ‘40❀8πŸ‘¨β€πŸ’»6πŸ‘Œ1πŸ’”1
Dive into the world of algorithmic trading with our comprehensive guide on developing a Swing Entry Monitoring EA for MetaTrader 5. This expert advisor leverages the Exponential Moving Average (EMA 100) to provide traders with real-time alerts on BTCUSD price movements, automating the tedious task of manual monitoring. Discover how to design, test, and optimize this EA, enhancing your trading strategies with efficient coding practices and dynamic alert systems, including integration with Telegram. Perfect for both seasoned developers and those eager to explore algorithmic trading, this project lays the groundwork for robust trading solutions adaptable to various instruments and indicators.
#MQL5 #MT5 #BTCUSD #EA

Read more...
❀29πŸ‘20πŸ‘¨β€πŸ’»3πŸ‘Œ1
Developers and traders, explore the latest in algorithmic trading with our new modular replay/simulator system. This innovative approach allows plug-and-play functionality, eliminating extensive code rewrites. Modules are easily customizable via scripts, enhancing both demo and live account adaptability. By using user events instead of global terminal variables, the system ensures efficient communication and data integrity between components. The setup includes a streamlined control indicator, employing advanced buffer management to maintain state consistency even during chart reloads. Gain powerful insights and improve your trading strategies while minimizing reprogramming efforts with our cutting-edge solution.
#MQL5 #MT5 #Simulator #AlgoTrading

Read more...
πŸ‘24❀12πŸ‘¨β€πŸ’»4πŸ†3⚑1πŸ‘Œ1
Explore the innovative Adaptive Social Behavior Optimization (ASBO) model for algorithmic trading, inspired by the social structures of organisms. By integrating elements like leadership and neighborhood dynamics, ASBO efficiently addresses global optimization challenges. Key concepts such as dynamic leadership and self-assessment drive the algorithm's success. Implementing Schwefel's method for self-adaptive mutations within MetaTrader 5, this model adjusts mutation parameters with a Gaussian distribution, providing powerful adaptability for evolving trading strategies. A robust mutation strategy ensures exploration of solution spaces, maximizing precision in trading parameters. Suitable for developers keen on enhancing algorithmic efficiency and innovation in financial markets.
#MQL5 #MT5 #Algorithm #Optimization

Read more...
πŸ‘40❀21πŸ‘¨β€πŸ’»9πŸ†4✍3πŸ‘Œ2
An indicator has been developed to quantify the frequency, expressed as a percentage, at which the 'Close' price exceeds or falls short of the 'iMA' value over a specified period. This calculation period matches the averaging period used by the indicator. The 'iMA' indicator has been visually integrated into the main window to enhance interpretation. This tool can provide valuable insights for traders and analysts by highlighting the relative performance of the 'Close' price in relation to the moving average, potentially aiding in market trend assessment and decision-making processes. Ensure setup is correct for optimal analysis.
#MQL5 #MT5 #Indicator #Trading

Read more...
πŸ‘28❀18πŸ‘Œ3πŸ‘¨β€πŸ’»3⚑2