MQL5 Algo Trading
388K 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 methodology presented here enhances technical analysis by integrating advanced volume insights with machine learning. It leverages calculus-based volume derivatives and LSTM neural networks, offering a modern analytical framework that surpasses conventional approaches. The significance of volume as a market activity indicator is explored, focusing on how derivative calculations and neural network predictions can preempt price movements. This system emphasizes volume dynamics over price data, allowing for early trend detection and market reversals. Risk management is prioritized, incorporating strict loss limits and dynamic stops, making it adaptable to varying market conditions. Thorough backtesting and parameter tuning are essential prior to implementation.
#MQL5 #MT5 #AlgoTrading #VolumeAnalysis

Read more...
πŸ‘36❀33πŸ‘Œ10✍4πŸ‘¨β€πŸ’»3
The 'Ask' line on a candlestick chart is calculated by taking the 'Close' price and adding the corresponding value from the 'spread' array. This array is obtained during the OnCalculate function call. Understanding how the 'Ask' line is constructed is crucial for analyzing price movements and spread dynamics in financial markets. It provides insight into the cost associated with executing market orders at quoted prices. This calculation is vital for developing precise trading strategies and assessing potential trade impacts. Ensure to keep your spread data updated and accurately integrated for real-time analysis and decision-making.
#MQL5 #MT5 #Indicator #Trading

Read more...
πŸ‘30❀18✍6πŸ‘¨β€πŸ’»3πŸ‘Œ2πŸ‘€2
Dive into the intricacies of Proximal Policy Optimization (PPO) for reinforcement learning within algorithmic trading using MetaTrader 5. This sophisticated approach optimizes policies with small, calculated updates to stabilize learning processes, preventing drastic changes that may hinder performance. PPO excels with a clipping function ensuring gradual improvements, making it ideal for dynamic markets with high volatility. Implementing PPO in MQL5 involves integrating a data structure for managing PPO cycles and gradually refining trading strategies without overwhelming policy shifts. Experience stable, efficient learning suitable for both discrete and continuous action spaces, unlocking new potential for traders and developers.
#MQL5 #MT5 #ReinforcementLearning #PPO

Read more...
πŸ‘45❀34✍4πŸ‘Œ3πŸ‘¨β€πŸ’»2⚑1🀣1
The concept behind using two Stochastic Oscillator indicators, categorized as 'Fast' and 'Slow', involves displaying them within a single subwindow. In this configuration, the areas between their 'Main' lines are filled. The setup allows users to configure level settings directly through input parameters, which is particularly useful for integration into an Expert Advisor and for visualization during strategy testing. Notifications are included for line crossings, providing alerts through sound, email, and push notifications. This feature enhances real-time monitoring and decision-making efficiency by enabling a clear view of potential crossover signals.
#MQL5 #MT5 #Indicator #Strategy

Read more...
❀19πŸ‘15πŸ‘¨β€πŸ’»5πŸ‘€3✍2πŸ‘Œ2
Explore an innovative approach to streamline authentication in the MetaTrader 5 Admin Panel, focusing on the integration of a trusted user recognition system. This feature lets users bypass two-factor authentication (2FA) after logging in successfully within three attempts, significantly optimizing workflow during development while maintaining robust security. Protect sensitive data through password hashing, AES-256 encryption, and cryptographically secure random 2FA code generation, fortifying the system against brute force attacks. Experience the dual benefits of enhanced security and usability, providing a seamless user experience without compromising on data protection for traders and developers alike.
#MQL5 #MT5 #Crypto #Security

Read more...
πŸ‘27❀6πŸ‘Œ3πŸ‘¨β€πŸ’»3
Explore a comprehensive article series guiding MQL5 developers in crafting a robust log-handling library for MetaTrader 5. Designed to overcome native logging limitations, this series delves into building a customizable system for efficient log management, tailored to Expert Advisors. It covers fundamental concepts, best practices, and scalable architecture while detailing features like log level categorization, database storage, and dynamic metadata handling with JSON. Learn to implement Singleton patterns for consistency, employ log rotation to manage growth, and automate alerts for critical issues, enhancing both debugging and performance monitoring capabilities for algorithmic trading professionals.
#MQL5 #MT5 #EAs #Logs

