The Fibonacci Bollinger Bands indicator has been converted from Pine Script to the MQL5 language. This tool merges Bollinger Bands with Fibonacci levels, enabling traders to spot support and resistance zones more effectively. Key features include automatic Fibonacci level calculations on Bollinger Bands, offering a distinct viewpoint for breakout and reversal trading strategies. This indicator is fully compatible with MetaTrader 5, catering to those seeking advanced technical analysis instruments. Suitable for traders aiming to refine their market analysis with integrated Fibonacci insights. Consider evaluating its utility in your trading strategy.
#MQL5 #MT5 #Indicator #Strategy
Read more...
#MQL5 #MT5 #Indicator #Strategy
Read more...
π21β10β€10π3π¨βπ»3
A new time utility library offers over 80 functions to efficiently handle time variables. Designed for high-performance applications, the library's performance mode is optional and can be activated at compile time using a #define directive. By enabling this mode, the library substitutes MQL's TimeToStruct and StructToTime functions with more efficient versions, enhancing performance in software requiring heavy time-related processing. Users can quantify speed improvements by compiling the "performance_mode.mq5" script with and without the performance mode.
Key additions include functions for calculating business days, finding the Nth weekday in a month, and optimized time calculations. Usage examples are available through "basic.mq5" and "advanced.mq5" scripts, showcasing both fundamental and advanced functionality. The latest update introduces the Ti...
#MQL5 #MT5 #Script #Performance
Read more...
Key additions include functions for calculating business days, finding the Nth weekday in a month, and optimized time calculations. Usage examples are available through "basic.mq5" and "advanced.mq5" scripts, showcasing both fundamental and advanced functionality. The latest update introduces the Ti...
#MQL5 #MT5 #Script #Performance
Read more...
β€26π16π3β‘2β2π¨βπ»2
Explore innovative algorithmic trading solutions with the cutting-edge MLKV method for MetaTrader 5. This advanced technique capitalizes on multi-layer Key-Value sharing to significantly reduce memory usage without sacrificing performance. By efficiently distributing Key and Value entities across neural layers, MLKV offers a superior balance between memory consumption and model accuracy. Designed with developers in mind, this approach integrates seamlessly with existing MQL5 frameworks, enhancing the implementation of algorithmic trading strategies. Discover how MLKV and underlying techniques like MQA and GQA present scalable, resource-efficient solutions, empowering traders and developers to tackle complexities in trading technology with ease.
#MQL5 #MT5 #MLKV #AI
Read more...
#MQL5 #MT5 #MLKV #AI
Read more...
π40β€25π4π€£4π¨βπ»2π₯1
The Double ZigZag indicator offers an analytical tool for visualizing buy and sell levels on price charts. Users can configure take profit (TP) and stop loss (SL) parameters in the settings. The indicator features two distinct ZigZag patterns: one representing buy price movement and the other representing sell price movement. Each pattern marks price extremes for respective movements. Additionally, the chart includes horizontal lines indicating the last levels reached by each ZigZag model, providing clear reference points for potential entry and exit levels. This setup aids in comprehending market trends and making informed trading decisions.
#MQL4 #MT4 #Indicator #Strategy
Read more...
#MQL4 #MT4 #Indicator #Strategy
Read more...
π30β€11β9π2π¨βπ»2
Discover the future of algorithmic trading with MetaTrader 5 and Python! Automate your trades using a model-based algorithm, setting strategic stop-losses and take-profits to manage risk effectively. Utilize online trading functions for real-time decisions, enhancing trading precision. Implement intelligent risk management to protect against drawdowns, adapting dynamically to market changes and utilizing optimal lot sizing based on the Kelly criterion. Experience the benefits of multi-currency trading through parallel computing for enhanced performance. Prepare for future advancements with insights into quantum machine learning, reinforcement learning, and swarm intelligence for optimized trading strategies. Stay ahead in the evolving landscape of trading technology.
#MQL5 #MT5 #Algorithm #AITrading
Read more...
#MQL5 #MT5 #Algorithm #AITrading
Read more...
π23β€12π4β‘2π2π¨βπ»2
Explore the intricate world of neural networks and uncover the mechanics behind pseudoinverse calculations with MQL5. Delve into the mathematics that fuel these computations and grasp how to implement them effectively without relying on built-in functions. While utilizing arrays instead of matrices, this article clarifies how pseudoinverse is achieved through matrix multiplication and dynamic memory handling. With a focus on educational value over efficiency, the guide walks through each step, offering insights for both seasoned and aspiring MetaTrader 5 programmers. This understanding empowers developers to integrate these techniques into more diverse trading algorithm applications, enhancing their analytical and practical skills.
#MQL5 #MT5 #ML #AI
Read more...
#MQL5 #MT5 #ML #AI
Read more...
π46β€25π10π3β2π¨βπ»2π1
A new trend change indicator uses arrows (Up and Down) to signal potential shifts in market direction. When a trend change is detected and the corresponding icon appears in the indicator buffer, alerts are triggered to notify users. This ensures that users are promptly informed of potential market changes, enabling timely decision-making. The indicator's real-time alerts help in keeping track of market dynamics efficiently. It's crucial for users to monitor these signals closely to capitalize on emerging trends and adjust their strategies accordingly.
#MQL5 #MT5 #Indicator #Trend
Read more...
#MQL5 #MT5 #Indicator #Trend
Read more...
π34β€20β‘5π3π¨βπ»3π€£1
The Kelly Criterion has long been used in trading to optimize capital allocation and manage risk. Yet, reliance on a single backtest carries dangers due to diminishing trading edges over time. The Leverage Space Trading Model offers a framework incorporating leverage to determine risk per trade using factors like probability and leverage ratios.
Applying the Kelly Criterion involves calculating an optimized risk fraction, balancing risk and reward. Using Monte Carlo simulations, traders can better estimate maximum drawdown tolerances, reflecting more realistic market scenarios.
For portfolio optimization with multiple EAs, correlations between strategies need to be considered, aiming for diversified risk exposure. By recalculating risk based on actual portfolio performance and correlations, traders can enhance growth potential while maintaining a ma...
#MQL5 #MT5 #Algorithm #Trading
Read more...
Applying the Kelly Criterion involves calculating an optimized risk fraction, balancing risk and reward. Using Monte Carlo simulations, traders can better estimate maximum drawdown tolerances, reflecting more realistic market scenarios.
For portfolio optimization with multiple EAs, correlations between strategies need to be considered, aiming for diversified risk exposure. By recalculating risk based on actual portfolio performance and correlations, traders can enhance growth potential while maintaining a ma...
#MQL5 #MT5 #Algorithm #Trading
Read more...
π34β€11π¨βπ»3π2
MetaTrader 5 build 4755 provides a fix to an error in triple swap calculations in the strategy tester, which occurred under certain combinations of testing conditions.
Additionally, some minor enhancements and fixes have been implemented in this new version to further improve the platform's overall stability.
Discuss the update...
Additionally, some minor enhancements and fixes have been implemented in this new version to further improve the platform's overall stability.
Discuss the update...
π42β€22π₯21π¨βπ»5π3π3
An expert advisor executes pending orders at Pivot Point levels automatically. It targets R1, R2, R3, and S1, S2, S3 for precision. Customization options include defining lot size, stop loss (SL), and take profit (TP). This aids in executing strategies with exact parameters. It enhances analysis by displaying pivot levels on charts, allowing traders to visualize key points directly.
Parameters:
- Lot Size: Adjust order volume aligning with account capacity.
- Take Profit in Points: Set profit capture points for automatic trade closure at targets.
- Stop Loss in Points: Predefine risk management to close unfavorable positions.
- Pivot Visualization: Enable or disable chart display for R1, R2, R3, S1, S2, and S3 to facilitate analysis.
#MQL4 #MT4 #EA #AlgoTrading
Read more...
Parameters:
- Lot Size: Adjust order volume aligning with account capacity.
- Take Profit in Points: Set profit capture points for automatic trade closure at targets.
- Stop Loss in Points: Predefine risk management to close unfavorable positions.
- Pivot Visualization: Enable or disable chart display for R1, R2, R3, S1, S2, and S3 to facilitate analysis.
#MQL4 #MT4 #EA #AlgoTrading
Read more...
π24π10β€8β‘5π¨βπ»4π1
Explore advanced MQL5 and MetaTrader 5 development in our latest dive into algorithmic trading. We're breaking down complex systems, focusing on effective use of messaging. By structuring our applications modularly, we're enhancing flexibility and control within the platform. Key changes include adapting mouse indicators and the introduction of a common header file, Defines.mqh, to streamline communication between applications.
The article explains message handlers and their implementation, ensuring seamless interaction between bespoke indicators and broader applications. As developers, you'll appreciate the shift towards message-driven architectures, which promises improved system integration. This understanding opens up possibilities for more refined trading automation solutions within MetaTrader 5.
#MQL5 #MT5 #Strategy #MetaTrader
Read more...
The article explains message handlers and their implementation, ensuring seamless interaction between bespoke indicators and broader applications. As developers, you'll appreciate the shift towards message-driven architectures, which promises improved system integration. This understanding opens up possibilities for more refined trading automation solutions within MetaTrader 5.
#MQL5 #MT5 #Strategy #MetaTrader
Read more...
π¨βπ»14π12β€9β2π1π1
Explore innovative approaches to enhance predictive models in algorithmic trading using MetaTrader 5. The article delves into ensemble learning techniques, focusing on combining model outputs for improved accuracy. Simple averaging is highlighted for its computational efficiency and robustness against overfitting, making it suitable for diverse datasets. Advanced techniques, like linear regression and variance-weighted combinations, address issues of overfitting and model bias by optimizing prediction weights and considering model variance. For noisy data, General Regression Neural Networks offer enhanced generalization through non-linear modeling. Practical MQL5 implementations are discussed, providing traders and developers with scalable solutions to refine algorithmic trading strategies.
#MQL5 #MT5 #ML #Ensemble
Read more...
#MQL5 #MT5 #ML #Ensemble
Read more...
π32β€8π5π¨βπ»5
An advanced version of the ZigZag indicator introduces step size adjustments in price points. This enhancement offers options to visualize level lines that align with the most recent maximum and minimum extremes. It also allows displaying wave sizes in points, reflecting how many points the price traversed between levels. The indicator settings offer customization with color options for each element of the ZigZag. Users can choose to display a standard ZigZag, a ZigZag with level display enabled, or fully utilize all functions, including level lines and wave size in points. This flexibility offers users granular control over the analysis of market movements.
#MQL4 #MT4 #Indicator #Strategy
Read more...
#MQL4 #MT4 #Indicator #Strategy
Read more...
β€30π22π7β2π¨βπ»2π1
The recent updates in the "Developing a trading Expert Advisor from scratch" series focus on enhancing the robustness of trading systems. This installment addresses critical issues impacting order management, particularly the catastrophic entry point error in trading algorithms. The solution involves modifying order handling logic to prevent discrepancies between chart data and server information during market interactions. The adjustment ensures stability by accurately managing stop and limit orders, crucial for minimizing financial risk.
The implementation introduces a method to modify trading volume without removing orders from the chart. The process involves integrating indicator objects and improving the interface for a seamless trading experience. This approach reduces manual intervention and potential errors, making the EA more efficient.
Overall, th...
#MQL5 #MT5 #EA #Strategy
Read more...
The implementation introduces a method to modify trading volume without removing orders from the chart. The process involves integrating indicator objects and improving the interface for a seamless trading experience. This approach reduces manual intervention and potential errors, making the EA more efficient.
Overall, th...
#MQL5 #MT5 #EA #Strategy
Read more...
π39β€20π2π¨βπ»2π1
The initial version of DeMarker Pending advisor focused on core functionalities. In its second iteration, enhancements include two adjustable parameters: 'Maximum number of positions' and 'Minimum step of positions'. These options allow for increased control and flexibility in position management. Setting either parameter to '0' effectively disables it, providing tailored user customization. These additions are integral for users requiring specific trading strategies and position handling capabilities. The advisor demonstrates continued commitment to refining tools for precision and adaptability within trading environments. Further details are illustrated in the accompanying visual, Pic.1. DeMarker Pending 2.
#MQL5 #MT5 #EA #Algorithm
Read more...
#MQL5 #MT5 #EA #Algorithm
Read more...
β€25π13β3π3π1π¨βπ»1
In the previous article, we explored modifications to enhance EA system reliability. We focused on separating functionalities to maintain efficiency and performance. This article extends that approach by emphasizing the importance of not embedding indicators in EAs. An EA should purely manage orders and observe prices, without reliance on indicators.
MetaTrader 5 separates indicators, services, scripts, and Expert Advisors to optimize performance. Indicators should operate on separate threads for parallel efficiency. Services can access data efficiently, which isn't ideal directly within an EA. Scripts perform specific tasks temporarily, while EAs should focus solely on trading system operations.
To improve EA reliability, remove non-trading system code, converting such elements into indicators. This reduces EA complexity and increases its agili...
#MQL5 #MT5 #ExpertAdvisor #Algorithm
Read more...
MetaTrader 5 separates indicators, services, scripts, and Expert Advisors to optimize performance. Indicators should operate on separate threads for parallel efficiency. Services can access data efficiently, which isn't ideal directly within an EA. Scripts perform specific tasks temporarily, while EAs should focus solely on trading system operations.
To improve EA reliability, remove non-trading system code, converting such elements into indicators. This reduces EA complexity and increases its agili...
#MQL5 #MT5 #ExpertAdvisor #Algorithm
Read more...
π54β€17π¨βπ»6β‘4π4
The concept centers on identifying moments when a completed candlestick intersects with the 'Moving Average' indicator. The next step involves locating the last prior intersection point. By marking the period between these intersections, a rectangle can be drawn. This rectangleβs upper and lower borders serve as potential Stop Loss and Take Profit levels. This approach combines technical analysis and strategic planning, presenting a method to refine trading decisions with clearer entry and exit points. Implementing this strategy could lead to enhanced precision in managing risk and maximizing reward potential through informed decision-making based on historical price movements and trend analysis.
#MQL5 #MT5 #Indicator #Strategy
Read more...
#MQL5 #MT5 #Indicator #Strategy
Read more...
π34β€19π4π2π¨βπ»2
The Volatility Navigator is a new tool crafted with MQL5 to enhance trading precision by optimizing entry points, stop loss, and take profit targets. It leverages advanced indicators like Bollinger Bands, RSI, and ATR to adjust strategies dynamically in volatile markets. The tool's structure adheres to MQL5 standards, using the OnInit(), OnTick(), and OnDeinit() functions to initialize, monitor, and manage trades efficiently. This approach is crucial for responding to market changes swiftly. The integrated audio and visual alert system ensures traders receive timely notifications to make informed decisions, ultimately boosting trade effectiveness and strategy formulation.
#MQL5 #MT5 #Volatility #EA
Read more...
#MQL5 #MT5 #Volatility #EA
Read more...
π26π4β€2π2
Algorithmic trading frequently grapples with pinpointing optimal entry points, especially in daily trends where fluctuations can disrupt accuracy. Divergence acts as a filter, distinguishing potential reversals or continuations via discrepancies in price movements and momentum indicators. By integrating divergence detection into the Trend Constraint Expert Advisor, traders can significantly improve precision.
Incorporating divergence into an MQL5 Expert Advisor entails using tools like RSI and MACD to detect deviations. Regular divergence signals potential trend reversals, while hidden divergence indicates trend continuation. An Expert Advisor can utilize divergence signals by enhancing execution conditions with indicators such as MACD, RSI, or others.
Back-testing validates the practical application, showing effective positioning strategies with di...
#MQL5 #MT5 #Algorithm #Trading
Read more...
Incorporating divergence into an MQL5 Expert Advisor entails using tools like RSI and MACD to detect deviations. Regular divergence signals potential trend reversals, while hidden divergence indicates trend continuation. An Expert Advisor can utilize divergence signals by enhancing execution conditions with indicators such as MACD, RSI, or others.
Back-testing validates the practical application, showing effective positioning strategies with di...
#MQL5 #MT5 #Algorithm #Trading
Read more...
π40β€18π¨βπ»9π2
Introducing the open-source project MarketPredictor for MetaTrader 5. This innovative Expert Advisor leverages advanced mathematical models to analyze and predict market movements. It focuses on developers, math enthusiasts, and traders interested in the intersection of technology and financial markets.
Key mathematical components include:
1. Sinusoidal Functions: Aid in modeling cyclical price movements.
2. Fast Fourier Transform (FFT): Uncovers dominant frequency patterns in historical data.
3. Sigmoid Functions: Addresses nonlinear market movements, factoring in volatility.
4. Monte Carlo Simulations: Provides forecasts by modeling random deviations.
Current challenges include implementing the trading logic. Contributions are sought for parameter optimization, trading logic improvements, bug fixing, performance enhancements, and advanced analytical i...
#MQL5 #MT5 #EA #AlgoTrading
Read more...
Key mathematical components include:
1. Sinusoidal Functions: Aid in modeling cyclical price movements.
2. Fast Fourier Transform (FFT): Uncovers dominant frequency patterns in historical data.
3. Sigmoid Functions: Addresses nonlinear market movements, factoring in volatility.
4. Monte Carlo Simulations: Provides forecasts by modeling random deviations.
Current challenges include implementing the trading logic. Contributions are sought for parameter optimization, trading logic improvements, bug fixing, performance enhancements, and advanced analytical i...
#MQL5 #MT5 #EA #AlgoTrading
Read more...
π29β€13π¨βπ»4π1