MQL5 Algo Trading
388K subscribers
2.56K photos
2.56K links
The best publications of the largest community of algotraders.

Subscribe to stay up-to-date with modern technologies and trading programs development.
Download Telegram
Understanding the Binary DOT Signal for 60-second binary options can be highly beneficial for traders looking to improve their strategy in this fast-paced market. The Binary DOT signal represents a market indicator used specifically for predicting very short-term price movements.

The utility of this signal lies in its ability to provide quick entries and exits, a necessary feature for the binary options platform where timing is crucial. Utilization of such signals can offer traders a structured approach to navigating through high volatility and making decisions with better precision. This can lead to improved trading accuracy, essential in maximizing potential returns within a Minute trading window.

Read more...
πŸ‘78❀48🀑9πŸ‘7πŸ”₯5✍1πŸ‘Œ1
For those integrating AI into trading strategies, understanding the customization of AI models for specific markets is crucial. This discussion includes the use of the Nelder-Mead optimization algorithm to fine-tune AI models, such as deep neural networks for financial markets, with a focus on enhancing model performance beyond default settings.

The Nelder-Mead algorithm, ideal for non-linear and non-differentiable optimization scenarios, helps in adjusting model parameters effectively, based on a defined starting point and iterative evaluation using a simplex method. This approach is effective for finding optimal settings that might differ significantly across various market environments.

Practically, this involves fetching market data from trading platforms like MetaTrader5, adjusting neural network parameters, and evaluating performance iterations to identify optimal configuratio...

Read more...
πŸ‘29❀23πŸ†5πŸ‘2✍1😁1🀝1
Risk management is crucial in trading, and incorporating a Risk Manager Class can significantly enhance the safety and effectiveness of trading strategies. This post discusses the development of a basic Risk Manager Class tailored for manual trading, focusing on period-specific risk controls (daily, weekly, monthly) and a method to lock in daily profits.

When losses meet or exceed pre-defined limits, the system automatically halts trading, issuing notifications to users about next steps β€” although manual override is possible, it's advised against to prevent further losses. Additionally, if adopted in algorithmic trading, it necessitates modifications like order restrictions upon limit breaches.

Parametric input allows traders to specify acceptable risk percentages per period, which helps in maintaining disciplined trading. The class handles risk by immediately ceasing trading activ...

Read more...
πŸ‘25πŸ‘Œ22❀14πŸ”₯2⚑1πŸ†1
Understanding the user interface of your trading application is crucial for effective management of trades. In the lower right corner of your interface, there is a feature that displays the profit or loss percentage of your account. This enables traders to have a quick visual reference of their account's performance without navigating through multiple menus.

Additionally, key functions such as OnInit(), OnDeinit(), and OnCalculate() play essential roles in algorithmic trading scripts. OnInit() is executed when a trading script is initialized, OnDeinit() handles cleanup when the script is unloaded, and OnCalculate() is the function called to compute indicators' values based on new price data. Familiarity with these functions is critical for developing robust trading strategies.

Read more...
❀42πŸ‘29πŸ‘5⚑3πŸ‘Œ3✍2😁1
The Cuckoo Optimization Algorithm (COA), inspired by the unique reproductive strategy of cuckoo birds, stands out as a robust method for continuous non-linear optimization. Utilizing the concept where cuckoos lay eggs in the nests of other birds, this algorithm interprets these eggs as potential solutions to an optimization problem, with the new cuckoo egg representing an improved solution.

COA integrates Levy flights to enhance solution searching over simple random walks. This affords the algorithm greater efficiency and improved searching capability by allowing jumps over larger and variable distances, making it particularly effective in exploring diverse problem landscapes rapidly.

The algorithm starts with a set of initial solutions, iteratively improving them by simulating the laying of eggs in various nests and utilizing randomness and fitness-based selection. This method effi...

Read more...
πŸ‘39❀24πŸ‘Ύ5πŸ”₯4πŸ†4πŸ‘¨β€πŸ’»3⚑1
The HLC Trend indicator serves as a crucial tool in trading, functioning as a two-line-crossover confirmation indicator. It generates buy signals when the long line, typically white, crosses above and closes above the short line, depicted in red. Conversely, sell signals are initiated when the short red line crosses and closes above the long white line. Users can customize this indicator through various inputs including MA method, and the periods for high, low, and close moving averages. While commonly paired with exponential moving averages, the HLC Trend indicator is versatile enough to be effective with various moving average methods, enhancing its utility in diverse trading strategies.

Read more...
πŸ‘62❀37✍10πŸ”₯6πŸ‘4⚑2😎1
The ProgressBar object, commonly utilized in programming for visual representation of progress, only supported a continuous line style. Recent enhancements have introduced additional styles: 'Blocks' and 'Marquee'. The 'Blocks' style segments the progress bar into distinct units, while 'Marquee' facilitates the scrolling display of progress, useful when the number of iterations is unknown.

Further enhancements include adding text display functionalities within the progress bar. This incorporates a text label, managed by the CLabel class, positioned above all other ProgressBar components. The text, non-visible by default, can be dynamically activated and customized during runtime.

