The Atmosphere Clouds Model Optimization (ACMO) algorithm is an innovative approach to solving optimization problems by mimicking the natural behavior of clouds. By creating a virtual environment where clouds form in areas of high humidity, the algorithm explores potential solutions akin to cloud formations in the sky. Clouds move through a defined search space, spreading and adapting to environmental conditions, thereby avoiding local optima. The algorithm leverages cloud generation in high-humidity regions and guides cloud movement toward lower pressure areas, promoting diverse solution exploration and convergence on global optima. This methodology offers valuable insights for developers and traders engaged in algorithmic trading.
π Read | Docs | Share!
#MQL5 #MT5 #Algorithm
π Read | Docs | Share!
#MQL5 #MT5 #Algorithm
π25β€6π2π¨βπ»2πΎ1
The article delves into the significance of compilation directives in MQL5, enhancing code simplicity, speed, and flexibility for algorithmic trading. These directives, akin to commands, guide more efficient coding and facilitate version control without losing previous iterations. The #include directive, prominently used, helps organize code into modular blocks or headers, simplifying maintenance and comprehension. By restructuring code into header files and using #include statements, developers can replicate complex functionality across projects with ease. This approach reduces error rates and improves compilation success, providing traders and developers a structured framework for creating scalable and efficient trading algorithms.
π Read | Quotes | Share!
#MQL5 #MT5 #Education
π Read | Quotes | Share!
#MQL5 #MT5 #Education
π38β€17π¨βπ»5β3π1
Discussing a strategy for hedge accounts: an Expert Advisor operates by opening two opposing positions on USDJPY, H1. Key actions occur when both positions close via Stop Loss or Take Profit, promptly opening new opposing positions at the next bar. Parameters available are limited to Stop Loss and Take Profitβtrailing and indicators remain excluded. The approach applies strictly to hedge accounts, emphasizing simplicity in operation and risk management without additional trailing mechanisms or indicator reliance. The strategy is straightforward, promoting disciplined trading based on predetermined risk and reward levels. It supports methodical engagement in the USDJPY market with a clear focus on entry and exit conditions.
π Read | NeuroBook | Share!
#MQL5 #MT5 #EA
π Read | NeuroBook | Share!
#MQL5 #MT5 #EA
π28β€19π¨βπ»3π€―1
The first version of MA Trend has been developed, incorporating a new trading restriction type parameter. Users can specify whether only BUY, only SELL, or both BUY and SELL positions are allowed. The Expert Advisor leverages the iMA (Moving Average, MA) indicator for decision-making and includes various configurable settings. Noteworthy among these are:
1. Only one position - allows only one market position.
2. Reverse - flips trading signals.
3. Close opposite - closes opposing positions upon a new signal.
Default parameter configurations generate trading signals based on price comparisons with the MA indicator on bar #1. For instance, a BUY signal is triggered when the current ASK is higher than the indicator value, and a SELL signal when the BID is lower. When Only one position is enabled, and Close opposite is true, opposing positions are closed befor...
π Read | AlgoBook | Share!
#MQL5 #MT5 #EA
1. Only one position - allows only one market position.
2. Reverse - flips trading signals.
3. Close opposite - closes opposing positions upon a new signal.
Default parameter configurations generate trading signals based on price comparisons with the MA indicator on bar #1. For instance, a BUY signal is triggered when the current ASK is higher than the indicator value, and a SELL signal when the BID is lower. When Only one position is enabled, and Close opposite is true, opposing positions are closed befor...
π Read | AlgoBook | Share!
#MQL5 #MT5 #EA
π22β€16π¨βπ»3β1
A sliding line indicator using 4th-degree polynomial interpolation effectively models trends, while leveraging sine wave extrapolation for predictive purposes. The method removes one value per bar to construct a stable line, ensuring that the output remains consistent and free from redrawing issues. Key parameters include `line_power`, which governs the degree of extrapolation, and `leverage`, which adjusts the elimination process. The `multiplier` defines the point of removal from various sinusoid perspectives, offering flexibility in data modeling. `line4_SHIFT` manages shifts from the extrapolated values, and `interval` fine-tunes the method's averages. Further refinement is suggested by calculating differences.
π Read | CodeBase | Share!
#MQL5 #MT5 #Indicator
π Read | CodeBase | Share!
#MQL5 #MT5 #Indicator
π21β€12π¨βπ»3
Running an Expert Advisor on multiple symbols in MT5 can be streamlined using the "All symbols selected in the Market Watch window" mode. This allows for consistent EA settings across different symbols, but managing numerous MT5-tester runs can become cumbersome. A specialized library facilitates this by allowing configuration of various combinations of symbols, timeframes, and intervals. This setup enables both single runs and optimization, including forward testing.
The library proves useful for researching symbol performance across different timeframes and evaluating the viability of auto-optimization for trading strategies. To utilize, configure MT5-Tester according to specifications. Optimizations, executed via full brute force on real ticks, can be set for the required symbols and timeframes.
The included MTTester.mqh file aids in managing MT5-tester pr...
π Read | NeuroBook | Share!
#MQL5 #MT5 #EA
The library proves useful for researching symbol performance across different timeframes and evaluating the viability of auto-optimization for trading strategies. To utilize, configure MT5-Tester according to specifications. Optimizations, executed via full brute force on real ticks, can be set for the required symbols and timeframes.
The included MTTester.mqh file aids in managing MT5-tester pr...
π Read | NeuroBook | Share!
#MQL5 #MT5 #EA
π19β€10π¨βπ»7
The content describes a library with two display types: LabelsDisplay and CanvasDisplay. LabelsDisplay uses CChartObjectLabel while CanvasDisplay is based on CCanvas. Both are optimized for rendering frequency. Demo.mq5 demonstrates functionality, while CanvasVsLabelsTester.mq5 and CanvasVsLabels.mq5 measure performances in various environments. Methods include setText, push, and update, with LabelsDisplay offering an additional updateOne method for fast updates. Input parameters such as outType, nLines, and optimiseUpdate allow display customization. The outType parameter lets you select between Canvas or Labels, and nLines adjusts the line count retained after scrolling with the push method. OptimiseUpdate is for economical updating when the push method isn't called. Display width and text size adjustments are managed by bWidth and lY_Dist respectively. The bac...
π Read | NeuroBook | Share!
#MQL5 #MT5 #EA
π Read | NeuroBook | Share!
#MQL5 #MT5 #EA
π20β€6π¨βπ»5β2
The Expert Advisor Utility enhances trading operations by providing a structured panel for managing positions efficiently. It organizes BUY and SELL positions in specific ordersβascending for BUY and price-based for SELL. The panel can display up to five positions from each category, facilitating clear visibility.
Users can select positions through intuitive checkboxes, enabling streamlined management. The utility offers three distinct actions for chosen positions. Firstly, removing the Take Profit level is possible for immediate flexibility. Secondly, users can set a new Take Profit value as defined by the input parameter, calculated from the opening price. Lastly, the utility allows setting the Take Profit to the Breakeven point, minimizing potential losses. This utility aims to offer precise control and efficiency in manual position handling.
π Read | CodeBase | Share!
#MQL5 #MT5 #EA
Users can select positions through intuitive checkboxes, enabling streamlined management. The utility offers three distinct actions for chosen positions. Firstly, removing the Take Profit level is possible for immediate flexibility. Secondly, users can set a new Take Profit value as defined by the input parameter, calculated from the opening price. Lastly, the utility allows setting the Take Profit to the Breakeven point, minimizing potential losses. This utility aims to offer precise control and efficiency in manual position handling.
π Read | CodeBase | Share!
#MQL5 #MT5 #EA
π24β€11β3π¨βπ»2
An Expert Advisor utilizes two main indicators for trading: the Chaikin Oscillator (CHO) and a custom indicator known as CCIDualOnMA. CHO acts as a trend indicator and is instrumental in signaling the closing of positions when it crosses the zero threshold. Meanwhile, CCIDualOnMA serves as a filter for adding positions. These indicators operate on a predefined working timeframe, which also determines when a new bar appears.
Closing positions are prompted by the CHO indicator crossing zero. The system supports both reverse trading modes and cross-from-bottom/top scenarios, with conditions allowing either only BUY, only SELL, or both types of positions. Normal signals for adding a position are generated when the CHO and CCI conditions align as described.
The Expert Advisor offers robust options for optimization based on timeframes. Market entry is limited to ...
π Read | Freelance | Share!
#MQL5 #MT5 #Strategy
Closing positions are prompted by the CHO indicator crossing zero. The system supports both reverse trading modes and cross-from-bottom/top scenarios, with conditions allowing either only BUY, only SELL, or both types of positions. Normal signals for adding a position are generated when the CHO and CCI conditions align as described.
The Expert Advisor offers robust options for optimization based on timeframes. Market entry is limited to ...
π Read | Freelance | Share!
#MQL5 #MT5 #Strategy
π19β€4π3π¨βπ»2π2
The JavaScript version of the Report library offers significant performance improvements for handling MT4 style trading commands using MT4Orders or Virtual. It processes data up to 10 times faster compared to the traditional Report, with reduced NTML file sizes and capacity to display up to 5.4 million lines. The functionality mirrors that of Report, demonstrating trades from MT4, MT5, and their testers.
In MT5, report data is stored as an array, optimizing speed and reducing file size. JavaScript handles statistics computation, charting, and HTML code generation on the browser side. Paginator functionality aids navigation, and charts present deals on a time scale, offering insights into trading patterns.
A streamlined UI includes an interactive chart feature using Google or Highcharts, delivering zoom capabilities for in-depth analysis. Enhanced c...
π Read | Calendar | Share!
#MQL5 #MT5 #AlgoTrading
In MT5, report data is stored as an array, optimizing speed and reducing file size. JavaScript handles statistics computation, charting, and HTML code generation on the browser side. Paginator functionality aids navigation, and charts present deals on a time scale, offering insights into trading patterns.
A streamlined UI includes an interactive chart feature using Google or Highcharts, delivering zoom capabilities for in-depth analysis. Enhanced c...
π Read | Calendar | Share!
#MQL5 #MT5 #AlgoTrading
π18β€7π¨βπ»5π4
An indicator has been developed to calculate the angle between a trend line and the horizontal, where the X axis represents minute bars regardless of the timeframe, and the Y axis represents points. It is important to recognize that local minima or maxima on lower timeframes may not align with the start of bars on higher timeframes. This can result in minimal differences in indicator values across various timeframes. An alternative version of the indicator computes the average rate of price change in pips/minute. While the utility of these indicators is subjective, understanding their calculations and implications is crucial for effective implementation in trend analysis and decision-making. Further exploration of their application in different scenarios may yield variances in utility and effectiveness.
π Read | AppStore | Share!
#MQL5 #MT5 #Indicator
π Read | AppStore | Share!
#MQL5 #MT5 #Indicator
π26β€11π¨βπ»4β‘1
This article delves into the world of portfolio-level statistical arbitrage, particularly focusing on simplifying this complex technique for the average retail trader. It outlines the core concepts of the market being in a continuous state of change and the enigma it presents, emphasizing that understanding and adapting to market dynamics is crucial for successful trading. The approach starts by building a simple pairs-trading portfolio using MetaTrader 5, focusing on tools like Python integration for historical price correlation. The method is accessible and cost-effective, allowing traders to begin experimenting with powerful trading strategies and gradually expanding their scope with more data and resources.
π Read | AppStore | Share!
#MQL5 #MT5 #Algorithm
π Read | AppStore | Share!
#MQL5 #MT5 #Algorithm
β€20π9π¨βπ»5β‘1
Depth of Market (DOM) is central to informed trading, showing pending limit orders that often remain unexecuted due to changing market conditions. Tracking DOM is straightforward using SymbolInfoInteger for order book depth, crucial for understanding liquidity without complex event handlers.
Generating a custom symbol enables DOM testing when live data isn't available. Using CloneSymbolTicksAndRates script, traders can replicate real symbols for simulated analysis, aiding order book event testing with custom data. This facilitates strategic testing despite live feed restrictions.
An indicator, developed using OOP principles, showcases market depth variations efficiently on the chart. It provides optimized visualization by displaying buy and sell histograms with customizable attributes, enhancing clarity and usability, crucial for traders relying on ...
π Read | AppStore | Share!
#MQL5 #MT5 #Algorithm
Generating a custom symbol enables DOM testing when live data isn't available. Using CloneSymbolTicksAndRates script, traders can replicate real symbols for simulated analysis, aiding order book event testing with custom data. This facilitates strategic testing despite live feed restrictions.
An indicator, developed using OOP principles, showcases market depth variations efficiently on the chart. It provides optimized visualization by displaying buy and sell histograms with customizable attributes, enhancing clarity and usability, crucial for traders relying on ...
π Read | AppStore | Share!
#MQL5 #MT5 #Algorithm
π14π¨βπ»6β€3
Dive into the world of MQL5 indicator development with our latest article! We take your foundational knowledge further by designing a custom indicator that recognizes trends and market structures. This article guides you through creating an effective trend-following strategy by identifying key price action points like higher highs and lows. Learn to visualize premium and discount zones, optimize risk-reward ratios, and precisely mark entry, stop loss, and take profit levels. Enhance your algorithmic trading toolkit with these advanced techniques, bolstering both your development skills and trading strategies for more informed decisions.
π Read | AlgoBook | Share!
#MQL5 #MT5 #Indicator
π Read | AlgoBook | Share!
#MQL5 #MT5 #Indicator
π19π¨βπ»3β€2
The indicator Show chart displays 'Daily Change' over a specified 'Number of bars'. Its functionality includes emitting a text alert when the daily change reaches a pre-set threshold on the current bar. Upon reaching this limit, it activates sound notifications configured within the 'Alerts' parameter group. This tool is designed for traders seeking real-time updates on market fluctuations, providing an efficient means to monitor price movements. Users can customize the alert conditions to align with their trading strategies, enhancing responsiveness and decision-making efficiency in dynamic market conditions. The system facilitates proactive trading by ensuring users are promptly informed about significant market changes.
π Read | NeuroBook | Share!
#MQL5 #MT5 #Indicator
π Read | NeuroBook | Share!
#MQL5 #MT5 #Indicator
π19π¨βπ»3
Delve into the intricacies of the Analytics Panel class, designed for MetaTrader 5. We elevate static interfaces by integrating real-time data updates, enabling dynamic trading environments. The advanced design uses MQL5's Standard Library, crafting responsive UI components via class extensions. A standout feature is the Confluence Strategy, where the panel synthesizes multiple technical indicators to form unified trading signals, enhancing decision accuracy. The modular architecture ensures better maintainability and cross-application reuse, while real-time updates facilitate active trading. Ideal for developers and traders, this approach underscores the panel's robustness and adaptabilityβa significant leap in algorithmic trading.
π Read | Signals | Share!
#MQL5 #MT5 #AlgoTrading
π Read | Signals | Share!
#MQL5 #MT5 #AlgoTrading
π21β€3π¨βπ»3π€1
In a new article, the integration of k-means clustering within MQL5 is examined, addressing common limitations when using built-in applications without source codes, particularly with custom indicators. This examination focuses on using OpenCL for parallel computing to enhance performance in model construction and implementation.
The article details the procedures for organizing parallel computation via OpenCL. This encompasses writing kernel programs for calculating distances between data points and cluster centers, clustering data points, updating cluster centers, and calculating the loss function. Each step leverages parallel processing to optimize efficiency and speed.
Additionally, the preparatory work for integrating these processes into a main program through an MQL5 class is outlined. The approach ensures compatibility and readiness for future int...
π Read | Docs | Share!
#MQL5 #MT5 #KMeans
The article details the procedures for organizing parallel computation via OpenCL. This encompasses writing kernel programs for calculating distances between data points and cluster centers, clustering data points, updating cluster centers, and calculating the loss function. Each step leverages parallel processing to optimize efficiency and speed.
Additionally, the preparatory work for integrating these processes into a main program through an MQL5 class is outlined. The approach ensures compatibility and readiness for future int...
π Read | Docs | Share!
#MQL5 #MT5 #KMeans
β€17π8π3π¨βπ»3π₯1π1π―1
PointNet++ extends the original PointNet by incorporating local structure awareness, addressing a key limitation in the original design. It partitions point sets into overlapping local regions based on Euclidean distances, allowing for enhanced feature extraction similar to convolutional networks. Multiple abstraction levels allow for progressively capturing local details, and density-adaptive layers ensure effective handling of non-uniform point densities.
Implementation in MQL5 involves creating a local subsampling layer by extending the OpenCL program. This includes the CalcDistance kernel for calculating point distances in feature space and normalizing these distances to define adaptive receptive fields. The approach leverages efficient centroid selection via farthest-point sampling. The methodology circumvents challenges in local displacement calculatio...
π Read | VPS | Share!
#MQL5 #MT5 #PointNet
Implementation in MQL5 involves creating a local subsampling layer by extending the OpenCL program. This includes the CalcDistance kernel for calculating point distances in feature space and normalizing these distances to define adaptive receptive fields. The approach leverages efficient centroid selection via farthest-point sampling. The methodology circumvents challenges in local displacement calculatio...
π Read | VPS | Share!
#MQL5 #MT5 #PointNet
π50β€11π¨βπ»5β‘2π€―2π1
The integration of the MACD (Moving Average Convergence Divergence) indicator using the color scheme of the Awesome Oscillator (AO) presents an interesting approach to technical analysis. This adaptation could enhance visual clarity by providing a unified color-coded system, thereby allowing easier interpretation of market trends and momentum. By aligning the color differentiation of MACD with AO, traders might achieve better consistency in identifying bullish and bearish signals. Such a modification may offer improved functionality for analysts who utilize both indicators regularly. The goal is to streamline chart analysis and potentially increase the effectiveness of these combined tools in decision-making processes.
π Read | CodeBase | Share!
#MQL5 #MT5 #MACD
π Read | CodeBase | Share!
#MQL5 #MT5 #MACD
π34β€20π5π₯3π€‘3β2π¨βπ»2
Explore the power of the Standard Deviation (Std Dev) indicator for crafting advanced trading systems in MetaTrader 5. The article delves into the technical measures, calculations, and applications of Std Dev to enhance volatility assessment and signal generation. Gain insights into creating trading strategies using Std Dev with practical blueprints and system creation techniques using MQL5 coding in MetaEditor. Learn three strategiesβvolatility measurement, and buy/sell signals with moving averagesβto streamline algorithmic trading. An essential read for seasoned developers and aspiring traders to refine their trading systems for better market performance.
π Read | Signals | Share!
#MQL5 #MT5 #Indicator
π Read | Signals | Share!
#MQL5 #MT5 #Indicator
π50β€22β9π¨βπ»6π2π2