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 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
This trading algorithm offers four distinct price action strategies: High-Frequency Trading (HFT) Tick Momentum, Candlestick Engulfing Patterns, RSI Reversals, and EMA Crossover. Each strategy addresses different trading needs, providing flexibility for diverse market conditions. Traders can enter the market with immediate Market Orders or planned entries using Stop and Limit Orders.

The advanced Martingale System introduces three variations: Classic Multiplier, Multiplier with Sum, and Sum with Initial, offering enhanced control over trade size management. With dynamic lot sizing, users can select a fixed lot size or allow automatic calculations based on account balance and stop-loss parameters.

Comprehensive trade management tools include setting stop-loss in points and defining targets with a Risk:Reward Ratio. Version 1.10 introduces a dual-mode Trailin...

πŸ‘‰ Read | Signals | @mql5dev

#MQL5 #MT5 #Strategy
❀42⚑10πŸ‘4πŸ”₯4πŸ‘¨β€πŸ’»1
The integration solution for traders leveraging MetaTrader 5 enables streamlined communication via Telegram. This package supports real-time trading notifications, delivering instant alerts for trade actions and automatic chart captures, complete with annotations. Risk management tools provide alerts on critical conditions, such as drawdowns and stop-out levels. The system's architecture includes a message queue for reliable delivery and supports broadcasting to multiple Telegram channels.

Customization options include a template system for tailored messaging while smart rate limiting ensures compliance with API constraints. Essential system requirements entail MetaTrader 5 build 2375 or higher, a Telegram Bot Token, and an active internet connection. The implementation begins with creating a Telegram Bot via @BotFather and retrieving necessary C...

πŸ‘‰ Read | VPS | @mql5dev

#MQL5 #MT5 #EATrading
❀28πŸ‘7πŸŽ‰6🀩4πŸ‘¨β€πŸ’»1
Discover how a new 5 Drives pattern system in MQL5 leverages harmonic trading strategies using precise Fibonacci ratios and pivot points. This advanced setup automates trade executions with flexible entry, stop-loss, and multi-level take-profit options, all visualized through detailed chart objects like triangles, trendlines, and labels. The framework identifies bullish and bearish reversals with specific retracement sequences, ensuring accuracy in trade decisions. Ideal for developers seeking robust, customizable algorithmic trading strategies, this system provides clarity and efficiency in detecting and trading harmonic patterns, backed by thorough backtesting results for effective deployment.

πŸ‘‰ Read | NeuroBook | @mql5dev

#MQL5 #MT5 #AlgoTrading
❀68✍8πŸ‘Œ3πŸ‘¨β€πŸ’»1πŸ‘€1
The indicator is designed to enhance signal detection capabilities. It sends a push notification to a mobile device if notifications are enabled and plays an alert if alerts are activated when the specified trigger level is crossed within the deviation limits. Users can customize the horizontal lines representing the trigger level and deviation limits in terms of style, color, and thickness. Multiple instances of the indicator can be added to a chart, each with distinct levels, to receive signals from their intersections. The trigger activates only once per bar, ensuring reduced frequency of signals by allowing reactivation only with the opening of a new bar. This minimizes the noise from frequent tick triggers.

πŸ‘‰ Read | CodeBase | @mql5dev

#MQL5 #MT5 #Indicator
❀37😱7πŸ”₯2πŸ‘¨β€πŸ’»1
Quantum computing is transforming the landscape of algorithmic trading. By leveraging principles like superposition and entanglement, quantum systems analyze multiple market scenarios simultaneously, offering a new way to understand market dynamics. Unlike traditional computing, which processes information sequentially, quantum models consider simultaneous possibilities, allowing for complex inter-market correlations analysis.

The integration of quantum algorithms with classical technical analysis can break new ground in financial markets. Quantum Phase Estimation (QPE) and other quantum methods enable the modeling of complex market relationships. Despite initial hurdles, early tests show promise in improving prediction accuracy beyond random guesses.

Combining quantum computing with machine learning metrics like accuracy and precision can capture p...

