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
The MA of Custom RSI indicator integrates a moving average into the RSI framework to reduce erratic signals. This tool is beneficial for those seeking smoother trend analysis and reliable entry and exit points. Key features include a dual-layer analysis presenting both raw and smoothed data for comprehensive evaluation. Customize settings such as MA Period, Method, and Shift for tailored strategies. The intuitive design includes adjustable overbought and oversold levels with clear visual guidance.

For traders working with MetaTrader 5, ensure the RSI example indicator is located in the correct directory. The MA of Custom RSI enhances established strategies, including MA crossover, trend confirmation, divergence detection, and level rejection, by providing a clear momentum perspective.

πŸ‘‰ Read | Signals | @mql5dev

#MQL5 #MT5 #Indicator
❀31πŸ‘4✍3πŸ‘¨β€πŸ’»2⚑1πŸ‘Œ1
The MACD (Moving Average Convergence/Divergence) indicator is a staple in algorithmic trading for identifying momentum. Employ the MACD signal line as a momentum filter to refine trading strategies. For buy logic, consider it enabled when the signal line remains above the zero threshold and the latest bar of the signal line surpasses the preceding bar. This condition inherently incorporates upward crossovers. Conversely, activate sell logic when the signal line falls below the zero threshold and the latest bar closes lower than the prior bar, ensuring inclusion of downward crossovers. Implementing these conditions can enhance decision-making in automated trading systems.

πŸ‘‰ Read | CodeBase | @mql5dev

#MQL5 #MT5 #Indicator
❀31πŸ‘Œ9πŸ‘¨β€πŸ’»2πŸ‘€2
Explore the intricacies of algorithmic trading with the newly developed AB=CD Pattern system in MQL5. Designed for MetaTrader 5, this system identifies bullish and bearish harmonic AB=CD patterns using precise Fibonacci ratios for dynamic trading execution. It handles trade entries, stop-loss, and multi-level take-profit targets with sophisticated chart visualizations featuring triangles, trendlines, and labels that clearly present patterns. Understand the implementation, from the foundational MQL5 coding practices to effective pivot point analysis, ensuring you can harness this strategy for enhanced trading decisions. Learn how it integrates robust trade execution and visualization techniques aimed at improving trading efficiency.

πŸ‘‰ Read | AlgoBook | @mql5dev

#MQL5 #MT5 #HarmonicTrading
❀37πŸ‘¨β€πŸ’»3
Version control is essential for medium to large projects to track changes, organize code, and revert to previous versions using systems like Git or SVN. Despite MetaEditor supporting SVN-based MQL Storage, Git is preferred due to its robust branching and merging features. MetaQuotes plans to integrate Git with MetaEditor and launch MQL5 Algo Forge, an in-house Git alternative.

To transition, create a new Git repository, clone it locally, and configure with .gitignore for efficient file management. Utilize tools like VSCode and Git for repository management. Store projects in separate branches or repositories depending on project dependencies. Transition involves creating a main repository, configuring branches, and managing changes smoothly.

πŸ‘‰ Read | AlgoBook | @mql5dev

#MQL5 #MT5 #Git
❀29πŸ‘Œ8✍4πŸ‘2πŸ‘¨β€πŸ’»1
Traders often encounter inconsistency in strategies due to reliance on multiple indicators without a cohesive framework. A single Expert Advisor (EA) integrating Smart Money Concepts (SMC) strategies offers a powerful solution. SMC includes understanding market behavior through Order Blocks (OB), Break of Structure (BOS), and Fair Value Gaps (FVG). The EA simplifies workflow, automates trading decisions, and enhances focus on high-probability price-action signals. By unifying these concepts, traders achieve efficient, consistent, and adaptive trading aligned with changing market conditions, reducing guesswork and enhancing trade execution in the process. This approach fosters disciplined, rule-based market engagement.

πŸ‘‰ Read | VPS | @mql5dev

