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
To enhance the functionality of our WinForms library objects, the implementation begins with creating a new base class that will serve as a blueprint for all subsequent WinForms objects. This foundational class will streamline properties inherited across multiple components, eliminating redundancy in property application.

This base class will be derived from the broader form object class that already handles mouse interactions effectively. Implementing the AutoSize and AutoSizeMode for panel objects involves ensuring the size of the container dynamically adjusts to accommodate objects without overlap. This is critical, especially when objects are docked and aligned in sequence, requiring accurate resizing of the panel.

We optimized object handling by pre-arranging elements within the panel structure before rendering, ensuring smooth transitions and ...

👉 Read | Calendar | Share!

#MQL5 #MT5 #WinForms
👍4025👌5👨‍💻4🎉31🔥1
The Custom MA Cross with RSI Indicator for MT5 combines moving averages with RSI to identify trend changes. Adjustable settings include MA types (SMA, EMA) and RSI levels for precise signal filtering. Enjoy alerts for MA crossovers and on-chart buy/sell signals when RSI conditions are met. This indicator eliminates weak signals, enhancing trend-following strategies and increasing confidence in market entries.

Designed with user-friendly options, it accommodates both novice and experienced traders. With compatibility across all timeframes and currency pairs on the MT5 platform, it is a versatile tool for improving trading precision. Customization with preferred colors adds to the personalization experience, making trading more efficient.

👉 Read | NeuroBook | Share!

#MQL5 #MT5 #Indicator
👍2818🤔2👨‍💻21
The strategy is applicable to both Gold and Bitcoin across various timeframes, including M1, M5, M15, M30, H1, and H4. These timeframes provide different perspectives for analysis, ranging from minute-to-minute observations to broader hourly trends. Employing various timeframes allows for a comprehensive understanding of market movements and can aid in aligning short-term tactical approaches with long-term strategic goals. It is essential to tailor analysis to the specific behavior of each asset, considering their unique volatility and trading patterns. Be mindful of the inherent risks and ensure that strategies are robust enough to adapt to market changes.

👉 Read | Forum | Share!

#MQL5 #MT5 #AlgoTrading
👍3126👨‍💻21👏1👌1
Metaheuristic algorithms are gaining importance as data volumes surge and tasks grow more complex. These algorithms offer high convergence rates and rapid processing, crucial for timely project execution across various domains. They provide an effective mechanism to handle large datasets, yielding superior solutions to traditional numerical methods. Key benefits include resource efficiency, vital in cloud computing environments with limited computational resources.

The Artificial Showering Algorithm (ASHA) exemplifies these algorithms through a unique probabilistic water flow model. Its adaptive characteristics, such as infiltration for avoiding local minima and dynamic probability control, enable it to explore and exploit the solution space effectively, improving optimization outcomes significantly.

👉 Read | VPS | Share!

#MQL5 #MT5 #AlgoTrading
👍35176😁2🏆2👨‍💻1
Operator precedence rules in programming are crucial for determining how expressions are evaluated. Understanding these rules prevents unexpected outcomes in code execution. Precedence is generally ranked from top to bottom in documentation tables, with operators at the top holding higher priority.

Operators are categorized for clarity, and references take precedence over all others. Type and binary operators follow, requiring right-to-left reading, unlike referencing. Arithmetic operators, seen as familiar, are processed left to right, adhering to their position in the hierarchy.

Parentheses can define or alter precedence, marking them essential for clarifying code. Misunderstanding precedence can lead to compiler warnings due to unpredictable behavior, underscoring the necessity for clear structure.

The ternary operator streamlines logic and improve...

👉 Read | AlgoBook | Share!

#MQL5 #MT5 #Education
👍4427👌2👀2👨‍💻1
The release of a comprehensive multi-timeframe RSI dashboard provides a significant tool for traders seeking detailed insights. The dashboard offers real-time RSI status across nine timeframes, ranging from M1 to MN1. The key functionality includes displaying RSI readings within a single interface for easy analysis. Color-coding differentiates the status: overbought, oversold, or neutral, enhancing quick data interpretation. This tool is versatile, functioning across any chart or symbol, allowing for broad application in various market conditions. Aimed at enhancing decision-making, it supports a more informed approach to trading strategies.

👉 Read | VPS | Share!

#MQL4 #MT4 #RSIdashboard
17👍17👏21👨‍💻1
Random Trader EA offers a unique approach by implementing a random trading strategy with robust risk management. The EA initiates positions randomly while maintaining strict risk control through customizable parameters.

Key features include a random entry system for buy/sell positions, flexible stop loss calculations, breakeven functionality, and smart margin management. It supports various symbol types such as Forex pairs, JPY pairs, and cryptocurrencies, with proper pip value handling.

