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
Artificial Intelligence and Neural Networks
Artificial intelligence and neural networks are often a subject of fascination. However, their core is not as mysterious as perceived. A neural network is a thoughtfully designed program that aims to achieve specific goals. Understanding this requires examining the algorithms and mathematical equations such as linear regression used in these networks.
Linear regression is an affine function, essential for neural network development. When constructing a neural network, itβs crucial to find values that best fit the data set, thus simplifying computation and optimizing performance.
In these articles, the focus will be on demonstrating these processes using MQL5 exclusively. This approach will illustrate that the right understanding and method can be applied across various programming languages, showcasing the c...
#MQL5 #MT5 #AI #NeuralNetwork
Read more...
Artificial intelligence and neural networks are often a subject of fascination. However, their core is not as mysterious as perceived. A neural network is a thoughtfully designed program that aims to achieve specific goals. Understanding this requires examining the algorithms and mathematical equations such as linear regression used in these networks.
Linear regression is an affine function, essential for neural network development. When constructing a neural network, itβs crucial to find values that best fit the data set, thus simplifying computation and optimizing performance.
In these articles, the focus will be on demonstrating these processes using MQL5 exclusively. This approach will illustrate that the right understanding and method can be applied across various programming languages, showcasing the c...
#MQL5 #MT5 #AI #NeuralNetwork
Read more...
π27β€12π¨βπ»5π2
Algorithmic trading strategies enable quick, informed decisions, minimizing human error and emotional biases. Automated systems like MetaTrader 5 offer consistency by following predetermined parameters. Creating an Expert Advisor (EA) utilizing the Parabolic SAR indicator can successfully automate trade execution.
The Parabolic SAR tracks potential market trend reversals, using dots on a chart. Sensitivity is controlled by SAR Step and Maximum settings, aiding traders in identifying entry and exit points. This strategy excels in trending markets such as forex and commodities.
Implementation in MQL5 involves defining input parameters such as LotSize, SAR_Step, and SAR_Maximum, and handling trade operations through the Trade.mqh library. With properly tuned parameters, the strategy shows promise but requires continuous monitoring and optimization to ens...
#MQL5 #MT5 #AlgoTrading #Forex
Read more...
The Parabolic SAR tracks potential market trend reversals, using dots on a chart. Sensitivity is controlled by SAR Step and Maximum settings, aiding traders in identifying entry and exit points. This strategy excels in trending markets such as forex and commodities.
Implementation in MQL5 involves defining input parameters such as LotSize, SAR_Step, and SAR_Maximum, and handling trade operations through the Trade.mqh library. With properly tuned parameters, the strategy shows promise but requires continuous monitoring and optimization to ens...
#MQL5 #MT5 #AlgoTrading #Forex
Read more...
π34β€17π¨βπ»5β1π1
To analyze trading signal performance:
1. Access the provided URL.
2. Select a signal of interest.
3. Navigate to the Trading History tab.
4. Scroll to the bottom and select the History link.
5. Open your MT4 terminal and go to File > Open Data Folder.
6. Place the CSV file downloaded in step 4 into the MQL4\Files directory.
7. Input the file name (without the .csv extension) into the FILENAME field when loading the script.
This workflow enables efficient review and assessment of trading history, facilitating better decision-making based on historical data.
#MQL4 #MT4 #trading #forex
Read more...
1. Access the provided URL.
2. Select a signal of interest.
3. Navigate to the Trading History tab.
4. Scroll to the bottom and select the History link.
5. Open your MT4 terminal and go to File > Open Data Folder.
6. Place the CSV file downloaded in step 4 into the MQL4\Files directory.
7. Input the file name (without the .csv extension) into the FILENAME field when loading the script.
This workflow enables efficient review and assessment of trading history, facilitating better decision-making based on historical data.
#MQL4 #MT4 #trading #forex
Read more...
π34β€21π¨βπ»4β‘3π1
Markov chains are effective for modeling and forecasting time series data in finance. Their simplicity is a primary advantage, relying on probabilistic models without complex assumptions. They are beneficial for financial data, which often exhibit non-stationary behavior.
There are four main types of Markov chain models: discrete-time, continuous-time, Hidden Markov models, and Switching Markov models. The primary types are discrete-time, modeling a system over discrete steps, and continuous-time, modeling over an interval. Probability estimation, often via expectation maximisation, is key for using these models.
Markov chains predict future states based on current status and transition probabilities, making them suitable for various fields like finance, weather, and biology.
#MQL5 #MT5 #finance #forecasting
Read more...
There are four main types of Markov chain models: discrete-time, continuous-time, Hidden Markov models, and Switching Markov models. The primary types are discrete-time, modeling a system over discrete steps, and continuous-time, modeling over an interval. Probability estimation, often via expectation maximisation, is key for using these models.
Markov chains predict future states based on current status and transition probabilities, making them suitable for various fields like finance, weather, and biology.
#MQL5 #MT5 #finance #forecasting
Read more...
β€37π30π₯6π¨βπ»6π4
To use the script effectively on a Daily timeframe, review the results on both the D1 and M1 charts. Although the script wasn't initially designed to calculate support and resistance lines, it appears capable of doing so.
Key inputs:
- `Prediction_Bar >= -1`: 0 refers to the current bar, -1 to the next bar, +1 to the previous bar, and so on.
- `Win > 0`: Represents the length of the comparison window for stream similarity.
- `Num > 0`: Indicates the number of illustrated bars.
Color indicators:
- Aqua: The best match stream (shifted).
- DarkOrange: Bar close.
- Lime: Predicted bar.
- Red: Bar high.
- Blue: Bar low.
- Yellow: Predicted area.
Bar text indicates the similarity error for further analysis. The script's flexibility provides potential additional applications beyond its original scope.
#MQL5 #MT5 #trading #forex
Read more...
Key inputs:
- `Prediction_Bar >= -1`: 0 refers to the current bar, -1 to the next bar, +1 to the previous bar, and so on.
- `Win > 0`: Represents the length of the comparison window for stream similarity.
- `Num > 0`: Indicates the number of illustrated bars.
Color indicators:
- Aqua: The best match stream (shifted).
- DarkOrange: Bar close.
- Lime: Predicted bar.
- Red: Bar high.
- Blue: Bar low.
- Yellow: Predicted area.
Bar text indicates the similarity error for further analysis. The script's flexibility provides potential additional applications beyond its original scope.
#MQL5 #MT5 #trading #forex
Read more...
β€28π18β‘6π¨βπ»4π1
Enhancing Tooltip and ProgressBar Controls in MQL5
Concept:
The aim is to refine the ToolTip control to function more like MS Visual Studio by introducing smooth appearance and disappearance behaviors. This requires implementing timers for graphical elements, using a list of active objects to track items needing timer processing. This approach supports animated interfaces with interactive visual effects. For this work, a timer event handler will be created for ToolTip and later for ProgressBar control.
Improvements:
1. Adding timer parameters for graphical elements on canvas.
2. Default values for ProgressBar control; adding progress line glare effect similar to Windows.
3. Describing control states and animation sequences for ToolTip.
4. Updated object property lists for enhanced sorting and selection.
5. Improved pointer handling and pause countdown meth...
#MQL5 #MT5 #Code #Library
Read more...
Concept:
The aim is to refine the ToolTip control to function more like MS Visual Studio by introducing smooth appearance and disappearance behaviors. This requires implementing timers for graphical elements, using a list of active objects to track items needing timer processing. This approach supports animated interfaces with interactive visual effects. For this work, a timer event handler will be created for ToolTip and later for ProgressBar control.
Improvements:
1. Adding timer parameters for graphical elements on canvas.
2. Default values for ProgressBar control; adding progress line glare effect similar to Windows.
3. Describing control states and animation sequences for ToolTip.
4. Updated object property lists for enhanced sorting and selection.
5. Improved pointer handling and pause countdown meth...
#MQL5 #MT5 #Code #Library
Read more...
π43β€30β‘5π5π€‘4β1π1
Introducing a comprehensive indicator for plotting key Pivot Points: "Classic," "Camarilla," "Woodie," "Floor," "Fibonacci," and "Fibonacci Retracement." Users can select various timeframes for pivot calculation, offering flexibility in analysis. The tool allows for customization in width, color, and style, enhancing visual clarity. Additionally, the indicator supports multiple pivots with different timeframes on a single chart, providing a layered view of market levels. This all-inclusive approach aids in more robust technical analysis and decision-making processes.
#MQL5 #MT5 #PivotPoints #TradingIndicator
Read more...
#MQL5 #MT5 #PivotPoints #TradingIndicator
Read more...
π33β€11π¨βπ»5π1
Discover the power of alternative data with our latest analysis, focusing on VISA's Spending Momentum Index (SMI) as a predictor for EURUSD price movements. Delve into the utilization of a deep neural network to process intricate datasets and unlock potential market insights. Our robust methodology includes leveraging the FRED API for diverse economic data, optimizing neural network parameters, and employing feature selection to enhance model reliability. We highlight practical steps for integrating this approach within MetaTrader 5 using MQL5, and ensuring scalable implementation via ONNX format for seamless machine learning deployment. A must-read for enhancing your trading strategies!
#MQL5 #MT5 #AlternativeData #TradingAI
Read more...
#MQL5 #MT5 #AlternativeData #TradingAI
Read more...
π28β€8π₯5π¨βπ»3π±1π1
Explore the fundamentals of matrix calculations in programming and enhance your coding expertise with MQL5. Understanding the power of matrices can simplify complex computations, especially useful in 3D transformations and graphical applications. This article breaks down matrix implementation in code versus traditional scalar methods, empowering developers to handle large data efficiently. Learn how to rotate and manipulate objects through concise matrix operations, providing a streamlined approach to algorithmic trading and beyond. Enhance your programming skillset, making your code faster, simpler, and more efficient with practical matrix applications. Dive into the detailed guide for hands-on learning.
#MQL5 #MT5 #programming #matrices
Read more...
#MQL5 #MT5 #programming #matrices
Read more...
π42β€23π¨βπ»7π5π2π1
To acquire historical data in MetaTrader 5, the typical procedure involves using the "View > Symbols > Request" tool. However, this method occasionally omits certain data points that are present on the chart. An alternative solution is provided by a script that exports all available historical data to a CSV file. This file is located within the "Files" folder inside the "Common Data Path" directory. It is crucial to ensure that "Max bars in chart" is set to "Unlimited" under 'Tools > Options > Charts' to capture comprehensive data. This adjustment is necessary for the script to function effectively.
#MQL5 #MT5 #historicaldata #tradingtips
Read more...
#MQL5 #MT5 #historicaldata #tradingtips
Read more...
π23β€8β‘4π4π€3π¨βπ»1