#MQL5 #MT5 #EA
❀59πŸ‘Œ19πŸ’―9πŸ‘¨β€πŸ’»9⚑2
An indicator is available that assigns distinct colors to bullish and bearish candles, enabling clear visualization of market trends. By differentiating between bullish and bearish candles through color, this tool eliminates confusion that arises from candles with identical colors. The design facilitates quick identification of market movement by visually distinguishing between upward and downward trends. This simplifies the process of reading charts, making it easier to interpret market signals accurately. Users can utilize this feature to enhance the precision of their chart analysis without misinterpretations.

πŸ‘‰ Read | AppStore | @mql5dev

#MQL4 #MT4 #Indicator
❀34πŸ‘3🀑2πŸ‘¨β€πŸ’»2
Updating our cointegration model in real-time is crucial for dynamic portfolio management. Real-life trading requires adjusting stock weights with every new data point. Our approach caters to retail traders with modest resources, applying statistical arbitrage techniques to identify correlated assets and cointegrated stocks.

We've restructured our Python scripts for efficiency. The database now acts as the main interface, updating our trading model and storing relevant parameters. The pipeline includes statistical tests like Pearson correlation, Engle-Granger, ADF, and KPSS for comprehensive analysis.

On the MQL5 side, we've made strategy parameters flexible by integrating JSON parsing and global variables, facilitating seamless database interaction for real-time updates. Maintaining a clean architecture with most functions in an MQL5 header f...

πŸ‘‰ Read | AlgoBook | @mql5dev

#MQL5 #MT5 #Cointegration
❀30πŸ‘7πŸ‘¨β€πŸ’»4✍1
Navigating complex market dynamics is streamlined with the innovative Market Sentiment indicator for MetaTrader 5. This tool amalgamates signals across multiple timeframes into a cohesive, visual panel, differentiating market sentiments into five categories: bullish, bearish, risk-on, risk-off, and neutral. It leverages moving averages and swing analysis to identify dominant trends and potential breakouts, providing a comprehensive view of market conditions. Multi-timeframe integration ensures traders can align short-term entries with broader trends, enhancing strategic decision-making and trade consistency. Efficient sentiment visualization reduces uncertainty, offering a structured approach that aids in quick market assessments and informed trading decisions.

πŸ‘‰ Read | Forum | @mql5dev

#MQL5 #MT5 #Indicator
❀35πŸ‘¨β€πŸ’»4πŸ‘2
The ongoing transition from SVN-based MQL5 Storage in MetaEditor to the Git version control with MQL5 Algo Forge offers increased flexibility, particularly through repository branching. Initially, a new repository was created, and a local development setup with Visual Studio Code was established. The archival of existing projects and preparation of the main branch facilitated structured project organization. Recent enhancements in MetaEditor now provide integrated support for Algo Forge, simplifying workflows previously reliant on external tools.

Crucially, the introduction of Shared Projects in MetaEditor resolves previous dilemmas regarding repository handling. The mql5 repository remains for traditional users, while other repositories are accessible via the Shared Projects folder. This enables seamless integration of separate libraries and project files....

πŸ‘‰ Read | Freelance | @mql5dev

#MQL5 #MT5 #Algorithm
❀55πŸ‘9πŸ†4πŸ‘¨β€πŸ’»4✍1πŸ”₯1
An alternative version of the Average Directional Index (ADX) is utilized across various prominent trading platforms. This variant presents differences compared to the standard ADX provided with certain trading software tools. Traders leveraging diverse platforms may encounter this ADX version differing in functionality and analytical outputs. Such variations can offer a unique perspective on market trends and movement strength, enhancing the decision-making process. Understanding these distinctions is essential for optimizing strategy implementation and obtaining accurate market analysis. It is beneficial for traders to explore different tools to align with specific trading needs and strategies effectively.

πŸ‘‰ Read | AlgoBook | @mql5dev

