The script facilitates creating nearly all standard graphical objects in MetaTrader 5, aiding in rapid visual testing of the ObjectCreate() function along with methods for setting various object properties. It focuses on attributes like coordinates, sizes, fonts, colors, and additional parameters. Upon execution, it replaces any pre-existing objects on the active chart, creating a new one based on the settings.
The script highlights the newly created object to allow for immediate adjustments of reference points or location. Users can select any standard object type using the InpObjectToCreate input parameter, including lines, channels, Gann and Fibonacci tools, Elliot waves, graphical labels, and GUI elements. Each object type has its dedicated creation function with comprehensive attribute settings such as timestamps, price levels, directions, scales, ...
๐ Read | AppStore | @mql5dev
#MQL5 #MT5 #script
The script highlights the newly created object to allow for immediate adjustments of reference points or location. Users can select any standard object type using the InpObjectToCreate input parameter, including lines, channels, Gann and Fibonacci tools, Elliot waves, graphical labels, and GUI elements. Each object type has its dedicated creation function with comprehensive attribute settings such as timestamps, price levels, directions, scales, ...
๐ Read | AppStore | @mql5dev
#MQL5 #MT5 #script
โค35๐12โก3๐จโ๐ป2๐1
The recently developed indicator provides functionality for adjusting "Trend Line" objects to a horizontal position on the chart. This is achieved by modifying the price coordinate of the second reference point of these lines, typically positioned on the chart's right side. It allows users to set color and style preferences for these lines, enhancing visibility and analysis. This tool aids in maintaining clean and organized charts, facilitating technical analysis and decision-making. Users can ensure that their trend lines serve as effective visual aids in assessing market movements.
๐ Read | Docs | @mql5dev
#MQL5 #MT5 #Indicator
๐ Read | Docs | @mql5dev
#MQL5 #MT5 #Indicator
โค35๐ฅ5๐จโ๐ป3
Discover how ResNeXt, a cutting-edge neural network architecture, revolutionizes financial analysis with its ability to handle high-dimensional data efficiently. This architecture excels in both local and global dependency capture while optimizing computational complexity through innovative grouped convolutions. Paired with multi-task learning, ResNeXt elevates model accuracy and robustness in dynamic financial markets, addressing tasks like trend forecasting and risk assessment. By automating feature extraction from raw financial data, it eliminates the need for manual engineering. Designed with a modular structure, ResNeXt promotes easy scalability and high-performance data processing, making it indispensable for modern algorithmic trading strategies.
๐ Read | AppStore | @mql5dev
#MQL5 #MT5 #DeepLearning
๐ Read | AppStore | @mql5dev
#MQL5 #MT5 #DeepLearning
โค50๐6๐จโ๐ป3โ2
The Comm.mqh file has undergone recent updates. Version 1.08 was released on January 24, 2025, followed by version 1.09 on February 3, 2025. These updates addressed the requirement to display information from the service directly onto the terminal's first chart. An option to specify the chart ID in the comment was integrated into this functionality. The latest update, version 1.10, rolled out on May 31, 2025, introduced minor modifications to ensure compatibility with the new compiler standards. These updates aim to enhance the file's utility and maintain alignment with current development practices.
๐ Read | Freelance | @mql5dev
#MQL5 #MT5 #update
๐ Read | Freelance | @mql5dev
#MQL5 #MT5 #update
โค26๐2๐จโ๐ป2๐1
Part 44 focuses on the Change of Character (CHoCH) strategy development in MQL5, which identifies potential trend reversals through swing high/low breaks. This system scans bars to mark swing highs and lows, using labels such as HH/LH/LL/HL, to determine trends and initiate trades on breakout signals. We implement options for bar or tick-based modes, fixed trade levels, risk management strategies, and visual elements like icons and labels.
The implementation includes global variables and input parameters for user configurations. Functions are defined for chart visualization, swing point labeling, and CHoCH breakout indication. Events and conditions are set to trigger appropriate trades, incorporating trailing stops for securing gains.
The system requires thorough backtesting and careful risk management prior to live deployment, making it a robust f...
๐ Read | Forum | @mql5dev
#MQL5 #MT5 #AlgoTrading
The implementation includes global variables and input parameters for user configurations. Functions are defined for chart visualization, swing point labeling, and CHoCH breakout indication. Events and conditions are set to trigger appropriate trades, incorporating trailing stops for securing gains.
The system requires thorough backtesting and careful risk management prior to live deployment, making it a robust f...
๐ Read | Forum | @mql5dev
#MQL5 #MT5 #AlgoTrading
โค28๐2๐จโ๐ป2
Extracting close prices from daily candle data involves a systematic approach similar to that used for opening prices. Each string array representing daily data follows a consistent structure, permitting us to identify the location of the close price consistently across all records. Typically, the close price is located following other components such as the opening price, highest and lowest prices.
Starting with string arrays for each day, identify the index corresponding to the close price. This often follows the low price value, ensuring each day's structure is preserved. Convert the extracted string representing the close price into a double data type, supporting precise arithmetic operations and facilitating future analyses.
Repeat this extraction and conversion for all daily records, capturing each close price. By collating these values into a ...
๐ Read | Calendar | @mql5dev
#MQL5 #MT5 #MQL5
Starting with string arrays for each day, identify the index corresponding to the close price. This often follows the low price value, ensuring each day's structure is preserved. Convert the extracted string representing the close price into a double data type, supporting precise arithmetic operations and facilitating future analyses.
Repeat this extraction and conversion for all daily records, capturing each close price. By collating these values into a ...
๐ Read | Calendar | @mql5dev
#MQL5 #MT5 #MQL5
โค17โก2๐2๐จโ๐ป2๐1
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
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
โค20๐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
๐ 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
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
โค41๐จโ๐ป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
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
โค32โก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
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
โค27๐จโ๐ป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
๐ Read | NeuroBook | @mql5dev
#MQL5 #MT5 #Logging
โค27๐ค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
๐ Read | AlgoBook | @mql5dev
#MQL5 #MT5 #Forex
โค57๐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
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
โค16๐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
๐ Read | CodeBase | @mql5dev
#MQL5 #MT5 #script
โค17๐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
๐ Read | Freelance | @mql5dev
#MQL5 #MT5 #StatArb
โค21๐ฅ2๐2
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
๐ Read | Docs | @mql5dev
#MQL5 #MT5 #Strategy
โค20๐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
๐ Read | AppStore | @mql5dev
#MQL5 #MT5 #Forex
โค12๐5๐2