Input parameters are extensively customizable. The Reward/Risk Ratio sets take profit relative to stop loss. The Loss Calculation Method can either be ATR-based or set to a fixed pip distance. Risk management is enhanced with dynamic position sizing and automatic lot size adjustment.

The EA executes trades only when no positions are open, ensuring consistent risk management...

👉 Read | VPS | Share!

#MQL5 #MT5 #EA
👍22142😱2👨‍💻2
This indicator is designed to enhance your technical analysis by utilizing three additional subwindow indicators. To get started, ensure all files are correctly placed in your Indicators folder. This setup allows for seamless integration and accessibility within your platform. For comprehensive instructions on installation and use, refer to the provided online resource. This will ensure you configure the indicators correctly to suit your analysis requirements. Proper installation and understanding of these tools are essential for effective trading strategy development and execution. Always check for any updates or further instructions from the source to maintain optimal performance.

👉 Read | Freelance | Share!

#MQL5 #MT5 #Indicator
👍2812👨‍💻2
Object segmentation in 3D scenes involves providing precise masks for detected objects in point clouds. Modern methods are grouped into assumption-based and clustering-based approaches. Assumption-based methods work top-down, first proposing regions and then determining masks, but struggle with point cloud sparsity and object complexity. Clustering-based methods adopt a bottom-up approach, assigning semantic labels and predicting instance centers but suffer from inaccuracies and extended processing times.

The Superpoint Transformer (SPFormer) combines both approaches, utilizing a sparse 3D U-Net for point-level feature extraction and grouping points into superpoints. SPFormer introduces a Transformer decoder that predicts instances utilizing cross-attention with superpoints, streamlining the segmentation process by eliminating redundant steps.

Imple...

👉 Read | Signals | Share!

#MQL5 #MT5 #AITrading
👍3075🎉1👨‍💻1👀1
Transfer learning is a machine learning approach where a model trained for one task is applied to another related task. Instead of building a model from scratch, a pre-trained model's knowledge is adapted to a new task. This is useful when there's limited data for the new task. For instance, developing a cat vs. dog classifier with few images can leverage a model like ResNet50 trained on ImageNet.

In financial markets, similar approaches apply. Despite different price scales, features like percentage change and stationary indicators offer consistency across various instruments. Techniques to handle continuous variables involve calculating percentage changes and employing stationary indicators, ensuring models generalize effectively across different markets.

👉 Read | Signals | Share!

#MQL5 #MT5 #AITrading
👍228👨‍💻1
The text underscores the significance of comprehending arrays and strings within statically typed languages compared to their dynamically typed counterparts. While languages like Python and JavaScript handle arrays and strings seamlessly, C/C++ provides challenges due to its handling of these structures internally. MQL5, positioned between these realms, simplifies some concepts, yet still demands understanding of its underlying principles for effective data manipulation.

Emphasizing practical learning through experimentation, it suggests modifying existing code snippets to grasp conceptually how different outcomes can be achieved. It introduces the integration of operator precedence and variables, laying a foundation for understanding more intricate data types.

Addressing string handling, it details how MQL5 strings are special arrays with an en...

👉 Read | Docs | Share!

#MQL5 #MT5 #AlgoTrading
👍4618👨‍💻3👌2🤯1
The angle of the moving average for the current and adjacent candle can provide valuable insights into market trends. This parameter helps in identifying the momentum and direction of price movements. Calculating the angle involves comparing the slope between the moving average line of two consecutive timeframes. A steeper angle may indicate stronger momentum, while a flatter angle might signal consolidation or weaker trends. Monitoring the angle change in real-time can assist developers and traders in making more informed decisions regarding their strategies. Analyzing this data could be a component in crafting a robust technical analysis toolkit.

👉 Read | Signals | Share!

#MQL4 #MT4 #Indicator
👍3217🔥4👨‍💻21
Dive into the development of a professional-grade Trade Assistant Tool for MetaTrader 5, crafted using MQL5. This tool facilitates efficient placement of Buy/Sell Stop and Limit orders with an intuitive graphical interface. Developers can explore the architecture involving metadata definition, constants, and the integration of essential libraries, like "CTrade". Key features involve a responsive control panel with buttons for order types, integrated lot sizing, and real-time price adjustments via draggable interactive elements on the chart. This project exemplifies the practical application of advanced object handling, enabling precise trading actions, thus forming a solid foundation for further enhancements in risk management.

👉 Read | Signals | Share!

#MQL5 #MT5 #EA
👍2110👨‍💻32
The article outlines challenges in algorithmic trading, emphasizing the inadequacies of commonly used regression metrics like RMSE in predicting market returns. Despite following "best practices," traders often face unexpected risks due to models that predict average returns, which minimizes statistical errors but fails in real trading scenarios. The piece highlights reward hacking, where models appear proficient by merely clustering around statistical means, misleading practitioners. To address these issues, the article suggests the adoption of new evaluation frameworks that incorporate profit and loss metrics alongside novel model architectures like Dynamic Regime Switching Models for a more robust trading strategy.

