Enhance your trading automation with a revamped order system in MetaTrader 5. Addressing previous flaws, the new system provides clear visualization of order types and expected movements, facilitating decision-making for traders. The updates include intuitive bitmap indicators for easy identification of buy/sell orders and position durations, distinguishing between Day Trade and Swing Trade. By using a message-driven architecture, the system efficiently processes platform events, ensuring precise order management. Suitable for both novice and experienced algorithm developers, this approach offers a practical framework for further customization, fostering better trading strategies and system robustness.
#MQL5 #MT5 #EATrading #AlgoTrading
Read more...
#MQL5 #MT5 #EATrading #AlgoTrading
Read more...
👍36❤22⚡2🎉2👌2👨💻1
The described indicator provides functionality to track price movements over a set number of bars by plotting significant price levels. It features the ability to draw a channel based on the minimum price of Low and the maximum price of High, offering insights into price extremes over the period. Furthermore, the indicator is capable of constructing a channel using the lowest Close prices and the highest Open prices, providing an alternate view on price volatility and potential areas of support and resistance. This dual capability allows for a comprehensive analysis of price patterns, aiding in more informed decision-making for traders and analysts.
#MQL5 #MT5 #Indicator #Strategy
Read more...
#MQL5 #MT5 #Indicator #Strategy
Read more...
❤26👍20👌2👨💻2
The current project focuses on enhancing the management of tab controls in a graphical user interface. If a tab control has more tabs than its width can accommodate, headers can either be cropped with scrolling buttons or arranged in multiple rows if a multiline mode is enabled.
Tab size modes determine header sizing: Normal adjusts based on text and padding, Fixed uses preset sizes, and FillToRight stretches tabs to fit the control width. Currently, only tabs on top of the control using Normal or Fixed modes are supported.
A new TabField object, extending from a container class, is introduced to manage tab interactions. Library classes are updated with new properties for sorting graphical elements and ensuring error handling consistency during graphical object creation.
Furthermore, the development includes implementing inheritance for properties like a...
#MQL5 #MT5 #UXDesign #Tabs
Read more...
Tab size modes determine header sizing: Normal adjusts based on text and padding, Fixed uses preset sizes, and FillToRight stretches tabs to fit the control width. Currently, only tabs on top of the control using Normal or Fixed modes are supported.
A new TabField object, extending from a container class, is introduced to manage tab interactions. Library classes are updated with new properties for sorting graphical elements and ensuring error handling consistency during graphical object creation.
Furthermore, the development includes implementing inheritance for properties like a...
#MQL5 #MT5 #UXDesign #Tabs
Read more...
👍27❤17😁4👌3👀2👾2👨💻1
The MetaTrader 5 Web Terminal is an advanced, fast, and reliable trading solution. It operates on any device across all operating systems and does not require additional software installations. All you need to access your account is a web browser.
To help you get acquainted with the web terminal features, we have created a short video. In just 4 minutes, you will learn how to:
✓ Connect to your account
✓ View quotes and charts
✓ Execute trades
✓ Analyze markets using indicators and objects
✓ Monitor your account status and trading history
Watch the video
To help you get acquainted with the web terminal features, we have created a short video. In just 4 minutes, you will learn how to:
✓ Connect to your account
✓ View quotes and charts
✓ Execute trades
✓ Analyze markets using indicators and objects
✓ Monitor your account status and trading history
Watch the video
👍57❤11✍8🔥4👀3🤡2👨💻2
The latest Expert Advisor leverages the Alligator trend detection method with robust automation and customizable features. It allows for precise control over Moving Average parameters, tailoring the Jaw, Teeth, and Lips to your strategy. Automates trade execution based on detected trends, facilitating both buy and sell operations under predefined conditions. Integrates a close-on-next-signal mechanism for risk management by closing trades upon a reverse signal.
Configurable elements such as trade lot size, stop loss, take profit, and slippage tolerance help manage risk while ensuring favorable trading conditions. The system requires a set minimum number of bars before initiating trades. With user control over trade activity, this tool offers flexibility and ease of use. The Alligator Indicator efficiently identifies trends, assessing current and prior value...
#MQL4 #MT4 #EA #Indicator
Read more...
Configurable elements such as trade lot size, stop loss, take profit, and slippage tolerance help manage risk while ensuring favorable trading conditions. The system requires a set minimum number of bars before initiating trades. With user control over trade activity, this tool offers flexibility and ease of use. The Alligator Indicator efficiently identifies trends, assessing current and prior value...
#MQL4 #MT4 #EA #Indicator
Read more...
👍27❤14✍3👀2🤔1👌1
In Part 5 of the MQL5 series, we enhance the Economic Calendar dashboard by adding interactivity through filter buttons for currency pairs, importance levels, and time ranges. A "Cancel" button provides the ability to clear all filters and dashboard elements. Buttons are responsive to user clicks and offer immediate feedback.
Filter Buttons:
We develop buttons for each filter type. They are organized within the dashboard and distinguishable for easy navigation. Button states and colors change based on the filter's status.
Dynamic Currency Buttons:
Currency filter buttons are dynamically generated to fit the layout. Enabling the currency filter copies all selected currencies into a specified array, reflecting real-time updates.
Responsive Dashboard:
An event listener tracks button clicks using MQL5's OnChartEvent. If the "Cancel" button is clicked...
#MQL5 #MT5 #AlgoTrading #Dashboard
Read more...
Filter Buttons:
We develop buttons for each filter type. They are organized within the dashboard and distinguishable for easy navigation. Button states and colors change based on the filter's status.
Dynamic Currency Buttons:
Currency filter buttons are dynamically generated to fit the layout. Enabling the currency filter copies all selected currencies into a specified array, reflecting real-time updates.
Responsive Dashboard:
An event listener tracks button clicks using MQL5's OnChartEvent. If the "Cancel" button is clicked...
#MQL5 #MT5 #AlgoTrading #Dashboard
Read more...
👍24❤15👌2
CatBoost is a highly efficient machine learning model, particularly suited for decision-oriented tasks. It shares characteristics with models like XGBoost and Random Forest, known for handling complex datasets and offering insights in areas such as feature analysis and risk management. This discussion examines the integration of a trained CatBoost model into a moving average cross trend-following strategy.
Key insights include data collection via MetaTrader 5, model training in Python, and feature selection based on trading signals. Statistical testing is crucial to validate the models. Initial use of threshold filtering on trade probabilities may improve profitability, minimizing overfitting risks. Future work may enhance results by tuning hyperparameters, feature engineering, and exploring other modeling techniques.
#MQL5 #MT5 #CatBoost #AlgoTrading
Read more...
Key insights include data collection via MetaTrader 5, model training in Python, and feature selection based on trading signals. Statistical testing is crucial to validate the models. Initial use of threshold filtering on trade probabilities may improve profitability, minimizing overfitting risks. Future work may enhance results by tuning hyperparameters, feature engineering, and exploring other modeling techniques.
#MQL5 #MT5 #CatBoost #AlgoTrading
Read more...
👍17❤11👨💻4👏2⚡1👌1
The article series offers an in-depth look at the newly developed EX5 libraries that significantly enhance trade management and analysis in MQL5. PositionsManager.ex5 and PendingOrdersManager.ex5 efficiently manage active market positions and pending orders, alongside practical user interface examples. The focus shifts to an essential library designed to handle the history of completed trades, orders, and positions, generating comprehensive trade reports for performance evaluation of trading systems.
A detailed introduction to trade lifecycle in MQL5 is presented, highlighting the significance of direct market and pending order processes, with emphasis on order execution and position tracking via POSITION_ID. This forms the backbone of understanding trade status changes and lifecycle management.
The difference between positions and trades is clarified, v...
#MQL5 #MT5 #Positions #MQL5
Read more...
A detailed introduction to trade lifecycle in MQL5 is presented, highlighting the significance of direct market and pending order processes, with emphasis on order execution and position tracking via POSITION_ID. This forms the backbone of understanding trade status changes and lifecycle management.
The difference between positions and trades is clarified, v...
#MQL5 #MT5 #Positions #MQL5
Read more...
👍15❤8👨💻4⚡2🔥2👌2✍1
An upgrade has been developed for the Admin Panel EA, introducing the third sub-panel to expand its functionality. This enhancement integrates statistical tools, automating market metric analysis with PieChart visualizations. Key focuses include win-to-loss ratios and trade-type categorization, enabling swift assessments of trading performance across asset classes like Forex, Stocks, or Options.
Using MQL5's PieChart and ChartCanvas classes, the Analytics Panel offers real-time data visualization. This boosts decision-making speed and accuracy. The new development enhances Admin Panel EA's robustness, providing critical insights. Introducing these advanced statistical tools underscores the project's educational and practical significance.
#MQL5 #MT5 #Algorithm #Analytics
Read more...
Using MQL5's PieChart and ChartCanvas classes, the Analytics Panel offers real-time data visualization. This boosts decision-making speed and accuracy. The new development enhances Admin Panel EA's robustness, providing critical insights. Introducing these advanced statistical tools underscores the project's educational and practical significance.
#MQL5 #MT5 #Algorithm #Analytics
Read more...
👍35❤24👌2👨💻1
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