In algorithmic trading, choosing the right indicators is crucial. Traditional feature selection methods often fall short in non-stationary environments due to their global bias. The "Local Feature Selection" (LFS) algorithm offers a solution by focusing on locally optimal feature subsets, making it ideal for data with shifting patterns. This method emphasizes minimizing intra-class distances while maximizing inter-class distances through a weighting scheme that adapts dynamically to data variations. Implementing LFS in Python allows traders and developers to build more adaptive and robust models, ultimately enhancing predictive performance on MetaTrader 5. Discover how LFS can streamline your trading strategy!
#MQL5 #MT5 #Indicator #ML
Read more...
#MQL5 #MT5 #Indicator #ML
Read more...
π12β€8π3π¨βπ»2
Struggling with non-stationary financial time series? Dive into our deep-dive analysis on achieving stationarity using first differences and empirical distribution functions. Learn how stationarity ensures accurate calculations in algorithms and why it matters for both regression and neural network analyses. Discover the Kolmogorov-Smirnov testβs role in detecting data homogeneity, pivotal for precise trading strategies and forecasts. Explore practical applications with real data cases, including EURUSD and XAUUSD minute bars, and understand how this statistical approach ensures reliable, error-free predictions even with dependent data. Perfect for enhancing your algorithmic trading models.
#MQL5 #MT5 #Indicator #Algorithm
Read more...
#MQL5 #MT5 #Indicator #Algorithm
Read more...
π16β€11π2π¨βπ»2
Bollinger Bands, created by John Bollinger in 1987, quantify market volatility and identify overbought/oversold conditions. Consisting of three lines, they expand and contract with volatility changes, serving as dynamic support/resistance levels. This article dives into 8 Bollinger Bands signals, explaining their integration into a custom signal class for algorithmic trading in MetaTrader 5. The goal is to optimize and test different pattern weights, leveraging classes from MQL5's standard library for efficient implementation. Using these signals, traders can develop robust strategies, anticipating trend reversals and breakouts for enhanced trading decisions in volatile markets.
#MQL5 #MT5 #Indicator #Strategy
Read more...
#MQL5 #MT5 #Indicator #Strategy
Read more...
π28β€10π₯4π¨βπ»3
MetaQuotes Language 5 (MQL5) Expert Advisor enhances interactivity with Telegram via responsive inline buttons. Inline buttons, defined using JSON, offer streamlined user actions within messages. The article covers their integration in MQL5, including creating a dedicated message class to manage interactions and a callback query class for handling specific user actions triggered by these buttons. By incorporating these elements, the bot processes user inputs dynamically, improving the overall user experience. Guidance on testing the bot ensures seamless functionality, making trading bots more responsive and user-centric for optimal trading efficiency.
#MQL5 #MT5 #Telegram #EA
Read more...
#MQL5 #MT5 #Telegram #EA
Read more...
β€26π21π¨βπ»4π₯3πΎ3π2
A new script provides a graphical panel of information to display the maximum lot size permitted, calculated based on account size, leverage, and free margin. Unlike traditional scripts that rarely use dialogs, this script offers a visual representation without needing to load an expert advisor. This functionality is particularly useful for those who prefer quick access to essential trading information directly through a script, streamlining the process of fetching free margin-related data. Efficient and straightforward, this script meets a specific need by delivering critical trading metrics with minimal setup.
#MQL5 #MT5 #script #Forex
Read more...
#MQL5 #MT5 #script #Forex
Read more...
π19β€8π¨βπ»6
Auto-optimizing forex trading algorithms offer significant advantages for automated traders. An Expert Advisor (EA) can adjust its strategy based on market conditions post-trade. This adaptive feature allows EAs to refine their approach over time.
Key components to set up include necessary libraries, input parameters, global variables, and optimization settings. The core functions of the EAβinitialization, deinitialization, and tick processingβare essential for maintaining operational stability.
Optimization logic involves evaluating parameter combinations to find the best-performing settings. Techniques like multi-criteria optimization and walk-forward optimization reduce the risk of overfitting and improve robustness.
Best practices include balancing optimization frequency and maintaining computational efficiency. Comprehensive logging and effective use of d...
#MQL5 #MT5 #EA #Algo
Read more...
Key components to set up include necessary libraries, input parameters, global variables, and optimization settings. The core functions of the EAβinitialization, deinitialization, and tick processingβare essential for maintaining operational stability.
Optimization logic involves evaluating parameter combinations to find the best-performing settings. Techniques like multi-criteria optimization and walk-forward optimization reduce the risk of overfitting and improve robustness.
Best practices include balancing optimization frequency and maintaining computational efficiency. Comprehensive logging and effective use of d...
#MQL5 #MT5 #EA #Algo
Read more...
π21β€14π¨βπ»3π1
Developing an automated trading application (EA) involves multiple stages where each generates critical information. The information is saved in a database with results stored from various strategy tests.
A challenge arises in creating trading strategy objects from this saved data. Direct object storage in the database is not an option. Converting object properties to a string for storage ensures data can be read back and objects recreated. This can be managed through methods or constructors that parse these strings to assign values to object properties.
Creating complex objects, such as groups of trading strategies or an EA itself, demonstrates the need for a systematic approach to string parsing and object reconstruction.
A practical implementation requires classes to be "factoryable." This means developing a base class, CFactorable, which can be initi...
#MQL5 #MT5 #EA #Strategy
Read more...
A challenge arises in creating trading strategy objects from this saved data. Direct object storage in the database is not an option. Converting object properties to a string for storage ensures data can be read back and objects recreated. This can be managed through methods or constructors that parse these strings to assign values to object properties.
Creating complex objects, such as groups of trading strategies or an EA itself, demonstrates the need for a systematic approach to string parsing and object reconstruction.
A practical implementation requires classes to be "factoryable." This means developing a base class, CFactorable, which can be initi...
#MQL5 #MT5 #EA #Strategy
Read more...
π20β€13π¨βπ»2β‘1π1
## Introduction
Enhancing the Admin Panel GUI in MQL5 includes essential improvements such as toggling between dark and light themes, adding stylish buttons, and customizing fonts.
## Basic Admin Panel Achievements
Previously accomplished:
- Created an Admin Panel with a Messaging Interface and Telegram Integration.
- Added buttons for minimize, maximize, close, and quick messaging.
## Applying MQL5 GUI Styling Features
MQL5 offers various tools for GUI customization, including color and font adjustments. These enable creating a visually cohesive and functional interface.
## Customizing Colors and Fonts
Define an array of available fonts and manage their selection through an index. Implement a button for users to cycle through fonts, ensuring dynamic and cohesive panel appearance.
## Theme Management Logic
Set up a system with light and dark themes. ...
#MQL5 #MT5 #GUI #Styling
Read more...
Enhancing the Admin Panel GUI in MQL5 includes essential improvements such as toggling between dark and light themes, adding stylish buttons, and customizing fonts.
## Basic Admin Panel Achievements
Previously accomplished:
- Created an Admin Panel with a Messaging Interface and Telegram Integration.
- Added buttons for minimize, maximize, close, and quick messaging.
## Applying MQL5 GUI Styling Features
MQL5 offers various tools for GUI customization, including color and font adjustments. These enable creating a visually cohesive and functional interface.
## Customizing Colors and Fonts
Define an array of available fonts and manage their selection through an index. Implement a button for users to cycle through fonts, ensuring dynamic and cohesive panel appearance.
## Theme Management Logic
Set up a system with light and dark themes. ...
#MQL5 #MT5 #GUI #Styling
Read more...
π40β€17π4π¨βπ»2π2π1π€1
Announcing the updated NoLoss EA, improved significantly through community feedback. Unlike most lagging indicators, this EA eliminates dependency on indicators, candlestick patterns, chart patterns, or price action analysis. It uses a progressive strategy verified over a year of use and four years of backtesting.
**Preferred Pair**: EURUSD
**Setup**: Compatible with any timeframe due to its non-reliance on traditional indicators and patterns.
**Parameters**:
- **Initialsize**: Set your initial lot size based on your account balance.
- **MaxBuy/Sell**: Define the maximum number of open buy/sell positions.
- **OverallBuy/SellProfit**: Establish the combined profit target for all buy/sell orders.
- **Slippage**: Enter your slippage value.
- **DistanceBetweenOrders**: Set the pip distance to trigger new orders in the same direction.
- **NumberofBuy/Sell**: Sp...
#MQL4 #MT4 #EA #Strategy
Read more...
**Preferred Pair**: EURUSD
**Setup**: Compatible with any timeframe due to its non-reliance on traditional indicators and patterns.
**Parameters**:
- **Initialsize**: Set your initial lot size based on your account balance.
- **MaxBuy/Sell**: Define the maximum number of open buy/sell positions.
- **OverallBuy/SellProfit**: Establish the combined profit target for all buy/sell orders.
- **Slippage**: Enter your slippage value.
- **DistanceBetweenOrders**: Set the pip distance to trigger new orders in the same direction.
- **NumberofBuy/Sell**: Sp...
#MQL4 #MT4 #EA #Strategy
Read more...
π40β€21π7β‘3π¨βπ»3β2
Category Theory, a powerful mathematical framework, can be leveraged in algorithmic trading using MQL5 to understand the relationships between trading strategies, instruments, and market conditions. By classifying and analyzing these relationships through concepts like domains and morphisms, traders can identify patterns and create adaptable, reliable trading algorithms. This approach ensures consistency, verifies system correctness, and enhances communication of complex trading strategies. Practical applications include constructing unique trading domains, enforcing data integrity, and visualizing morphisms, leading to sophisticated expert advisors in MetaTrader 5. This methodology aids MQL5 programmers in developing robust, scalable trading systems.
#MQL5 #MT5 #AlgoTrading #Strategy
Read more...
#MQL5 #MT5 #AlgoTrading #Strategy
Read more...
π40β€26π€―7β4β‘3π¨βπ»3
The Trend Direction Force Index v2 (TDFI) indicator has been successfully converted from TradingView to MQL4. Originally designed for identifying market trend direction and magnitude, this indicator is now available for MetaTrader 4 users. The TDFI calculates a standardized measure of price movement, offering enhanced insight into market dynamics. This version maintains the original algorithm, ensuring consistency in its output while leveraging the MQL4 environment. The conversion facilitates seamless integration into existing trading strategies for algorithmic traders and technical analysts working within the MetaTrader 4 platform.
#MQL4 #MT4 #Indicator #TDFI
Read more...
#MQL4 #MT4 #Indicator #TDFI
Read more...
π34β€24π3π¨βπ»3
In this latest installment, we transform the Chart Trade panel into an indicator and modularize the sound system previously embedded in the EA. This approach enhances reusability and simplicity across different MetaTrader 5 components. By introducing a sound service and an accompanying library, we streamline the sound alert mechanism, making it accessible from any script, EA, or indicator. This modular and scalable setup facilitates better code maintenance and adaptability, avoiding legacy compatibility issues. Whether you're a seasoned developer or new to algorithmic trading, these modifications offer practical advantages for more robust and manageable trading systems.
#MQL5 #MT5 #Indicator #AlgoTrading
Read more...
#MQL5 #MT5 #Indicator #AlgoTrading
Read more...
π25β€22π¨βπ»4β2π1
MetaTrader 5 Platform beta build 4540 introduces numerous new features and improvements to the web platform:
β’ A crosshair mode for accessing precise values and measuring distances on the chart, as well as a new line chart type.
β’ Ability to enable additional information in the Market Watch in the the mobile version.
β’ Expanded list of supported hotkeys for more efficient chart operations.
New machine learning functions are now available in MQL5. These include integration with the OpenBLAS matrix computation library and improved ONNX Runtime support to enable the execution of more complex neural models.
Additionally, the platform now offers improved tick history downloading and exporting features. Also, we have fixed bugs in testing agents that could lead to excessive RAM consumption.
Update to the beta version now and be among the first to experience the new features
β’ A crosshair mode for accessing precise values and measuring distances on the chart, as well as a new line chart type.
β’ Ability to enable additional information in the Market Watch in the the mobile version.
β’ Expanded list of supported hotkeys for more efficient chart operations.
New machine learning functions are now available in MQL5. These include integration with the OpenBLAS matrix computation library and improved ONNX Runtime support to enable the execution of more complex neural models.
Additionally, the platform now offers improved tick history downloading and exporting features. Also, we have fixed bugs in testing agents that could lead to excessive RAM consumption.
Update to the beta version now and be among the first to experience the new features
π42β€35π₯9π€¨5π¨βπ»4π2π1
Fair Value Gap (FVG) represents a price imbalance appearing when there's a significant discrepancy between the opening, high, low, and closing prices over three consecutive candles. This occurs when one candle's range does not fully overlap with the surrounding candles, creating a "gap" in the price action. Traders identify these gaps as potential zones where the price may retrace to correct the imbalance before continuing its original direction. This concept plays a crucial role in many trading strategies for pinpointing potential entry and exit points based on observed market inefficiencies.
#MQL5 #MT5 #Algorithm #Strategy
Read more...
#MQL5 #MT5 #Algorithm #Strategy
Read more...
π47β€23π¨βπ»3π€―2
An indicator identifying Engulfing candle patterns is available. It features red arrows for Bearish Engulfing and green arrows for Bullish Engulfing patterns. This tool aids in recognizing significant market trends and reversals.
For those interested in developing custom Indicators, Scripts, or Expert Advisors, advanced development services are offered. Enhance your trading strategies with precision-tailored tools designed to meet specific requirements. Contact for collaborative opportunities and custom development projects.
#MQL5 #MT5 #Indicator #EA
Read more...
For those interested in developing custom Indicators, Scripts, or Expert Advisors, advanced development services are offered. Enhance your trading strategies with precision-tailored tools designed to meet specific requirements. Contact for collaborative opportunities and custom development projects.
#MQL5 #MT5 #Indicator #EA
Read more...
β€26π18π¨βπ»6β4π€―1
An opportunity to enhance trading strategies is now available with a customizable trading bot integrated with a specific indicator. This demo version showcases potential capabilities. For personalized assistance in developing an optimized trading bot tailored to individual needs, professional support is offered to ensure effective results. Reach out for further collaboration and achieve a sophisticated trading solution.
#MQL5 #MT5 #EA #Indicator
Read more...
#MQL5 #MT5 #EA #Indicator
Read more...
β€27β‘8π5π¨βπ»4π1
Dive into the integration of Deep Learning with three advanced Expert Advisors (EAs) in MetaTrader 5, enhancing algorithms for more precise market predictions and risk management. This article explores how Nash's Game Theory, Causality Network Analysis, and Stochastic Optimization benefit from incorporating Python-generated ONNX models. Detailed modifications in MQL5 scripts show improved decision-making and trading outcomes. Results highlight varied performance: DL models in some cases improved consistency and win rates, while others maintained profitability with increased caution. This deep dive underscores the potential and careful implementation required for DL in trading, promising better-adapted strategies but necessitating rigorous testing across market conditions.
#MQL5 #MT5 #EA #DeepLearning
Read more...
#MQL5 #MT5 #EA #DeepLearning
Read more...
π20β€19β‘3β1π¨βπ»1
Discover the Turtle Shell Evolution Algorithm (TSEA), a groundbreaking approach inspired by natural patterns for optimizing trading strategies. Emulating the turtle's shell growth, this algorithm clusters solutions based on quality, preserving less successful options for continuous improvement. By leveraging both K-Means and K-NN clustering, TSEA adapts dynamically, ensuring effective data organization and maximizing potential. The structured arrangement allows developers to efficiently store and access optimization agents, creating a robust framework for iterative enhancements. Ideal for enhancing MetaTrader 5 strategies, this method ensures progressive refinement akin to nature's intricate designs.
#MQL5 #MT5 #Algorithm #AI
Read more...
#MQL5 #MT5 #Algorithm #AI
Read more...
β€34π28π¨βπ»3π1
Introducing AllWinningTrades Closer: One Click Exit, an efficient MT4 EA that facilitates the rapid closure of all profitable trades with a single click. Designed for ease of use, this EA requires no complicated settings or adjustments. Simply activate the EA and, with one click, it will close any trade that is in profit.
Key Features:
- One-Click Profit Closure: Instantly close all winning trades with one click.
- Easy to Use: No settings or adjustments required. Activate and use.
- User-Friendly Button: A simple button on the chart to quickly close all profitable trades.
Ideal Use Cases:
- Busy Traders: Manage multiple profitable trades in one click.
- Scalpers: Lock in small profits from frequent trades without monitoring each position.
- Volatile Markets: Secure profits during fast-moving conditions, like news events.
- Traders Seeking Simplicity: A fast...
#MQL4 #MT4 #EA #Scalper
Read more...
Key Features:
- One-Click Profit Closure: Instantly close all winning trades with one click.
- Easy to Use: No settings or adjustments required. Activate and use.
- User-Friendly Button: A simple button on the chart to quickly close all profitable trades.
Ideal Use Cases:
- Busy Traders: Manage multiple profitable trades in one click.
- Scalpers: Lock in small profits from frequent trades without monitoring each position.
- Volatile Markets: Secure profits during fast-moving conditions, like news events.
- Traders Seeking Simplicity: A fast...
#MQL4 #MT4 #EA #Scalper
Read more...
π39β€18π3π¨βπ»3β‘2π€©1
Unlock the potential of automated crypto trading with the 2-Pair Correlation EA, a fully self-adaptive Expert Advisor designed for BTC/USD and ETH/USD pairs. Suitable for all trading experience levels, this EA aids in capturing market opportunities while maintaining low risk. Available for free on MQL5, it provides a robust introduction to crypto trading automation.
Key Features:
1. Correlation-Based Trading Strategy: Monitors the price difference between BTC/USD and ETH/USD to exploit market inefficiencies without guessing market direction.
2. Automatic Lot Sizing: Adjusts lot size based on account balance and a pre-set risk percentage for consistent risk management.
3. Built-In Volatility Control: Utilizes the ATR indicator to pause trading during high volatility, protecting against sudden price movements.
4. Drawdown Protection: Pauses trading if the accoun...
#MQL5 #MT5 #EA #Crypto
Read more...
Key Features:
1. Correlation-Based Trading Strategy: Monitors the price difference between BTC/USD and ETH/USD to exploit market inefficiencies without guessing market direction.
2. Automatic Lot Sizing: Adjusts lot size based on account balance and a pre-set risk percentage for consistent risk management.
3. Built-In Volatility Control: Utilizes the ATR indicator to pause trading during high volatility, protecting against sudden price movements.
4. Drawdown Protection: Pauses trading if the accoun...
#MQL5 #MT5 #EA #Crypto
Read more...
π26β€20β4π¨βπ»3π3β‘1π1