👉 Read | AlgoBook | Share!

#MQL5 #MT5 #algorithm
👍1763👨‍💻3
In the exploration of algorithmic trading setups, innovative combinations like the DeMarker oscillator and the Envelopes Channel can help traders navigate range-bound markets. By avoiding traditional trend indicators, this approach minimizes lag and focuses on mean reversion and momentum divergences. Key patterns include the "Bullish Fake Out," where the price recovery signals seller exhaustion, and the "Bearish Fake Out," signaling buyer exhaustion. These setups optimize entry points and manage risks effectively, providing practical applications for skilled traders and developers using MetaTrader 5, particularly those trading GBP/USD on smaller time frames or seeking to refine trading strategies.

👉 Read | Quotes | Share!

#MQL5 #MT5 #Strategy
👍2110👨‍💻3🔥1
The foreign exchange market offers unique opportunities for algorithmic strategies. Python and MetaTrader 5 have been instrumental in developing an arbitrage trading system, focusing on identifying price imbalances. A key aspect involved calculating synthetic cross rates, surpassing a thousand in number.

Implementing this system required robust risk management alongside a well-designed architecture, algorithms, and decision-making processes. Technologies such as Python and the MetaTrader 5 API facilitated real-time trading and technical analysis. Handling multiple currency pairs and calculating synthetic prices were crucial components of the strategy.

With the help of backtesting and live trading, system efficiency and potential improvements were evaluated, underscoring the need for careful analysis and continual optimization.

👉 Read | Forum | Share!

#MQL5 #MT5 #AlgoTrading
👍1911👨‍💻5😁3
Dive into Forex pattern analysis with Python and MetaTrader 5 for a systematic approach to identifying trading opportunities in currency markets. This article explores how to transform complex Forex market data into simpler trend indicators using an innovative algorithm for detecting repeating patterns. Key steps include setting up the Python environment, managing libraries like MetaTrader 5 and pandas, and connecting to trading platforms. The article explains processing OHLC data into directional patterns and building a comprehensive system for evaluating win rates and pattern frequencies. This analytical method offers practical forecasting tools for traders looking to enhance their algorithmic trading systems.

👉 Read | Quotes | Share!

#MQL5 #MT5 #Forex
👍43184🔥4👨‍💻2
Recursive Moving Averages, like DEMA and TEMA, improve data smoothing by calling their own calculations multiple times. They are designed to enhance traditional exponential moving averages. The objective is to eliminate any loop limits while maintaining performance speed. Key parameters involve the regular period, number of iterations for smoother results, and the chosen smoothing method, either exponential or another form, to optimize speed. Additionally, a trigger line generates trading signals by averaging the sum of smoothing iterations, with crossing lines indicating potential trades. One optional feature is the visual display of arrows at signals. When setting parameters, ensure they provide clarity without cluttering the chart with multiple signals. This careful balance is essential for effective analysis and decision-making.

👉 Read | Freelance | Share!

#MQL5 #MT5 #Indicator
21👍13👨‍💻2💔1
The MetaTrader 5 terminal is expanding its functionality with integrated chat capabilities, allowing traders to communicate more effectively within the MQL5 ecosystem. This addition enhances the trading experience, enabling private messaging, group discussions, and channel subscriptions directly through the terminal. While current communication remains internal, the API's flexibility, paired with WebRequest functions, can bridge MetaTrader 5 to external platforms like Telegram and WhatsApp.

Our focus is on developing a robust Communications Panel, drawing from popular messaging app features. Key characteristics include a minimalist design, centralized message thread area, interactive buttons, and support for multimedia sharing. The design will prioritize functionalities such as quick messaging, two-way communication, screenshot sharing, and contact managemen...

👉 Read | Freelance | Share!

#MQL5 #MT5 #Trading
👍2473🎉2👨‍💻21
Unlock the potential of economic forecasting with Python, leveraging historical data and indicators to predict market movements. This guide explores setting up an analytical environment with pandas, obtaining data from the World Bank via wbdata, and connecting with MetaTrader 5 for real-time market insights. Harness CatBoost Regressor for machine learning, training models on exchange rates and indicators for precise predictions. By integrating economic indicators into currency data, discover patterns and potential trades. Although forecasts aren't guarantees, combining data, analysis, and machine learning enhances decision-making for traders and developers keen on algorithmic trading.

👉 Read | NeuroBook | Share!

#MQL5 #MT5 #Economics
👍22125👨‍💻1