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
❤64👀6👨💻4✍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
❤29🏆7👨💻3👌2🤯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
❤23👍6👨💻2👌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
❤31🔥4✍3👌3👨💻3
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
❤35🏆3👌2🤡2👨💻2👀2
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
❤45👍11👨💻3👌2
Discover a technical implementation of the Tillson T3 indicator designed for improved performance. This version calculates 6 EMAs internally, avoiding the use of auxiliary indicator buffers. This approach streamlines operations and enhances efficiency. Developers can access the source code at the AlgoForge repository, structured in multiple files for clarity and ease of understanding. This structured format aids in comprehending the logic and functionality behind the implementation. Ideal for those seeking to understand or incorporate advanced algorithmic elements into their projects.
👉 Read | Forum | @mql5dev
#MQL5 #MT5 #Indicator
👉 Read | Forum | @mql5dev
#MQL5 #MT5 #Indicator
❤57✍4👨💻4👌3👍2
The text covers the integration of AutoIt with MQL5 for automation tasks in MetaTrader 5. AutoIt is highlighted as a tool for Windows GUI automation, offering capabilities not possible with MQL5 alone, such as script and expert advisor management on charts and alert handling.
The integration process includes using AutoItX, a DLL library for AutoIt functions, compatible with MetaTrader 5. This requires setting up a working environment and handling limitations due to AutoIt's reliance on standard Win32 API components.
The text introduces classes such as CAutoit and CTerminalController to encapsulate AutoIt functions for streamlined automation in MetaTrader 5, focusing on GUI element identification and control interactions for efficient task execution.
👉 Read | Quotes | @mql5dev
#MQL5 #MT5 #AutoIt
The integration process includes using AutoItX, a DLL library for AutoIt functions, compatible with MetaTrader 5. This requires setting up a working environment and handling limitations due to AutoIt's reliance on standard Win32 API components.
The text introduces classes such as CAutoit and CTerminalController to encapsulate AutoIt functions for streamlined automation in MetaTrader 5, focusing on GUI element identification and control interactions for efficient task execution.
👉 Read | Quotes | @mql5dev
#MQL5 #MT5 #AutoIt
❤146👨💻16👌10🎉6😁5🤣4⚡2
The article delves into developing advanced container controls for modern UI design within MetaTrader 5, emphasizing their integration within the MVC paradigm. Key controls like Panel, GroupBox, and Container are explored for placing various UI elements, each having distinct properties: Panels act as general-purpose containers, GroupBoxes group elements for specific functionalities, and Containers enable seamless content scrolling with automatic event handling for intuitive navigation. The article highlights implementing a Singleton class for shared data management, and auto-repeat classes for standard OS-like button behavior. These innovations enhance developers' ability to create user-friendly, ...
👉 Read | NeuroBook | @mql5dev
#MQL5 #MT5 provide a mechanism for overriding by derived classes when necessary. The following hashtags are recommended based on the key focal points of the content: #Singleton
👉 Read | NeuroBook | @mql5dev
#MQL5 #MT5 provide a mechanism for overriding by derived classes when necessary. The following hashtags are recommended based on the key focal points of the content: #Singleton
❤30👌2👀2👨💻1
Modern algorithmic trading requires balancing high returns with risk management to protect capital against volatility and systemic risks. An Expert Advisor (EA) achieves this through a multi-layered protection framework integrating dynamic lot sizing, exposure controls, and real-time monitoring. This approach uses adaptive measures, including equity floors, drawdown management, and recovery protocols to regulate trades and adjust exposure dynamically.
A sophisticated automated trading system focused on gold employs a martingale recovery strategy with robust protections like dynamic stops and daily loss limits. By using EMA crossovers, the system strategically places trades and manages risk through multi-layer defense mechanisms to limit potential losses while allowing for recovery from setbacks. During volatile market sessions, the EA employs circuit brea...
👉 Read | Signals | @mql5dev
#MQL5 #MT5 #EA
A sophisticated automated trading system focused on gold employs a martingale recovery strategy with robust protections like dynamic stops and daily loss limits. By using EMA crossovers, the system strategically places trades and manages risk through multi-layer defense mechanisms to limit potential losses while allowing for recovery from setbacks. During volatile market sessions, the EA employs circuit brea...
👉 Read | Signals | @mql5dev
#MQL5 #MT5 #EA
❤28🏆3👨💻2👌1
In the latest iteration of our MetaTrader 5 series, we transform the Kagi chart engine into a full-featured Expert Advisor. Building on the Kagi structure, we introduce features enabling automated trading in response to market changes. The EA now detects reversal signals, places trades, manages risk, and visualizes signals with markers. Designed for flexibility, traders can enable or disable trading, choose trade directions, and select between manual or automatic lot sizing. Enhanced risk management includes stop loss, profit-taking, and optional trailing stops, all aligned with Kagi patterns. This update equips traders with a comprehensive system for any instrument on MetaTrader 5.
👉 Read | NeuroBook | @mql5dev
#MQL5 #MT5 #EA
👉 Read | NeuroBook | @mql5dev
#MQL5 #MT5 #EA
❤27⚡2👌2👨💻2
We are progressing with the system for automating the optimization of trading strategies in MetaTrader 5. At its heart is a database designed for optimization projects. We've crafted a script to initiate projects, notably for the SimpleVolumes strategy, but adaptable to others. Exporting optimized strategy groups into an EA database occurs automatically, updating trading systems' settings without recompilation.
We've reorganized the project files, moving non-strategy-specific components to a library in the MQL5/Include folder. Remaining components like stage EAs and scripts reside in MQL5/Experts. This setup facilitates automatic optimization across varying strategies, easily integrating new strategies like the SimpleCandles strategy into this framework.
For SimpleCandles, the strategy employs a candle direction approach for trading decisions, rely...
👉 Read | AppStore | @mql5dev
#MQL5 #MT5 #Trading
We've reorganized the project files, moving non-strategy-specific components to a library in the MQL5/Include folder. Remaining components like stage EAs and scripts reside in MQL5/Experts. This setup facilitates automatic optimization across varying strategies, easily integrating new strategies like the SimpleCandles strategy into this framework.
For SimpleCandles, the strategy employs a candle direction approach for trading decisions, rely...
👉 Read | AppStore | @mql5dev
#MQL5 #MT5 #Trading
❤19👌4👨💻2
The recent archive of models offers a diverse set of options for personalizing model training, particularly due to varying hyperparameters. These machine learning models are developed in Python and are then converted to ONNX format, ensuring ease of use without requiring code adjustments in the encludnik. The configuration remains straightforward, although users can apply custom filters for enhanced model performance, such as optimizing stop loss and take profit across different timeframes.
The models connect via a header file, exemplified on 31 March 2024. Examples include clustering techniques using the k-means method and training data spanning from 2010 to 2020, with forward testing from 2020 to 2024. The "ONNX Trader Clusters" bot embraces these models, supporting the training method from "Matching trades using clustering." By linking the ...
👉 Read | AppStore | @mql5dev
#MQL5 #MT5 #MachineLearning
The models connect via a header file, exemplified on 31 March 2024. Examples include clustering techniques using the k-means method and training data spanning from 2010 to 2020, with forward testing from 2020 to 2024. The "ONNX Trader Clusters" bot embraces these models, supporting the training method from "Matching trades using clustering." By linking the ...
👉 Read | AppStore | @mql5dev
#MQL5 #MT5 #MachineLearning
❤16👨💻6👌4🎉2
A library offering concise descriptions for each error in the MQL5 Reference has been developed, with regular updates as the documentation evolves. The latest update was released on February 29, 2024. For optimal use, ensure the file ErrorDescription2.mq5 is placed in the \MetaTrader 5\MQL5\Include folder. An upcoming library will feature a class to streamline error handling in MQL5, enabling simplified user error reporting through methods like Raise(my_error). This endeavor promises enhanced efficiency in managing errors within MQL5 projects. Stay informed for future developments and releases.
👉 Read | AlgoBook | @mql5dev
#MQL5 #MT5 #Library
👉 Read | AlgoBook | @mql5dev
#MQL5 #MT5 #Library
❤14👌3
The Chaos Game Optimization (CGO) algorithm, introduced by Siamak Talatahari and Mehdi Azizi in 2020, employs chaos theory principles and chaotic sequences for achieving global optimization in complex multidimensional spaces. The algorithm's effectiveness lies in its ability to leverage chaotic sequences, which help in navigating around local optima and enabling the discovery of high-quality solutions across diverse problem domains.
Implementation of CGO involves an algorithm class derived from a base class, with specific methods like SetParams, Init, Moving, and Revision that set parameters, initialize search spaces, orchestrate agent movements, and revise solutions, respectively. Key components include generating new solutions using chaotic sequences and updating best-known solutions.
Test results indicate that CGO's performance, though mode...
👉 Read | Docs | @mql5dev
#MQL5 #MT5 #Optimization
Implementation of CGO involves an algorithm class derived from a base class, with specific methods like SetParams, Init, Moving, and Revision that set parameters, initialize search spaces, orchestrate agent movements, and revise solutions, respectively. Key components include generating new solutions using chaotic sequences and updating best-known solutions.
Test results indicate that CGO's performance, though mode...
👉 Read | Docs | @mql5dev
#MQL5 #MT5 #Optimization
❤14👏3👌2
The development of an Inverse Fair Value Gap (IFVG) detection strategy continues in MetaQuotes Language 5 (MQL5). Following detection of Fair Value Gaps (FVGs), IFVGs are introduced to identify states where a mitigated gap inverts direction due to price action. Settings like colors for state visualization, trading modes, and handling overlapping FVGs are configurable.
The implementation involves setting up input parameters, declaring global variables, and utilizing existing MQL5 libraries for managing trades. Specific functions are defined for creating and updating visualization elements such as rectangles and labels to display FVG zones and states. Historical data is analyzed during initialization to process past FVGs, updating their states to guide decision-making.
The system extends its capability by scanning and updating setups with the appearance of new bar...
👉 Read | NeuroBook | @mql5dev
#MQL5 #MT5 #EA
The implementation involves setting up input parameters, declaring global variables, and utilizing existing MQL5 libraries for managing trades. Specific functions are defined for creating and updating visualization elements such as rectangles and labels to display FVG zones and states. Historical data is analyzed during initialization to process past FVGs, updating their states to guide decision-making.
The system extends its capability by scanning and updating setups with the appearance of new bar...
👉 Read | NeuroBook | @mql5dev
#MQL5 #MT5 #EA
❤15✍4⚡3👌1
A script has been developed to calculate autocorrelation and partial autocorrelation functions, displaying results graphically. Key input parameters include:
1. N: Data window for calculation, where a default value of 100 is set. Capable of handling large datasets, it efficiently processes over 100,000 bars.
2. K: Number of lags for analysis, defaulted at 16. Typically, analysis remains effective with lags under 40, though the script supports up to 500.
3. start_pos: Defines data window offset, with zero indicating calculations start from the latest loaded bar.
4. duration: Chart display period, set for 10 seconds.
These settings facilitate comprehensive time series analysis, enabling efficient examination of large datasets for technical insights. Adjust parameters according to specific analysis needs.
👉 Read | Calendar | @mql5dev
#MQL5 #MT5 #script
1. N: Data window for calculation, where a default value of 100 is set. Capable of handling large datasets, it efficiently processes over 100,000 bars.
2. K: Number of lags for analysis, defaulted at 16. Typically, analysis remains effective with lags under 40, though the script supports up to 500.
3. start_pos: Defines data window offset, with zero indicating calculations start from the latest loaded bar.
4. duration: Chart display period, set for 10 seconds.
These settings facilitate comprehensive time series analysis, enabling efficient examination of large datasets for technical insights. Adjust parameters according to specific analysis needs.
👉 Read | Calendar | @mql5dev
#MQL5 #MT5 #script
❤14👌1
A library for keyboard operation is essential for managing keyboard layouts and key processing. It includes comprehensive data on various keyboard layouts, allowing for the configuration and recognition of different key arrangements. This library aids in determining the status of keys, whether they are pressed, released, or held down, and provides efficient processing for these events to trigger corresponding actions in applications.
An example usage scenario includes handling key inputs in a software program, where the library detects the keyboard layout in use, interprets user input correctly, and reflects real-time key status changes. By integrating such a library, developers can ensure their applications respond accurately to various keyboard inputs across different systems and configurations. This enhances user interaction and input reliability in d...
👉 Read | Freelance | @mql5dev
#MQL5 #MT5 #Keyboard
An example usage scenario includes handling key inputs in a software program, where the library detects the keyboard layout in use, interprets user input correctly, and reflects real-time key status changes. By integrating such a library, developers can ensure their applications respond accurately to various keyboard inputs across different systems and configurations. This enhances user interaction and input reliability in d...
👉 Read | Freelance | @mql5dev
#MQL5 #MT5 #Keyboard
❤11👌1
Explore a new approach in trading with the integration of RSI for smart stop-loss mechanisms. The research compares two strategies: a traditional fixed stop-loss against an innovative RSI-based stop-loss system. The findings reveal that while RSI lowers the risk of being hunted, traditional methods demonstrate higher profitability and consistency in practice. Notably, the RSI strategy showcases reduced risk and psychological benefits for traders, offering an alternative for those seeking a more methodical approach. For developers and traders, this insight highlights the importance of risk management and presents RSI as a potential tool to minimize stop-loss hunts, albeit with some trade-offs in profitability.
👉 Read | Freelance | @mql5dev
#MQL5 #MT5 #Strategy
👉 Read | Freelance | @mql5dev
#MQL5 #MT5 #Strategy
❤14👌1
Deploying machine learning-driven trading applications poses numerous challenges, primarily due to hard-to-detect errors not addressed in standard literature. A major issue is model assumptions violation, which often leads to silent failures in trading algorithms. All statistical models require assumptions about data relationships, and flexible models with minimal assumptions are often preferred. However, a model without any assumptions is unfeasible.
Models depend on the assumption that the target is a function of given observations. Violating this foundational assumption can lead to unnoticed failures. Existing statistical tests to verify assumptions are problematic and may yield misleading results, exposing practitioners to substantial risks.
A proposed solution involves generating new candidate targets from input observations. This self-supervised le...
👉 Read | AppStore | @mql5dev
#MQL5 #MT5 #ML
Models depend on the assumption that the target is a function of given observations. Violating this foundational assumption can lead to unnoticed failures. Existing statistical tests to verify assumptions are problematic and may yield misleading results, exposing practitioners to substantial risks.
A proposed solution involves generating new candidate targets from input observations. This self-supervised le...
👉 Read | AppStore | @mql5dev
#MQL5 #MT5 #ML
❤17👀3👌1