πŸ‘‰ Read | NeuroBook | @mql5dev

#MQL5 #MT5 #Quantum
❀35πŸ‘8⚑4🀑2πŸ‘¨β€πŸ’»1
Explore the innovative Market DNA concept, which creates a unique price-action signature for each currency pair, using metrics like volatility and session rhythms. The MQL5 implementation builds a "DNA passport" on MetaTrader 5, compressing market data into actionable insights. This robust system quantifies market regimes, aids in strategic adaptation, and flags significant shifts through mutation detection. Designed for both developers and traders, it automates analysis, enhances decision-making, and records signals for further use. By integrating Market DNA into trading workflows, gain a strategic edge with data-driven adaptability, consistent entries, risk-aware sizing, and efficiency in trade selection.

πŸ‘‰ Read | Signals | @mql5dev

#MQL5 #MT5 #AITrading
❀28πŸŽ‰4πŸ‘¨β€πŸ’»1
Trading around major economic announcements like the Non-Farm Payroll (NFP) release poses significant risks for traders due to the rapid, volatile price movements. Professional traders avoid chasing initial spikes that can lead to swift reversals and losses. Instead, they strategically plan safer entry points by leveraging technical analysis tools, such as Fibonacci retracement.

Fibonacci retracement, derived from the Fibonacci sequence, helps traders identify potential reversal or continuation zones during market pullbacks. Common retracement levels, like 23.6%, 38.2%, and especially 61.8%, serve as psychological areas where prices may react before continuing their trend.

For a practical application, implementing an algorithmic strategy using these principles can guide traders to navigate post-NFP market conditions effectively. Through analysis a...

πŸ‘‰ Read | Calendar | @mql5dev

#MQL5 #MT5 #Fibonacci
❀71πŸ†5⚑3πŸ‘Œ3πŸ‘¨β€πŸ’»1
A script has been developed to automatically set the stop-loss level for all open orders to a user-defined value. It streamlines risk management by allowing users to input a specific stop-loss parameter across multiple positions. This automation enhances trading efficiency and reduces the need for manual adjustments, potentially improving overall trading strategy effectiveness. Users should carefully evaluate the entered stop-loss value to ensure it aligns with their risk management protocols, market conditions, and overall trading strategy to ensure optimal performance and risk control. Always consider testing in a safe environment before deployment.

πŸ‘‰ Read | Freelance | @mql5dev

#MQL4 #MT4 #script
❀29✍1πŸ‘Œ1πŸ‘¨β€πŸ’»1
Discover the Parafrac V2 Oscillator, a cutting-edge tool for technical analysis. This innovative oscillator merges the Parabolic SAR with the Average True Range (ATR) to offer a more stable system for identifying trend dynamics and potential reversal zones. By replacing the Fractal component with ATR, it overcomes limitations like noise from extreme price spikes found in its predecessor. Practical for both short-term scalpers and long-term trend traders, the Parafrac V2 offers clear signals while reducing interpretive complexity. Its cross-market normalization and adjustable settings make it a versatile choice for bespoke trading strategies, elevating both trading analysis and decision-making.

πŸ‘‰ Read | Docs | @mql5dev

#MQL5 #MT5 #Oscillator
❀32πŸ‘7⚑1✍1πŸ‘¨β€πŸ’»1
Traders often face challenges such as overtrading and emotional decision-making, especially under strict rules. The Account Performance Matrix indicator offers an effective solution by acting as an in-built risk manager. It automatically monitors account metrics and enforces risk discipline through real-time tracking of equity, profit/loss, and drawdowns. This tool closes positions when risk limits are breached, preventing further trading and protecting capital. With customizable settings, it caters to different risk appetites and enhances decision-making. By visualizing critical performance data, this system supports traders in achieving consistent results, whether targeting prop-firm challenges or growing personal accounts sustainably.

πŸ‘‰ Read | Quotes | @mql5dev

#MQL5 #MT5 #Indicator
❀47⚑3πŸ‘€3πŸ‘¨β€πŸ’»1