Read more...
πŸ‘19❀16✍3πŸ‘Œ3πŸ‘¨β€πŸ’»3
The article delves into the challenges faced by traditional models in capturing long-term dependencies in time series data, often due to their limited ability to explore relationships between distant data segments. It introduces the Segment, Shuffle, and Stitch (S3) mechanism, designed to optimize time series representation by strategically rearranging data for improved learning. S3 segments the series, optimizes segment order through learnable weights, and combines data using a weighted sum. This modular mechanism seamlessly integrates with existing models, enhancing training procedures and performance significantly. The method is computationally efficient, with minimal hyperparameters, and can drastically improve forecasting and classification model accuracy when integrated into neural architectures.
#MQL5 #MT5 #TimeSeries #AI

Read more...
πŸ‘40❀22πŸ‘Œ5πŸ”₯2πŸ€“2πŸ‘¨β€πŸ’»2
ScalpX utilizes Kalman filters to enhance precision in trade opportunities. This tool analyzes dynamic market data to offer reliable buy and sell indications. Kalman filters are pivotal in filtering out market noise, ensuring clear trading signals. With ScalpX, traders can make informed decisions by leveraging a scientific approach to market fluctuations. This indicator supports improved accuracy by providing a systematic method for identifying potential trades. It simplifies the trading process, allowing users to focus on strategic decisions rather than data interpretation. ScalpX is designed for those seeking a calculated method for trading, offering an edge in navigating complex market environments.
#MQL4 #MT4 #Indicator #KalmanFilter

Read more...
πŸ‘30❀18πŸŽ‰4πŸ‘¨β€πŸ’»4πŸ‘€4πŸ‘Œ3
Introducing a detailed guide on the Fractals indicator, a pivotal tool developed by Bill Williams, designed to anticipate potential price movements in trading. This article dissects the Fractals definition, strategy, and blueprint, essential for coding enthusiasts eager to expand their understanding. Discover how the Fractals indicator generates signals through specific price patterns, facilitating bullish or bearish projections. Learn to implement trading strategies using MetaTrader 5 and MQL5, enhancing your technical analysis skills and integrating combinational strategies with Moving Averages and the Alligator indicator. This educational content prioritizes testing strategies before real-world application, focusing on manual calculations and automated signal generation.
#MQL5 #MT5 #Indicator #Strategy

Read more...
πŸ‘53❀31πŸ‘¨β€πŸ’»4πŸ”₯2πŸ‘Œ2πŸ’”2⚑1
The EA utilizes a custom indicator known as 'RSI Dual Cloud' to generate trading signals. The system identifies four types of signals: entrance to the zone, being in the zone, leaving the zone, and lines crossing. For 'BUY', the zone is below 'RSI Fast and Slow: Level DOWN'. Conversely, for 'SELL', it is above 'RSI Fast and Slow: Level UP'.

The 'Trading settings' allow for optimization through the 'Working timeframe' parameter. Stop Loss (SL) and Take Profit (TP) settings are adjustable in points, easily disabled by setting them to '0'. Trailing and signal searching modes are customizable with options like 'bar #0' and 'bar #1'. Position management includes settings for 'Maximum number of positions' and 'Minimum step of positions'.

Signal types can be toggled on or off. In 'Trailing', parameters operate in points and activate for profitable positions onl...
#MQL5 #MT5 #EA #Algorithm

Read more...
πŸ‘36❀18πŸ‘Œ4⚑3πŸ‘¨β€πŸ’»3
Enhancement of the MQL5 Economic Calendar dashboard has been achieved by incorporating specialized filters that focus on currency, importance, and time. These additions elevate the dashboard's utility, providing traders with targeted news events crucial for strategic decision-making. By implementing currency-specific filters, the dashboard emphasizes the economic events affecting selected currencies, reducing data overload. Importance filters sort events by anticipated market impact, allowing traders to prioritize high-impact developments. The time filter aligns economic events with specific trading sessions, ensuring timely information delivery.