#MQL4 #MT4 #ADX
❀38πŸ‘6⚑3πŸ‘¨β€πŸ’»2πŸ€”1
Explore the latest MQL5 innovation with our 3 Drives pattern system. Leveraging Fibonacci retracements, this system identifies bullish and bearish harmonic patterns to streamline algorithmic trading. It automates trade execution with flexible stop loss and multi-level take-profit options, enhancing strategy precision. Visualize pattern structures effectively with integrated charting tools like trendlines and labels. Dive into the mechanics behind detecting pivotal price movements, and backtest to refine your trading approach. Perfect for developers and traders aiming to harness advanced pattern recognition and expand their MetaTrader 5 strategies. Discover the transformative potential of structured trading methodologies today.

πŸ‘‰ Read | Docs | @mql5dev

#MQL5 #MT5 #Strategy
❀35πŸŽ‰8πŸ‘¨β€πŸ’»4⚑1
Dive into MetaTrader 5's implementation of Dynamic Mode Decomposition (DMD), a revolutionary technique for analyzing complex data systems. Originally developed for fluid dynamics, this method breaks down data into modes, each with distinct oscillation frequencies and growth or decay rates, simplifying the analysis of dynamic systems. Explore MetaTrader 5's use of SVD-based and QR-based methods, focusing on the SVD approach. Learn to utilize DynamicModeDecomposition() for algorithmic trading, understanding key inputs, matrix configurations, and preprocessing options. Discover how DMD eigenvalues, modes, and amplitudes provide insights into market dynamics and aid in crafting robust trading strategies.

πŸ‘‰ Read | Signals | @mql5dev

#MQL5 #MT5 #DMD
❀55πŸ‘11πŸ†6πŸ”₯5πŸ‘¨β€πŸ’»4πŸ‘Œ2
Veltrix Emperor is an Expert Advisor meticulously designed for the USDJPY pair. It employs a strategy validated over a year of live trading and uses a methodical entrance approach that confirms trends three times before engaging in trades. This prevents premature entries often observed with other EAs. Unlike many EAs that rely heavily on fixed stop losses, Veltrix Emperor features a sophisticated recovery system. It manages to close losing trades quickly while minimizing risk, maintaining a maximum lot size of 0.21.

The EA incorporates specific parameters, including customizable lot size optionsβ€”either fixed or percentage-basedβ€”and slippage controls to ensure precise order entry. This flexibility allows for dynamic money management tailored to the account balance. The EA also utilizes a unique "Hidden Profit Close Logic" to protect against potential manipulati...

πŸ‘‰ Read | AppStore | @mql5dev

#MQL4 #MT4 #EA
❀37πŸ‘6πŸ‘¨β€πŸ’»4⚑2
A new article addresses the development and management of composite graphical objects. The aim is to create both predefined and custom composite graphical objects, with a focus on managing and updating these objects on charts effectively. Key tasks include implementing and handling CHARTEVENT_OBJECT_DRAG for enhanced object manipulation and recalculating coordinates for dependent objects.

Further improvements were made to library classes, specifically refining method names and enhancing the clarity of code logic. Tests confirm the system correctly updates object coordinates upon changes and successfully removes composite graphical objects when base objects are deleted, ensuring cohesive functionality. Future updates will address real-time tracking improvements during object manipulation on charts.

πŸ‘‰ Read | VPS | @mql5dev

#MQL5 #MT5 #GraphicalObjects
❀59πŸ‘8πŸ‘¨β€πŸ’»7πŸ€”2
The channel length feature with a default of 10 enhances the sensitivity to price movements, optimizing response times. Meanwhile, an average length defaulting at 21 helps in smoothing the WT1 line, providing clearer visual signals. These settings are crucial for accurate cross signals, where WT1 crossing WT2 is a pivotal point, suggesting potential buy opportunities during upward crosses and sell options during downward crosses. This setup is particularly beneficial for traders focused on securing dependable trend-following and reversal signals across diverse timeframes and currency pairs. Such configurations aid in strategic decision-making without unnecessary noise.

πŸ‘‰ Read | NeuroBook | @mql5dev

