MQL5 Algo Trading
395K subscribers
2.61K photos
2.61K 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
Technical analysis often prioritizes price, neglecting a crucial component: volume. Volume serves as the market's engine, providing insights into why price movements occur. High volume indicates strong, reliable trends, while low volume suggests potential reversals.

Volume data differs between markets. Real volume in stock exchanges offers exact numbers, while tick volume in forex acts as a proxy through price changes. Despite differences, tick volume aligns closely with actual trading activity.

This analysis introduces the Volume Boundary indicator, converting raw volume data into a bounded, interpretable format. By using mathematical transformations and smoothing functions, it offers standardized volume insights suitable for algorithmic trading. Understanding volume enhances strategic trading, moving beyond surface-level price observations.

๐Ÿ‘‰ Read | Calendar | @mql5dev

#MQL5 #MT5 #Volume
โค21๐Ÿ‘5๐Ÿ‘จโ€๐Ÿ’ป2๐Ÿ†1
Trade like a seasoned pro with this innovative accounting tool for MetaTrader 5 and beyond. Discover a comprehensive system designed to transform the way traders manage capital. By using a clear, data-driven approach, traders can separate personal finances from trading capital, providing balanced decision-making and risk management. The highlights include SQLite data storage with efficient transactions, a user-friendly tkinter interface, and robust analytics using pandas and matplotlib for financial insights. Elevate your trading confidence and performance by focusing on key metrics for real financial literacy and control. Automate, streamline, and conquer the complexities of trading with precision and foresight.

๐Ÿ‘‰ Read | Freelance | @mql5dev

#MQL5 #MT5 #Finance
โค31๐Ÿ‘จโ€๐Ÿ’ป3๐Ÿ‘Œ1
Structs offer a fundamental bridge between object-oriented and conventional programming. They simplify data management, yet demand careful handling, especially when passing values to functions or procedures. Historical constraints of languages like C have given way to safer data transfer mechanisms. Effective use involves minimizing the knowledge functions require about structures.

Understanding structures as special data types enriches programming flexibility. Global struct declarations allow smoother data transfer, a common practice in languages like Python and JavaScript. This aids in reducing function overloads, enhancing code efficiency. Employing structures in this way allows for clearer code organization, data encapsulation, and easier management of complex datasets. Proper implementation ensures a clean, efficient codebase ready for future expa...

๐Ÿ‘‰ Read | Freelance | @mql5dev

#MQL5 #MT5 #coding
โค42๐Ÿ‘จโ€๐Ÿ’ป8โœ3
An effective signal indicator for MetaTrader 5 combines RSI and Moving Average to identify trend-following signals. Designed as a clean visual tool, it aids manual trading or provides signals for Expert Advisors. The strategy draws arrows based on specific conditions. For a buy signal, a blue arrow appears when the closing price is outside the Moving Average, and the RSI value exceeds 50, indicating an uptrend with bullish momentum. For a sell signal, a red arrow is drawn when the closing price falls below the Moving Average, and the RSI is below 50, confirming a downtrend with bearish momentum.

Features include clean, commented code and customizable parameters for RSI and MA periods. The indicator utilizes standard MT5 buffers, making it ideal for iCustom() function use in Expert Advisors.

๐Ÿ‘‰ Read | Calendar | @mql5dev

#MQL5 #MT5 #Indicator
โค33โšก2๐Ÿคจ2๐Ÿ‘จโ€๐Ÿ’ป2๐Ÿ‘Œ1
The development and refinement of the Table View control in the MVC paradigm has led to significant advancements in both the Model and View components. Initial efforts focused on creating a foundational object for graphical elements. Progress is now moving towards simple controls, which will eventually be used as components for more complex UI elements. These controls will enable interactivity, essential for the Controller component, thanks to MQLโ€™s integrated event model.

The Base class is being refined for graphical objects by organizing event handling to connect the View and Controller components. This involves refining classes, macros, and enumerations, primarily focusing on the base graphical element object. The implementation includes methods for file operations, refining object descriptors, and utilizing efficient event-driven logic.

Auxiliary classes...

๐Ÿ‘‰ Read | AlgoBook | @mql5dev

#MQL5 #MT5 #MVC
โค28๐Ÿ‘จโ€๐Ÿ’ป5โœ1๐Ÿ‘Œ1
Explore a systematic approach to improving logging in MetaTrader 5 using principles from Python's logging module. Gain insights into configuring specific parameters like file naming, size limits, and verbosity control through a custom MQL5 class. Optimize file I/O operations by utilizing caching mechanisms, reducing execution time in strategy tests significantly. Understand the convenience of defining tailored log messages with variable formats and severity levels, from debug to critical. This advanced logging system facilitates more maintainable and debuggable trading code, aligning with professional software development standards. Learn how to effectively integrate these practices into your algorithmic trading setups.

๐Ÿ‘‰ Read | NeuroBook | @mql5dev