The implementation required establishing global boolean variables to manage filter activation, defining currency arrays for news relevance, and applying logic to process each event's currency match, import...
#MQL5 #MT5 #Dashboard #AlgoTrading

Read more...
πŸ‘20❀8✍3πŸ‘Œ3πŸ‘¨β€πŸ’»2
The Awesome Oscillator, developed by Bill Williams, measures market momentum by comparing a 34-period SMA with a 5-period SMA, applied to the median price. Displayed as a histogram oscillating around a zero-line, it hints at potential trend shifts, with bullish or bearish momentum marked by bars above or below the line. Various signal patterns like Zero Line Crossover, Twin Peaks, and Saucer Setup guide entry and exit points in trading. While highly versatile and useful in trend-following, the AO may produce false signals in range-bound markets, suggesting the need for combination with other indicators. Practical application includes divergence analysis for enhanced accuracy.
#MQL5 #MT5 #Indicator #AlgoTrading

Read more...
πŸ‘25πŸ‘Œ11❀7🀩3πŸ‘¨β€πŸ’»3πŸ‘€2
Analytics Master EA offers advanced trading insights and automates market metric analysis. Unlike the previous script, it updates metrics every two hours, providing continuous market monitoring. It calculates market volatility, spread, and optimal lot sizes based on account balance, enhancing risk management. The EA integrates support and resistance levels, offering real-time market direction analysis. Key functionalities include drawing trend lines, determining trade sizes, and analyzing market direction based on prior data. Implementing it on MetaTrader 5 requires steps like compiling code and enabling AutoTrading. Regular updates and backtesting ensure adaptability in diverse market conditions.
#MQL5 #MT5 #EA #Strategy

Read more...
πŸ‘27❀15✍7πŸ‘¨β€πŸ’»6πŸ€”3⚑2πŸ‘Œ2
Understand market dynamics better with an indicator that highlights market highs and lows across multiple timeframes. By displaying daily, weekly, and monthly highs and lows on lower timeframes like H1, M30, and M40, it provides traders with valuable insights into historical price levels and potential breakout points.

This tool is particularly beneficial for analyzing support and resistance zones, enabling traders to make informed decisions in breakout scenarios. Period separators further enhance this by clearly delineating the timeframe segments, allowing for a structured view of price movements over different periods.

A beneficial addition for those looking to refine their trading strategies by focusing on key market levels and optimizing entry and exit points in active trading sessions.
#MQL4 #MT4 #Algorithm #AI

Read more...
❀29πŸ‘16πŸ‘¨β€πŸ’»5πŸ‘Œ2⚑1
MetaTrader 5 developers will find this article insightful for understanding the creation of technical indicators through linear functions. The process involves four fundamental steps: selecting price readings, applying ratios, summing results, and charting the output. Emphasizing ratio integrity, the article explores various innovative sequences, including Fibonacci and other mathematical series, to create and customize indicators. It further delves into the concept of oscillators, highlighting their construction by leveraging two distinct indicator sequences. Practical applications include designing unique trading strategies and customizing indicators, providing a robust basis for algorithmic trading development and experimentation.
#MQL5 #MT5 #Indicator #Algorithm

Read more...
πŸ‘62❀18πŸ‘¨β€πŸ’»6πŸ‘€4✍3πŸ‘Œ3⚑1
A recent attempt involved utilizing the "speed" or correction factor of the Kalman filter as an indicator in technical analysis. This approach includes a smoothing elementβ€”a signal line based on the moving average of the "speed." The signal line allows adjustments through parameter shifts, which can be set to positive or negative values to fine-tune its position relative to the main data. Additionally, buffers have been carefully named to clarify their function and enhance comprehension of the ongoing calculations. This method offers a structured approach to integrating Kalman filtering techniques into indicator development within technical analysis.
#MQL4 #MT4 #Indicator #AlgoTrading