#MQL5 #MT5 #Indicator
❀44πŸ‘8πŸ†3πŸ‘¨β€πŸ’»1
The MetaTrader Market, a vibrant community for traders, users, and developers, offers vast opportunities for those seeking profitable trading systems. An effective evaluation process for automated trading systems is crucial. Experienced developers know the importance of strategic testing that includes real ticks, bar data, and proper backtest methodologies. Ensuring reliable performance involves forward testing and understanding optimization processes, money management, and the nuances between MetaTrader 4 and 5. The article dives into these key areas, providing insights for traders and developers to enhance their strategy selection process and develop robust trading systems that can withstand market complexities.

πŸ‘‰ Read | VPS | @mql5dev

#MQL5 #MT5 #EA
❀91πŸ‘15πŸ†6πŸ‘€4🀩1πŸ‘¨β€πŸ’»1
The indicator offers flexibility by sending a push notification to a mobile device and playing an alert when the specified trigger level (trigLv) is crossed within a set deviation, provided the relevant input parameters are enabled. Horizontal lines highlight the trigger level and deviation limits, with customizable style, color, and thickness. Multiple indicator copies with varying levels can be added to a chart, generating signals upon intersection. The trigLv level activates only once per bar, with re-activation possible after the new bar opens. This design reduces excessive triggers on each tick, ensuring efficient signal management.

πŸ‘‰ Read | Signals | @mql5dev

#MQL4 #MT4 #Indicator
❀40πŸ‘Œ5πŸ‘4πŸ‘¨β€πŸ’»1
Understanding Fair Value Gaps (FVG) is essential for traders leveraging Smart Money Concepts. These gaps emerge from rapid price movements due to strong institutional buying or selling pressure, leaving unbalanced price ranges. Primarily occurring during high-impact news releases or major market player activities, FVGs provide opportunities for strategic trade execution.

Analysts advise evaluating FVGs by marking unbalanced areas and aligning them with trend direction and narrative. A typical strategy involves monitoring larger timeframes for FVGs, using indicators like bullish engulfing or bearish engulfing candles, and looking for market structure changes during active sessions to confirm trade entries. This disciplined approach helps in effective FVG analysis and trade execution.

πŸ‘‰ Read | Signals | @mql5dev

#MQL5 #MT5 #Trading
❀35πŸ‘12⚑4πŸ‘¨β€πŸ’»1
Explore StockFormer, a cutting-edge hybrid trading system that leverages predictive coding and reinforcement learning (RL) to tackle complex financial market challenges. StockFormer integrates modified Transformer branches to capture long-term trends, short-term fluctuations, and cross-asset dependencies, using Diversified Multi-Head Attention (DMH-Attn) for enhanced data analysis. By combining predictive coding with policy learning through an Actor-Critic approach, StockFormer extracts hidden patterns from noisy market data effectively. Experiments reveal its superior predictive accuracy and profitability in volatile markets. Delve into its MQL5 implementation to understand how StockFormer revolutionizes trading strategy development through its novel multi-head convolutional layer and efficient OpenCL programming.

πŸ‘‰ Read | CodeBase | @mql5dev

#MQL5 #MT5 #RL
❀33πŸ‘5πŸŽ‰3πŸ‘¨β€πŸ’»1
In the ongoing development of our automated optimization pipeline for Expert Advisors (EA), we've yet to fully automate the decision-making process. When implementing strategies, it's crucial to balance automation with the tactical choice of parameters to ensure long-term profitability. The Validate EA by @fxsaber is a notable tool in this realm, facilitating periodic re-optimization over extensive periods.

Analyzing code bottlenecks is essential. The SymbolInfo methods were frequently called, highlighting inefficiencies. Replacing redundant calls with a shared CSymbolsMonitor class, using Singleton patterns, improved performance by managing symbol-related operations at a higher level, thus reducing unnecessary resource consumption.

The VirtualAdvisor and CVirtualOrder classes were refined, enhancing the code's efficiency by limiting symbol informati...

πŸ‘‰ Read | AlgoBook | @mql5dev

#MQL5 #MT5 #automation
❀74πŸ‘11πŸ‘Œ7✍3⚑3πŸ”₯3πŸ‘¨β€πŸ’»1