A notable advancement in trading automation: the same code is compatible with both MT4 and MT5 platforms. This code fetches news automatically from FXStreet servers, allowing for thorough filtering by importance level, currency, and keyword. Key features include filtering news by High, Low, or Medium volatility, currency-specific filtering, keyword-based filtering, and an auto GMT offset check. It also includes a customizable dashboard to display upcoming news, which can be enabled or disabled as required. Additionally, lines indicating upcoming events are displayed on the chart. The code is flexible and can be modified to place trades at specific times related to events or to suspend trading during those periods. Access the MT5 version at the provided link.
#MQL4 #MT4 #FXNews #Forex
Read more...
#MQL4 #MT4 #FXNews #Forex
Read more...
π44β€23β‘13π5π¨βπ»4
Discover the power of non-linear methods in financial time series analysis! This article delves into innovative techniques for creating non-linear indicators on MetaTrader 5, transforming linear indicators using logarithmic price transformations to provide robust solutions where linear indicators fall short. Learn to utilize measures like the median and Bayesian smoothing to enhance sensitivity to price changes. Explore practical applications like robust trend analysis with the Weighted Median Ichimoku and improved pattern recognition using ordinal statistics. Ideal for both traders and developers, this comprehensive guide enhances algorithmic trading strategies and indicator accuracy comprehensively.
#MQL5 #MT5 #Trading #Finance
Read more...
#MQL5 #MT5 #Trading #Finance
Read more...
π26β€8π¨βπ»6π6
This indicator offers clear visualization of bid and ask prices, aiding in trade entry and exit decisions. It includes custom bid and ask lines that are labelled for easy identification. Unlabeled lines can cause confusion, making this a useful addition for clarity.
A buy order will execute at the current ask price, while a sell order will execute at the current bid price. Seeing the ask line clearly allows for more strategic buying near the low of a candle rather than the high. Similarly, a labelled bid line assists in selling near the high of a candle, maximizing potential gains. This utility simplifies the trading process and enhances decision-making efficiency.
#MQL5 #MT5 #Trading #Forex
Read more...
A buy order will execute at the current ask price, while a sell order will execute at the current bid price. Seeing the ask line clearly allows for more strategic buying near the low of a candle rather than the high. Similarly, a labelled bid line assists in selling near the high of a candle, maximizing potential gains. This utility simplifies the trading process and enhances decision-making efficiency.
#MQL5 #MT5 #Trading #Forex
Read more...
π69β€23π¨βπ»8β5π5π3π3
Concept:
Continuing from the previous article, the development of the ProgressBar control advances. The control comprises an underlay and a progress bar. Future iterations will support additional design elements on the underlay, such as texts and images. Currently, it exists as a static WinForms object.
Today, programmatic control functionality for the ProgressBar will be developed. This allows usage in applications to indicate progress during extensive operation sequences. Visual effects, such as moving glare, can provide indications of process continuation or completion.
Once complete, the ProgressBar control may remain visible until manually closed, enabling observation of process completion through ongoing visual effects. Multiple progress bars can indicate subprocess completion while the main process continues.
Visual effects will be ...
#MQL5 #MT5 #ProgressBar #UIDevelopment
Read more...
Continuing from the previous article, the development of the ProgressBar control advances. The control comprises an underlay and a progress bar. Future iterations will support additional design elements on the underlay, such as texts and images. Currently, it exists as a static WinForms object.
Today, programmatic control functionality for the ProgressBar will be developed. This allows usage in applications to indicate progress during extensive operation sequences. Visual effects, such as moving glare, can provide indications of process continuation or completion.
Once complete, the ProgressBar control may remain visible until manually closed, enabling observation of process completion through ongoing visual effects. Multiple progress bars can indicate subprocess completion while the main process continues.
Visual effects will be ...
#MQL5 #MT5 #ProgressBar #UIDevelopment
Read more...
π40β€15π2π¨βπ»2π2
The code in discussion is compatible with the mt4 platform. It automatically retrieves news from FXStreet servers, allowing users to filter by importance level, currency, and keywords. The mt4 version is available at the provided link.
Key features include:
- Filtering news by high, low, or medium volatility.
- Filter by currencies.
- Filter by news keywords.
- Automatic GMT offset check.
- A dashboard to show upcoming news (optional).
- Lines on the chart for all upcoming events.
The code can be easily modified to place trades at specific times before or after events or to halt trading during events.
#MQL5 #MT5 #FXNews #TradingTech
Read more...
Key features include:
- Filtering news by high, low, or medium volatility.
- Filter by currencies.
- Filter by news keywords.
- Automatic GMT offset check.
- A dashboard to show upcoming news (optional).
- Lines on the chart for all upcoming events.
The code can be easily modified to place trades at specific times before or after events or to halt trading during events.
#MQL5 #MT5 #FXNews #TradingTech
Read more...
π65β€32β6β‘4π¨βπ»3
Bird Swarm Algorithm (BSA) is a bioinspired evolutionary algorithm developed by Meng and colleagues in 2015. It utilizes swarm intelligence based on social interactions and behavior of bird flocks.
The algorithm integrates three aspects of bird behavior: flight, foraging, and vigilance. Individual birds employ unique strategies, leading to effective cooperation and support in optimizing solutions. Different individuals within the BSA algorithm can switch between these behaviors to balance exploration and exploitation, aiming to avoid premature convergence.
Flight behavior and foraging are dependent on global and individual fitness. BSA models flock behavior, where birds exhibit adaptations such as flocking, communication, adaptability, and leadership-following dynamics to find optimal solutions.
BSA combines these principles for an optimization ap...
#MQL5 #MT5 #birds #optimization
Read more...
The algorithm integrates three aspects of bird behavior: flight, foraging, and vigilance. Individual birds employ unique strategies, leading to effective cooperation and support in optimizing solutions. Different individuals within the BSA algorithm can switch between these behaviors to balance exploration and exploitation, aiming to avoid premature convergence.
Flight behavior and foraging are dependent on global and individual fitness. BSA models flock behavior, where birds exhibit adaptations such as flocking, communication, adaptability, and leadership-following dynamics to find optimal solutions.
BSA combines these principles for an optimization ap...
#MQL5 #MT5 #birds #optimization
Read more...
π27β€18π¨βπ»4π―3π1
This indicator provides alerts on MT4, mobile, and email, enhancing signal management efficiency. Press "N" to generate a new signal, and "D" to delete a signal. Customize your message preferences directly. The MT5 version is available at the provided link for enhanced compatibility.
Stay updated without constant screen monitoring, leveraging advanced alert functionalities. This tool is designed for streamlined communication and better trading decisions. Access the MT5-compatible version to optimize your trading strategy and ensure timely alerts across platforms.
For additional details, visit the link for comprehensive information on functionality and customization options.
#MQL4 #MT4 #trading #alerts
Read more...
Stay updated without constant screen monitoring, leveraging advanced alert functionalities. This tool is designed for streamlined communication and better trading decisions. Access the MT5-compatible version to optimize your trading strategy and ensure timely alerts across platforms.
For additional details, visit the link for comprehensive information on functionality and customization options.
#MQL4 #MT4 #trading #alerts
Read more...
β€48π40β6π₯4π4π4π¨βπ»2
Explore how Multiple Time-Frame Analysis and AI converge in MetaTrader 5. By integrating EURUSD price predictions, this series evaluates the predictive power of AI across various strategies. Data and models built with open, high, low, and close price information revealed that while Linear Regression provided the best benchmark, the Gradient Boosting Regressor (GBR) showed potential after optimization. Despite challenges in achieving superior accuracy, this study illustrates AI's capabilities and provides practical tools and scripts for developers. Implement and visualize AI in your trading strategies with clear guidance on exporting models to ONNX and integrating them into MQL5 Expert Advisors.
#MQL5 #MT5 #AITrading #Investing
Read more...
#MQL5 #MT5 #AITrading #Investing
Read more...
π28β€9β‘7π₯4π4π¨βπ»2
Dive into the future of trading with machine learning and predictive analytics, now seamlessly integrated with MetaTrader 5! By leveraging Pythonβs powerful libraries like scikit-learn and combining them with MQL5, traders can transition from static rule-based systems to dynamic, data-driven models that adapt to market fluctuations.
The step-by-step guide covers gathering historical data, processing it with Jupyter Lab, training a Random Forest model, and deploying it within MQL5 using ONNX for enhanced decision-making. Experience improved prediction accuracy, robust trade execution, and real-time adaptability. This revolutionary approach bridges financial analysis with AI, automating strategies that respond dynamically to market conditions.
#MQL5 #MT5 #MachineLearning #PredictiveAnalytics
Read more...
The step-by-step guide covers gathering historical data, processing it with Jupyter Lab, training a Random Forest model, and deploying it within MQL5 using ONNX for enhanced decision-making. Experience improved prediction accuracy, robust trade execution, and real-time adaptability. This revolutionary approach bridges financial analysis with AI, automating strategies that respond dynamically to market conditions.
#MQL5 #MT5 #MachineLearning #PredictiveAnalytics
Read more...
π19β€12π5π4β2π¨βπ»2
Discover invaluable insights into regression analysis for time series trading with our latest guide. We demystify the impacts of non-stationarity on regression models, using Monte Carlo simulations to highlight the pitfalls of spurious correlations. Learn how to leverage MQL5's powerful statistical and graphics libraries for precise calculations. We showcase the correct application of ordinary least squares and matrix algebra to estimate model parameters and how to diagnose model misspecification using residual analysis and auto-correlation functions. Enhance your algorithmic trading strategies by ensuring your regression models meet stationarity requirements for reliable predictions. Perfect for both seasoned and aspiring MetaTrader 5 developers!
#MQL5 #MT5 #Regression #Statistics
Read more...
#MQL5 #MT5 #Regression #Statistics
Read more...
β€17π11π2π¨βπ»2π1
Explore the power of Gaussian Process (GP) Kernels in algorithmic trading without diving into machine learning. This post simplifies how GP Kernels measure relationships in time series data, producing forecasts with confidence estimates - a key advantage over traditional methods like ARIMA.
Learn about the Radial Basis Function (RBF) kernel, its flexibility in modeling non-linear relationships, and how it handles noisy data with accuracy. Also, discover practical MQL5 coding for leveraging RBF kernels in predicting financial metrics.
Step up your trading strategy by incorporating uncertainty quantification from GP Kernels, enhancing decision-making and managing risks effectively. Perfect for both novice and expert MetaTrader 5 developers.
#MQL5 #MT5 #Gaussian #Statistics
Read more...
Learn about the Radial Basis Function (RBF) kernel, its flexibility in modeling non-linear relationships, and how it handles noisy data with accuracy. Also, discover practical MQL5 coding for leveraging RBF kernels in predicting financial metrics.
Step up your trading strategy by incorporating uncertainty quantification from GP Kernels, enhancing decision-making and managing risks effectively. Perfect for both novice and expert MetaTrader 5 developers.
#MQL5 #MT5 #Gaussian #Statistics
Read more...
π17β€11π¨βπ»3π2
Stay informed with this useful MT5 indicator that sends alerts to your mobile and email. Easily manage signals by pressing "N" for new alerts and "D" to delete them. Tailor your alert preferences for seamless integration into your workflow. MT4 version is available at mql5.com/en/code/40575. Operate efficiently without the need to constantly monitor your screen. Ideal for those requiring reliable updates on market movements without direct supervision. Ensure you stay ahead with timely and customized notifications.
#MQL5 #MT5 #trading #forex
Read more...
#MQL5 #MT5 #trading #forex
Read more...
β€12π9π¨βπ»5β2π2π₯2β‘1
Our growing channel audience has shown that delivering information via messenger is highly convenient and valued by our community. So, we decided to launch three more dedicated channels for our global audience:
β’ Trading AlgorΓtmico MQL5 in Spanish
β’ MQL5 Trading Algorithmique in French
β’ MQL5 ΠΠ»Π³ΠΎΡΡΠ΅ΠΉΠ΄ΠΈΠ½Π³ in Russian
You can now receive timely notifications about the latest algorithmic trading updates and cutting-edge technological trends in your native language.
In these channels, we publish daily materials from the Articles and CodeBase sections, as well as important information: announcements of MetaTrader 5 platform updates, top forum discussions, and other news from the world of trading.
Subscribe, and we will deliver the most useful and interesting content directly to your favorite messenger's feed. Share the channel links with colleagues and add reactions to our posts.
β’ Trading AlgorΓtmico MQL5 in Spanish
β’ MQL5 Trading Algorithmique in French
β’ MQL5 ΠΠ»Π³ΠΎΡΡΠ΅ΠΉΠ΄ΠΈΠ½Π³ in Russian
You can now receive timely notifications about the latest algorithmic trading updates and cutting-edge technological trends in your native language.
In these channels, we publish daily materials from the Articles and CodeBase sections, as well as important information: announcements of MetaTrader 5 platform updates, top forum discussions, and other news from the world of trading.
Subscribe, and we will deliver the most useful and interesting content directly to your favorite messenger's feed. Share the channel links with colleagues and add reactions to our posts.
β€59π32π₯10β7π7π―4π€3
This Expert Advisor (EA) originated as a task to trail equity. Subsequent additions included managing individual trades and manually setting prices to initiate a grid of pending orders. This EA does not contain conditions to open trades autonomously. Users must identify market areas where they would manually open a grid of orders. Upon identifying such an area, input the desired price for the EA to open a grid of pending orders. When the market reaches the specified price, the EA will send the grid and manage trades according to user-defined parameters, including Stop Loss and trailing actions. As of 13 Sep 2022, the EA compiles without errors.
#MQL5 #MT5 #trading #EA
Read more...
#MQL5 #MT5 #trading #EA
Read more...
π30β€15π4π3π¨βπ»3π₯1
Optimizing trading strategies across multiple time periods helps assess their robustness. The period of 2018-2022 includes diverse market conditions and is sufficiently short for practical testing. MetaTrader 5βs forward period testing divides this span into main and forward sections, effectively evaluating strategies on unseen data.
Instances are optimized on past data and tested against future data. This serves as Out-Of-Sample (OOS) testing. Although initially overlooked, forward period analysis helps verify strategy performance beyond the optimization phase.
Observations indicate performance degradation in EAs during the forward period. Increased drawdown and elongated recovery times are common but manageable, suggesting room for further parameter refinement. Future work should include parameter clustering to mitigate these issues and ensure more r...
#MQL5 #MT5 #backtest #forex
Read more...
Instances are optimized on past data and tested against future data. This serves as Out-Of-Sample (OOS) testing. Although initially overlooked, forward period analysis helps verify strategy performance beyond the optimization phase.
Observations indicate performance degradation in EAs during the forward period. Increased drawdown and elongated recovery times are common but manageable, suggesting room for further parameter refinement. Future work should include parameter clustering to mitigate these issues and ensure more r...
#MQL5 #MT5 #backtest #forex
Read more...
π35β€6β4π¨βπ»3β‘2π2π2
Direct interaction with system users from MetaTrader 5 is now possible. Admins can share real-time system performance insights and validate recent signals on social channels.
Given the rise in reliance on instant messaging platforms like Telegram, integrated communication is essential. Over 70% of traders use these platforms for real-time updates, highlighting the need for seamless communication solutions.
This guide discusses creating an admin panel in MetaTrader 5 using MQL5. It covers GUI development, library file usage, algorithm creation, and Telegram API integration. This comprehensive system facilitates effective signal management and immediate communication.
Understanding the MetaTrader 5 coordinate system is vital for GUI development, ensuring precise element positioning and sizing.
MQL5βs modular header files (.mqh) enhance code organiza...
#MQL5 #MT5 #MetaTrader #Trading
Read more...
Given the rise in reliance on instant messaging platforms like Telegram, integrated communication is essential. Over 70% of traders use these platforms for real-time updates, highlighting the need for seamless communication solutions.
This guide discusses creating an admin panel in MetaTrader 5 using MQL5. It covers GUI development, library file usage, algorithm creation, and Telegram API integration. This comprehensive system facilitates effective signal management and immediate communication.
Understanding the MetaTrader 5 coordinate system is vital for GUI development, ensuring precise element positioning and sizing.
MQL5βs modular header files (.mqh) enhance code organiza...
#MQL5 #MT5 #MetaTrader #Trading
Read more...
π57β€17β7π¨βπ»5π4π4π2
Analyzing trade history can significantly contribute to evaluating and improving trading strategies. The default history period of three months allows for a comprehensive short-term review. Regular assessment of past trades over this period aids in recognizing patterns and identifying both strengths and weaknesses in trading approaches.
To optimize performance, consider adjusting the history period based on individual trading frequency and market conditions. Detailed examination of this history ensures informed decision-making and promotes continuous improvement in trading activities. Regularly update and refine trading strategies using historical data for better outcomes.
#MQL5 #MT5 #trading #forex
Read more...
To optimize performance, consider adjusting the history period based on individual trading frequency and market conditions. Detailed examination of this history ensures informed decision-making and promotes continuous improvement in trading activities. Regularly update and refine trading strategies using historical data for better outcomes.
#MQL5 #MT5 #trading #forex
Read more...
π34β€11β‘5π¨βπ»2β1π€―1
In the previous article, we examined merging MetaQuotes Language 5 (MQL5) with Telegram for signal generation and relay. This streamlined the sending of trading signals to Telegram. We now take a further step in integrating MQL5 with Telegram by sending a screenshot of the trading signal chart.
Instead of only the text portion, a visual representation, such as a chart screenshot, can add context and clarity to the signal. This article focuses on converting image data into a format compatible for embedding in HTTPS requests. This conversion is essential for including images in our Telegram bot.
The article is organized into four parts: overview of image encoding and transmission over HTTPS, implementation in MQL5, testing the integration, and conclusion. By the end, we will have developed an Expert Advisor (EA) that sends chart screenshots with trading i...
#MQL5 #MT5 #trading #finance
Read more...
Instead of only the text portion, a visual representation, such as a chart screenshot, can add context and clarity to the signal. This article focuses on converting image data into a format compatible for embedding in HTTPS requests. This conversion is essential for including images in our Telegram bot.
The article is organized into four parts: overview of image encoding and transmission over HTTPS, implementation in MQL5, testing the integration, and conclusion. By the end, we will have developed an Expert Advisor (EA) that sends chart screenshots with trading i...
#MQL5 #MT5 #trading #finance
Read more...
π30β€18π¨βπ»6π₯1π€―1π1
MetaTrader 5 just leveled up algorithmic trading! Dive into how Restricted Boltzmann Machines (RBM), traditionally used with probability-based Energy-Based Models, are now optimized with Backpropagation thanks to GPU acceleration.
Explore how RBMs, acting as price-embedders, streamline price data complexities, providing a robust foundation for Multi-Layer Perceptrons (MLP). This approach facilitates dimension reduction and uncovers hidden data properties, empowering MLPs for better trade decisions.
Optimize your trading strategy with this innovative technique and see practical gains in trading stability during trend reversals. Learn how combining RBMs with MLPs can lead to diversification and a distinct trading edge.
#MQL5 #MT5 #TraderTips #RBMs
Read more...
Explore how RBMs, acting as price-embedders, streamline price data complexities, providing a robust foundation for Multi-Layer Perceptrons (MLP). This approach facilitates dimension reduction and uncovers hidden data properties, empowering MLPs for better trade decisions.
Optimize your trading strategy with this innovative technique and see practical gains in trading stability during trend reversals. Learn how combining RBMs with MLPs can lead to diversification and a distinct trading edge.
#MQL5 #MT5 #TraderTips #RBMs
Read more...
π55β€23β‘6π5π¨βπ»5β3
Charts display trading activity using various visual indicators: Blue Zone as TP Zone, Red Zone as SL Zone, Blue Arrow for Buy signals, and Red Arrow for Sell signals. Blue Ticks represent Wins, while Red Crosses indicate Losses. To configure these on the desired chart, follow these steps:
1. Open the chart for the respective symbol.
2. Enter the magic number to filter trades by a specific identifier. A magic number of 0 will display all historical trades for the selected symbol.
This setup helps in tracking and analyzing trading performance visually, making historical trade review more efficient.
#MQL4 #MT4 #Forex #Trading
Read more...
1. Open the chart for the respective symbol.
2. Enter the magic number to filter trades by a specific identifier. A magic number of 0 will display all historical trades for the selected symbol.
This setup helps in tracking and analyzing trading performance visually, making historical trade review more efficient.
#MQL4 #MT4 #Forex #Trading
Read more...
β€25π22π¨βπ»4π2
Applying mathematical theories can provide strategic advantages. One significant concept is Nash Equilibrium, formulated by John Forbes Nash Jr. Leveraging Nash's game theory in trading, especially through Python scripts and advanced statistics, can optimize strategies and decision-making.
Nash Equilibrium assumes each player knows the strategies of others, ensuring no unilateral gain from changing their strategy. This principle can guide trading in financial markets, albeit these markets are dynamic and rarely in perfect equilibrium.
Python scripts and a demo account with MetaTrader 5 can help identify negatively correlated symbols. By using the Hidden Markov Model (HMM) for predictive analytics, traders can refine strategies for better outcomes.
Integrate the HMM output with an Expert Advisor's (EA) strategy on MetaTrader 5. Key fu...
#MQL5 #MT5 #NashEquilibrium #AlgorithmicTrading
Read more...
Nash Equilibrium assumes each player knows the strategies of others, ensuring no unilateral gain from changing their strategy. This principle can guide trading in financial markets, albeit these markets are dynamic and rarely in perfect equilibrium.
Python scripts and a demo account with MetaTrader 5 can help identify negatively correlated symbols. By using the Hidden Markov Model (HMM) for predictive analytics, traders can refine strategies for better outcomes.
Integrate the HMM output with an Expert Advisor's (EA) strategy on MetaTrader 5. Key fu...
#MQL5 #MT5 #NashEquilibrium #AlgorithmicTrading
Read more...
π14β€13π¨βπ»7π1