Read more...
πŸ‘27❀13πŸ‘¨β€πŸ’»4πŸ‘Œ2
The article provides an in-depth exploration of the mathematical models for calculating the profits and losses of forex orders, crucial for developing efficient trading systems using MetaTrader 5. It outlines precise equations accounting for spreads, commissions, and swaps, enhancing the understanding of these often-overlooked factors. By dissecting core concepts like Bid, Ask, and spread calculations, it offers traders and developers insights into improving their algorithmic trading strategies. This methodical approach empowers developers to effectively integrate these calculations into Expert Advisors, ensuring more accurate performance analysis and trading decision-making. Understanding these fundamentals is key to optimizing forex trading systems.
#MQL5 #MT5 #Trading #ProfitCalc

Read more...
πŸ‘41❀31πŸ‘Œ4πŸ‘¨β€πŸ’»3πŸ”₯2😁2
The subwindow showcases two RSI lines referred to as 'Fast' and 'Slow'. The design incorporates shaded areas extending from the window borders to these lines, both above and below. This visualization includes three rendering modes: Fast, Slow, and an additional mode combining the highest and lowest points for comprehensive analysis. This approach enhances clarity in monitoring relative strength trends, enabling better decision-making by emphasizing significant RSI movements with clear visual distinctions. The indicator's dual-line system offers nuanced insights beyond traditional single-line RSI applications, making it a valuable tool for experienced traders and analysts in assessing market momentum.
#MQL5 #MT5 #Indicator #RSI

Read more...
❀24πŸ‘20🀯3πŸ‘Œ3πŸ‘¨β€πŸ’»3
Generative Adversarial Networks (GANs) are crucial for enhancing financial data reliability in algorithmic trading. Introduced by Ian Goodfellow in 2014, GANs generate synthetic data to address issues of unbalanced samples, enhancing dataset diversity. In finance, GANs help modelers overcome data scarcity and noise by producing realistic copies of stock price sequences. However, training GANs is resource-intensive, requiring careful validation to maintain relevance to real market conditions.

The GAN framework consists of two neural networks: the Generator and Discriminator, which engage in an adversarial interaction. The Generator mimics actual data using random noise inputs, while the Discriminator differentiates real from synthetic data, boosting the Generator's improvement. This process relies on iterative feedback to achieve high-quality synthetic data.

In ...
#MQL5 #MT5 #GANs #ML

Read more...
πŸ‘51❀21πŸ‘Œ6✍4πŸ†4πŸ‘¨β€πŸ’»4πŸ€“3
Position sizing based on risk management is crucial for traders. To display your position size directly through a comment on any symbol chart, consider using a function that calculates this based on your specified risk percentage and the Average True Range (ATR) on a daily timeframe. You have the option to calculate this using either your account balance or equity, giving flexibility based on your trading strategy. This approach helps in maintaining consistency and discipline in your trading decisions. Integrating this functionality can enhance your trading platform's utility, allowing for quick adjustments and informed decision-making. Make sure your trading software is capable of executing custom scripts.
#MQL5 #MT5 #RiskManagement #TradingTools

Read more...
πŸ‘31❀14πŸ’―7πŸ‘Œ6πŸ‘¨β€πŸ’»5
Enhancements have been made to the MQL5 Economic Calendar dashboard, which now includes live update functionality for continuous display of critical events. Previous designs included a filter by currency, importance, and time. With real-time updates, timely decision-making is improved as the calendar reflects the latest data. Real-time news updates are implemented by comparing periodically stored economic events. Two arrays, "current_eventNames_data" and "previous_eventNames_data," manage and compare event data. Live refresh ensures updates reflect current events in real-time. This setup supports dynamic updates to the dashboard, making it a valuable tool for traders in MetaTrader 5. Further improvements will focus on integrating news into trading strategies.
#MQL5 #MT5 #RealTime #AlgoTrading

Read more...
πŸ‘41❀25πŸ‘¨β€πŸ’»5πŸ†4πŸ‘Œ3🀨2πŸ‘€2