For streamlined object creation in the library, modification of constructors has been proposed. This involves consolidating property settings into one initialization method, reducing redundancy. The update ...

Read more...
πŸ‘27❀13πŸŽ‰5πŸ‘2πŸ†2
The Stop Loss Placement indicator utilizes the Average True Range (ATR) to define two equidistant lines from a moving average, aiding in setting stop loss levels efficiently. This tool is also valuable for assessing trading risks, functioning as a price breakout filter. If the price deviates significantly from the baseline, the asset may be considered too volatile for a secure trade.

Key input settings include:
- ATR period: Default set at 14, determines the range period.
- ATR factor: Commonly set at 1.5, adjusts the sensitivity of the stop loss distance.
- MA period: Set at 1 to closely reflect price action.
- MA method: Options include SMA, EMA, SMMA, and LWMA, allowing traders to select the moving average that best suits their strategy.

This combination of settings enables traders to customize the indicator according to their risk tolerance and trading style.

Read more...
❀77πŸ‘62πŸ‘5πŸŽ‰4πŸ†4⚑3✍2
In the latest installment of the Chart Trader Project, significant advancements have been made in the interaction between the mouse indicator and the Chart Trade indicator. These updates cater to enhancing the user experience and efficiency within the MetaTrader 5 platform using MQL5. The revised indicator code now introduces a method for users to define initial values directly, which simplifies customization and practical application.

This development not only improves user interaction but also demonstrates a seamless integration without depending on multiple on-screen objects. The approach taken here is fundamental, ensuring that even with minimal on-screen elements, the functionality remains robust.

Attention is drawn to the utilization of templates within MetaTrader 5, which entails customization and adjustment capabilities, vital for tailoring functionalities that align with sp...

Read more...
❀30πŸ‘21πŸŽ‰5πŸ‘3πŸ”₯2πŸ‘Œ1πŸ‘€1
Financial markets offer a vast array of data that can be complex to analyze. Advanced tools like Jupyter Lab have become essential for traders looking to perform sophisticated statistical analysis and data visualization. Using Jupyter Lab, they can identify trends, seasonality, and predict future price movements with greater accuracy.

To begin analysis, historical data from MetaTrader 5 needs to be exported in .csv format. This involves adjusting settings under `Tools > Options` and `View > Symbols` on the MetaTrader interface to download potentially unlimited bars, which are essential for a detailed analysis. Next, setting up Jupyter Lab involves a straightforward download from its official site, accommodating various operating systems with different installers like pip, conda, or brew.

Loading this data into Jupyter Lab requires navigating to the saved folder and loading the CSV f...

Read more...
πŸ‘32❀15πŸ‘4⚑2πŸ‘Œ1
The SMA_Channel indicator is built around a single Moving Average (SMA) to create a channel on the chart. This versatile tool offers two distinct plot styles selectable within the settings. When PlotStyle 1 is selected, the channel is represented as a Line. Alternatively, with PlotStyle 2, the indicator renders the channel as Bars.

To indicate market trends, the SMA_Channel utilizes color-coded visuals. In an uptrend scenario, blue bars positioned below the candlestick suggest upward market momentum. Conversely, gold bars displayed above the candlestick indicate a downtrend. This simple yet effective color-coding aids in fast trend recognition, assisting traders in making informed decisions based on prevailing market trends.

Read more...
πŸ‘39❀20πŸ‘5πŸ‘€3πŸ†1
The Quotes service provides up-to-date, detailed data on financial instruments, ensuring you always have the latest market information at hand:

βœ“ Real-time prices for currencies, cryptocurrencies, metals, indices, and commodities.
βœ“ Interactive charts to analyze historical quotes and identify trends for each instrument.
βœ“ Exchange rate showcase of the most popular currencies to view the overall financial landscape across different regions.
βœ“ Currency Converter for quick conversion between various currencies.
βœ“ Interactive financial widgets for your website or blog to make it more engaging for visitors.

Use the Quotes section to stay ahead of market changes and make informed trading decisions!

View latest market updates
πŸ‘51❀22πŸ”₯8⚑6πŸ‘5
Clustering is a machine learning technique that groups a dataset into clusters, ensuring that objects within the same cluster are similar, and those from different clusters are dissimilar. This method is instrumental in discovering data structures, identifying patterns, and analyzing cause-and-effect relationships in research scenarios, especially in causal inference.

The application of clustering in causal inference involves grouping similar objects to analyze connections between clusters, enhancing the integrity of results. It aids in detecting hidden patterns that could signify causal relationships and even predicts future occurrences based on identified patterns.

Additionally, clustering assists in managing noise and focusing on significant groups within the data, thus supporting more robust data analysis processes. It proves particularly advantageous in time series analysis, of...

Read more...
πŸ‘32❀10⚑7
Understanding the integration of Ordinary Differential Equations (ODEs) in neural networks offers groundbreaking potentials in model training. This approach involves parameterizing the derivative of the hidden state through a neural network while utilizing a differential equation solver, often treated as a "black box", to compute results. This method notably conserves memory usage across processes and dynamically adjusts to the input signal.