#MQL5 #MT5 #Logging
โค28๐Ÿค”2๐Ÿ‘จโ€๐Ÿ’ป2๐Ÿ‘Œ1
Discover how to transform forex chaos into clarity with a cutting-edge currency strength indicator on MetaTrader 5. This innovative tool evaluates real-time strength across three timeframes (H1, H4, D1) using a smart weighting system to highlight true market dynamics. The multi-level analysis dashboard aggregates data with a dynamic ranking system, offering traders a comprehensive view of market movements. Designed for both seasoned and aspiring traders, the indicator delivers precise insights for strategic decision-making, ensuring timely and profitable trading actions. Dive into algorithmic trading and elevate your market analysis with this robust and intuitive solution.

๐Ÿ‘‰ Read | AlgoBook | @mql5dev

#MQL5 #MT5 #Forex
โค58๐Ÿ‘€6๐Ÿ‘จโ€๐Ÿ’ป3โœ2๐Ÿ‘Œ1๐Ÿ’ฏ1
The Dynamic Gaussian Channel indicator constructs dynamic support and resistance levels by utilizing smoothed price data through a Gaussian filter. It consists of three main lines: resistance, median, and support. The algorithm applies Gaussian smoothing to the high and low prices to identify extrema over a specified period and creates a channel based on the smoothed values.

It offers customizable parameters, allowing users to adjust the calculation period and line colors/styles. During initialization, the Gaussian filter weights are calculated for smoothing. The smoothing process applies this filter to high and low prices. Resistance is determined by the maximum smoothed high, support by the minimum smoothed low, and the median by the average of these two.

Implementation uses indicator buffers, the Gaussian filter with a 5-bar window, and is opt...

๐Ÿ‘‰ Read | Quotes | @mql5dev

#MQL5 #MT5 #Indicator
โค19๐Ÿ†6๐Ÿ‘จโ€๐Ÿ’ป3๐Ÿ‘Œ1
The script effectively compiles total profits and swaps for each currency pair, enhancing its utility for hedging strategies and accounts. It accommodates multiple entries that rely on trading signals, promoting efficient analysis of financial performance. This feature is particularly beneficial for traders who require comprehensive oversight of their trading activities and outcomes. By aggregating these metrics, the script aids in the decision-making process and improves strategic planning. This tool integrates seamlessly into trading routines, offering valuable insights into overall profitability and financial health of hedging activities. The meticulous attention to detail supports informed trading strategies.

๐Ÿ‘‰ Read | CodeBase | @mql5dev

#MQL5 #MT5 #script
โค18๐Ÿ‘6๐Ÿ‘Œ1
Our latest exploration into statistical arbitrage reveals a pivotal shift in assessing portfolio weight stability by integrating the Rolling Windows Eigenvector Comparison (RWEC) with traditional IS/OOS ADF validation. This approach solves previously discussed issues of long out-of-sample periods and sensitivity in live trading. RWEC's sharp temporal resolution effectively pinpoints precise moments of cointegration breaks, offering better decision-making support and risk management for live trading. This dual approach not only enhances backtest reliability but also provides significant insights into real-time signal stability, making it invaluable for both traders and MetaTrader 5 developers focused on robust, adaptive algorithmic solutions.

๐Ÿ‘‰ Read | Freelance | @mql5dev

#MQL5 #MT5 #StatArb
โค22๐Ÿ”ฅ2๐Ÿ‘Œ2โœ1
Explore innovative enhancements to the classical moving average crossover strategy, tackling its common pitfalls like noise and delayed signals. The article delves into robust filtering to enhance signal reliability, utilizing statistical models for superior trade selection. The discussion includes practical backtesting, with consistent parameters, spanning 2022 to 2025. Initial strategy improvements focus on candle wick analysis, leading to stable uptrends in results. Further advancements utilize machine learning, notably through ONNX models, enhancing decision-making. Transitioning to non-linear models like random forests offers deeper market insights, correcting bias and leveraging data relationships, aiming for refined trade accuracy and performance.

๐Ÿ‘‰ Read | Docs | @mql5dev

#MQL5 #MT5 #Strategy
โค26๐Ÿ‘€2๐Ÿ‘Œ1๐Ÿ†1
In recent technical publications, the focus has been on enhancing trading psychology through session awareness rather than just relying on clock times. Traditional explanations of market sessions often miss the importance of geographical dynamics. Understanding when different parts of the world are active can significantly improve decision-making. This project uses MQL5 to create a visual layer that highlights active trading sessions on a chart in real-time. This approach turns trading into an interactive geographical experience rather than a linear timeline, helping traders maintain psychological and strategic alignment with market rhythms. The development utilizes efficient coding practices to reduce cognitive load and increase market awareness.

๐Ÿ‘‰ Read | AppStore | @mql5dev

#MQL5 #MT5 #Forex
โค20๐Ÿ‘6๐Ÿ‘Œ2