A key challenge addressed in the development of these models is the backpropagation through an ODE solver. The conjugate sensitivity method introduced allows for calculating gradients by solving an extended ODE backwards in time, offering low memory footprint and controlled numerical error. The process involves constructing dynamics for the error gradient relative to the hidden state and integrating these to compute gradients regarding model para...

Read more...
πŸ‘23❀8πŸ”₯5πŸ‘Œ4πŸ†2
Batch normalization is a crucial technique in the refinement of neural network training, streamlining data input into network layers to enhance performance dramatically. Though initially tied to reducing internal covariate shiftβ€”mitigating the impact of input imbalances across layersβ€”a recent study posits that its benefits may also accrue from smoothing intra-layer gradients, contributing to less variability and improved empirical performance.

This insight breeds significant interest in the application of batch normalization within neural network frameworks, particularly from a technical development perspective. The discussion in technical circles now pivots on the best practices for implementationβ€”namely through Standard-Scaling, Feature-Scaling, and Robust-Scaling. Each method offers distinct approaches to treating input data, which will be analyzed and tested against control group...

Read more...
πŸ‘Œ18πŸ‘15❀11πŸ†2
In the evolving field of trading technology, MetaTrader 5 (MT5) offers robust capabilities for price data exportation, crucial for integrating trading data with visual simulations in 3D modeling environments like Blender. By customizing a script using MQL5, the scripting language of MT5, users can tailor the data export to include specific data points such as Open and Close Prices for selected timeframes, enhancing data usability in external software.

Further refinement of this data is achieved using Python, a versatile programming language well-suited for handling complex data manipulation tasks. Python scripts enable the normalization and transformation of raw trading data, preparing it for effective application in Blender 3D, a powerful tool for creating dynamic visualizations and animations.

The combination of these technologies facilitates a detailed representation of trading d...

Read more...
πŸ‘38❀10🀣4πŸ‘3πŸŽ‰3⚑2
The Nadaraya-Watson Envelope is a technical analysis tool that highlights price extremes over a chosen time frame. It operates by applying kernel smoothing techniques to estimate the price's underlying trend. Once this is established, the mean absolute deviations are calculated relative to the trend, creating an envelope that clearly marks the bounds of price fluctuations. This method provides traders with a visual representation of potential resistance and support levels, facilitating more informed decision-making in trading strategies. Developed by LuxAlgo, this technique has been implemented in MT5 for efficient trading analysis.

Read more...
πŸ‘53❀31πŸ‘7πŸ”₯6⚑1
In the realm of artificial intelligence and machine learning, feature selection stands out as a pivotal process for enhancing model efficiency by identifying and choosing relevant subsets of features from larger datasets. This method not only simplifies the model, leading to reduced computational costs, but also significantly boosts performance by focusing on significant features, thus improving accuracy and predictability. Notably, feature selection aids in model interpretability and handling noisy or less relevant data, thus safeguarding against overfitting.

Different methods facilitate this selection process. Filter methods, such as using a correlation matrix or conducting statistical tests (Chi-squared and ANOVA), evaluate features independently of any learning algorithms. Wrapper methods, like Recursive Feature Elimination (RFE) and Sequential Feature Selection (SFS), assess sub...

Read more...
πŸ‘34❀20πŸ†5✍4😁1🀯1πŸ‘Œ1
In recent developments within timeseries data analysis, there is continued refinement in the detection of Price Action patterns on price charts, focusing particularly on the "Inside Bar" pattern. This pattern, a two-bar formation, requires analysis far beyond simple bar proportions, demanding a comparison of adjacent bars and potentially handling multiple nested formations within one larger pattern.

To support these complex pattern recognitions, enhancements have been made to the library classes' functionality. Notably, the addition of a "bitmap" object type allows for graphical delineation of pattern bars, enhancing visual representation and aiding in pattern identification directly on charts. Additionally, there's an introduction of a new variable in bar objects to store pattern types as bit flags, allowing multiple pattern identifications within a single variable.

These enhanceme...

Read more...
πŸ‘18❀10πŸ‘Œ5⚑1
In the realm of algorithmic trading, Bollinger Bands stand out as a sophisticated technical analysis tool. Particularly in MetaTrader 5, employing Bollinger Bands through MQL5 allows traders to automate their trading strategies effectively. The methodology involves setting up the Bollinger Bands indicator to signal potential buy or sell opportunities based on market volatility.

This approach not only helps in identifying overbought or oversold market conditions but also aids in spotting potential price breakouts or reversals. The three components of Bollinger Bands include the middle band, which is the simple moving average, the upper band, and the lower band, which are respectively positioned above and below the middle band at a distance determined by the price's standard deviation.

For traders looking to develop an Expert Advisor (EA) in MQL5, understanding how to implement and mo...

Read more...
πŸ‘29❀24⚑5🀯3πŸ‘Œ3πŸ‘€3