In trading circles, the Engulfing Candlestick Pattern is generating considerable interest, particularly the hidden version. This pattern comes with an option to select either two or three bars break, opening up new strategic possibilities.
Consider a two bars break instance: Here, a bullish candle closes above the opening of a preceding bearish candle, all the while having at least one harami (a 'pregnant' candle) nested in the space between them. This forms a distinctive configuration, a strong indicator of deeper market shifts.
Meanwhile, the three bars break example expands on this. Here you have a bullish candle that again closes above its bearish predecessor's open. However, this time, you have the flexibility of having at least two intervening harami. This provides an enhanced dynamic, tapping into the shifting sentiment across an extended timeline.
Whether it's a two bar or ...
Read more...
Consider a two bars break instance: Here, a bullish candle closes above the opening of a preceding bearish candle, all the while having at least one harami (a 'pregnant' candle) nested in the space between them. This forms a distinctive configuration, a strong indicator of deeper market shifts.
Meanwhile, the three bars break example expands on this. Here you have a bullish candle that again closes above its bearish predecessor's open. However, this time, you have the flexibility of having at least two intervening harami. This provides an enhanced dynamic, tapping into the shifting sentiment across an extended timeline.
Whether it's a two bar or ...
Read more...
π1
In algorithmic trading and technical analysis, specific patterns emerge that allow for greater precision. These patterns, such as swing highs and swing lows, are vital to understand. A swing high is recognized when a peak has two preceding peaks that are increasing and two subsequent peaks that are decreasing. Conversely, a swing low is noted when a lower point has two previous lows that are decreasing, followed by two subsequent lows that are increasing.
Moreover, there is flexibility around color coding for these positions. Through the use of code adjustments, the buffer color pertaining to these highs and lows can be customized. Web colors can then be utilized to gain the desired visual representation. This blend of analytic understanding and visualization customization offers a robust tool in algorithmic trading strategy development.
Remember, the power of programming lies in ...
Read more...
Moreover, there is flexibility around color coding for these positions. Through the use of code adjustments, the buffer color pertaining to these highs and lows can be customized. Web colors can then be utilized to gain the desired visual representation. This blend of analytic understanding and visualization customization offers a robust tool in algorithmic trading strategy development.
Remember, the power of programming lies in ...
Read more...
π7
Artificial intelligence models significantly rely on quality datasets. In foreign exchange or stock data, modeling challenges arise from difficulty in data labeling and complex market information. An introduced method uses EA operation charts to fabricate datasets with trend markings and allows for intuitive data manipulation, customization, and expansion.
The first segment explains labeling data format by splitting data into trend groups. Trend-grouping in time series is suggested as a viable solution, further enhanced by adding another index column that indicates the trend development in the data. The method's unique feature reflects trend stage development degrees, such as wave stages in a trend.
Secondly, the posts detail how clients can manipulate charts and initialize files. By disabling CHART_AUTOSCROLL and CHART_SHIFT, charts can be managed according to manual operations. ...
Read more...
The first segment explains labeling data format by splitting data into trend groups. Trend-grouping in time series is suggested as a viable solution, further enhanced by adding another index column that indicates the trend development in the data. The method's unique feature reflects trend stage development degrees, such as wave stages in a trend.
Secondly, the posts detail how clients can manipulate charts and initialize files. By disabling CHART_AUTOSCROLL and CHART_SHIFT, charts can be managed according to manual operations. ...
Read more...
π2
Understanding the writing of an indicator in MQL can seem like a daunting task. The essential parameters to start with are: AtrMultiplier and Period. The AtrMultiplier parameter adjusts the distance of the lines from the moving averages, according to the current Atr value. As for the Period, it involves the high and low moving average and Atr period.
The basic structure involves the creation of six lines - the uppermost line is calculated as 2*AtrMultiplier*Atr + HighMA, followed by the second line which is derived from AtrMultiplier*Atr + HighMA, and so forth. This process provides an attainable platform for even beginners to comprehend with ease.
Supporting educational measures such as the creation of an introductory video and various learning resources equip beginners with the necessary skills to understand this technical aspect. Remember, mastering the art of coding indicators...
Read more...
The basic structure involves the creation of six lines - the uppermost line is calculated as 2*AtrMultiplier*Atr + HighMA, followed by the second line which is derived from AtrMultiplier*Atr + HighMA, and so forth. This process provides an attainable platform for even beginners to comprehend with ease.
Supporting educational measures such as the creation of an introductory video and various learning resources equip beginners with the necessary skills to understand this technical aspect. Remember, mastering the art of coding indicators...
Read more...
β€3π1
Examining the topic of input parameters, particularly relating to AtrMultiplier and Period, it can be said that these play a critical role within coding and programming. The gist of it is the creation of six distinct lines. These lines are calculated using a formula that involves a multiple of the AtrMultiplier, the Atr value, and either the High or Low moving average.
As an example, calculating the upper line would involve doubling the AtrMultiplier, multiplying it by the Atr value and adding the result to the High Moving Average. Additional lines follow a similar logic, merely adjusting the multiplier and choice of moving average.
For programmers who are still green, a video tutorial has been created to expand on this task. This guide focuses on how to write an indicator in mql, which offers a new perspective on the application of input parameters within code. Over time, underst...
Read more...
As an example, calculating the upper line would involve doubling the AtrMultiplier, multiplying it by the Atr value and adding the result to the High Moving Average. Additional lines follow a similar logic, merely adjusting the multiplier and choice of moving average.
For programmers who are still green, a video tutorial has been created to expand on this task. This guide focuses on how to write an indicator in mql, which offers a new perspective on the application of input parameters within code. Over time, underst...
Read more...
π2β€1
In the latest installment of the Replay System Market Simulation series, new features have been implemented to enhance user conveniency. Users can now choose if they want to see the process of trading bar formation or not, offering a tailored service for both visual learners and those who prefer a clean end-result.
The advancement of this technical task requires cautious handling with new variables introduced into the system with respective functionalities. These updates allow for improved uniformity among system elements and coping with obstacles and challenges in a more efficient manner.
Another crucial feature to note is the added user notifications when there's no more data in the system to simulate or continue the replay. This not only prevents confusion but reinforces clarity and transparency, thus elevating the user experience.
Finally, an additional 'Please Wait' warning...
Read more...
The advancement of this technical task requires cautious handling with new variables introduced into the system with respective functionalities. These updates allow for improved uniformity among system elements and coping with obstacles and challenges in a more efficient manner.
Another crucial feature to note is the added user notifications when there's no more data in the system to simulate or continue the replay. This not only prevents confusion but reinforces clarity and transparency, thus elevating the user experience.
Finally, an additional 'Please Wait' warning...
Read more...
π3
Delve into the world of design patterns to elevate your programming skills and enhance productivity. Reduce redundancy and embrace the concept of 'Don't Repeat Yourself' with these powerful tools. They offer targeted solutions for common problems faced in software development, promoting code reusability, clarity and efficiency.
Gain insights on the different types of design patterns based on their purpose - Creational, Structural and Behavioral, their definitions, uses, benefits and real-world applications. Each pattern type will be explained comprehensively, with special emphasis on creational patterns in which you will learn about Abstract Factory, Builder, Factory Method, Prototype and Singleton.
For those wishing to utilize these patterns in MQL5, a practical guide will be provided. It will detail simplified concepts, concrete examples and how they can be effectively implemented...
Read more...
Gain insights on the different types of design patterns based on their purpose - Creational, Structural and Behavioral, their definitions, uses, benefits and real-world applications. Each pattern type will be explained comprehensively, with special emphasis on creational patterns in which you will learn about Abstract Factory, Builder, Factory Method, Prototype and Singleton.
For those wishing to utilize these patterns in MQL5, a practical guide will be provided. It will detail simplified concepts, concrete examples and how they can be effectively implemented...
Read more...
π2β€1
Understanding the application of ONNX (Open Neural Network Exchange) and how it aligns with different machine learning models and frameworks is crucial for developers. The ONNX format does have its limitations. For instance, while it accepts various input data types, it always yields the tensor(float) type as output. Model conversion or use of different data types can lead to accuracy losses - the clang in the gear often falls on the converter. Though some models overcome these limitations, ensuring full portability of ONNX models and allowing double precision work without accuracy loss.
Scikit-learn, a popular library for machine learning in Python, offers numerous algorithms and a user-friendly interface. This article attempts to understand the use of Scikit-learn's regression models, their parameters' computation with double precision for the test data set, and their conversion to...
Read more...
Scikit-learn, a popular library for machine learning in Python, offers numerous algorithms and a user-friendly interface. This article attempts to understand the use of Scikit-learn's regression models, their parameters' computation with double precision for the test data set, and their conversion to...
Read more...
π3
Official documentation provides illustrative examples for all code and functions, offering a valuable resource for quick progress, whether that be for the beginner coder or the seasoned developer in need of a rudimentary template. In pursuit of a simplified, reusable version of the code, any comments or feedback from industry peers would be valued.
Several examples of optimized code for beginner programmers, modified from the MQL5 iFunctions, are on offer. A range of functions like ADX, Alligator, AMA - Adaptive Moving Average, ATR - Average True Range, Bands Bollinger, Ichimoku, MACDr, Momentum, Moving averages, RSI, and Stochastic have been simplified.
In addition, there are also advanced codes that demonstrate indicator calculations without the use of MQL5 iFunctions, namely AO - Awesome Oscillator and RSI for beginners. These examples serve to make coding more tangible and com...
Read more...
Several examples of optimized code for beginner programmers, modified from the MQL5 iFunctions, are on offer. A range of functions like ADX, Alligator, AMA - Adaptive Moving Average, ATR - Average True Range, Bands Bollinger, Ichimoku, MACDr, Momentum, Moving averages, RSI, and Stochastic have been simplified.
In addition, there are also advanced codes that demonstrate indicator calculations without the use of MQL5 iFunctions, namely AO - Awesome Oscillator and RSI for beginners. These examples serve to make coding more tangible and com...
Read more...
π3
Recently, several traders brought up difficulties in using the Multi-Currency Expert Advisor (EA), particularly integrating trading time zones and accommodating broker symbols with prefixes or suffixes. To address these issues, enhancements have been implemented in the EA, including an automatic detection function for symbol names, enhancements for trading time zones, and new feature for trading specific currency pairs.
As previously noted, this Multi-Currency EA operates on 30 symbol pairs, 28 forex pairs, and 2 metal pairs. Issues arise with broker symbols that include prefixes or suffixes, a detail which single-currency EAs sidestep. For the convenience of many coders and traders, an automatic handling function has been added to tackle these special symbol names.
Please note however, this function will not work on custom symbols and indexes in MT5, it only functions on forex and ...
Read more...
As previously noted, this Multi-Currency EA operates on 30 symbol pairs, 28 forex pairs, and 2 metal pairs. Issues arise with broker symbols that include prefixes or suffixes, a detail which single-currency EAs sidestep. For the convenience of many coders and traders, an automatic handling function has been added to tackle these special symbol names.
Please note however, this function will not work on custom symbols and indexes in MT5, it only functions on forex and ...
Read more...
π4π1
Capturing market movements using sophisticated algorithms, the Multi-Colored Trend Indicator offers a unique approach to trend analysis. The utilitarian model leverages dual moving averages to gauge trend direction, offering an intuitive color-marking system. Uptrends appear green, downtrends correspondingly, red.
Simple in its application, yet potent in its delivery, the model ensures ease of comprehension across varying user strategies, amplifying its universal appeal. Solely contrived for educational enhancement, the indicator will provide a foundational grasp of how multi-colored indicators function in real-world conditions. Navigating data intuitively, translates complex investment metrics into visual simplicity.
Utilize this model to bolster current strategies and streamline future decisions, with the understanding that knowledge gain is perpetually expansive. Harnessing the ...
Read more...
Simple in its application, yet potent in its delivery, the model ensures ease of comprehension across varying user strategies, amplifying its universal appeal. Solely contrived for educational enhancement, the indicator will provide a foundational grasp of how multi-colored indicators function in real-world conditions. Navigating data intuitively, translates complex investment metrics into visual simplicity.
Utilize this model to bolster current strategies and streamline future decisions, with the understanding that knowledge gain is perpetually expansive. Harnessing the ...
Read more...
π3β€1
The intertwining of data analysis from the Awesome Oscillator and the ensuing course of the candles compared to the preceding range unveils insightful perspectives within programming and IT. It exemplifies the synchronous power of information evaluation in making cogent decisions during task execution processes.
These symbiotic relationships between various factors are what seasoned developers continually study, putting theories into practice whilst fine-tuning outputs. Analyzing patterns, drawing conclusions, and leveraging opportunities for growth and advancement is precisely the essence of our field.
By synchronizing data from different channels, it's possible to achieve more accurate and reliable outcomes. Developers and IT specialists alike should remain attentive to such cogent combinations for better results. All in all, maintaining a flexible approach in drawing conclusions...
Read more...
These symbiotic relationships between various factors are what seasoned developers continually study, putting theories into practice whilst fine-tuning outputs. Analyzing patterns, drawing conclusions, and leveraging opportunities for growth and advancement is precisely the essence of our field.
By synchronizing data from different channels, it's possible to achieve more accurate and reliable outcomes. Developers and IT specialists alike should remain attentive to such cogent combinations for better results. All in all, maintaining a flexible approach in drawing conclusions...
Read more...
π9
The previous article explored initiating custom events and their impact on indicator-service interaction. The paramount advice is to record and preserve each traded asset's value. Discrepancies occur when comparing bar data with traded ticks' data, causing possible confusion among those less familiar with market mechanics. The reality can be distorted by factors like earnings announcements, asset splits or grouping, bond issuance, or asset expiration, altering the current value of 1-minute bars. Henceforth, the adaptation of a replay/simulation system that solely uses traded tick files.
In terms of code development, the configuration file used during replay/simulation bears critical virtue. The replay and simulation service has introduced flexible functionality for the user to incorporate comments within the file. Yet the dilemma of using tick files as preview bars without the system...
Read more...
In terms of code development, the configuration file used during replay/simulation bears critical virtue. The replay and simulation service has introduced flexible functionality for the user to incorporate comments within the file. Yet the dilemma of using tick files as preview bars without the system...
Read more...
π1
Stay informed with recent developments in technical analysis tools. The latest indicator in discussion is designed to systemically identify and highlight the previous highs and lows of a given timeframe. By using this, analysts can keep track of vital information such as the highest and lowest prices during the prior period and hence increase overall market understanding and strategy precision.
The default setting is designed to cater to those looking to monitor daily price changes, however, it offers ample flexibility. By fine-tuning the period in the inputs, users can customize it to track on an hourly basis or even in intervals as short as 30 minutes.
In an exciting update to the tool, along with prices, the indicator is now also capable of presenting the open and close values for the preceding candle of the chosen period. A valuable addition for those who closely monitor candle...
Read more...
The default setting is designed to cater to those looking to monitor daily price changes, however, it offers ample flexibility. By fine-tuning the period in the inputs, users can customize it to track on an hourly basis or even in intervals as short as 30 minutes.
In an exciting update to the tool, along with prices, the indicator is now also capable of presenting the open and close values for the preceding candle of the chosen period. A valuable addition for those who closely monitor candle...
Read more...
π3
Grasp a broader understanding of a proficient Multi-Currency Expert Advisor. This mechanism trades on over 28 currency pairs and 2 metal pairs starting with just one chart symbol. Backed up by the robust capabilities of MQL5, the EA signifies an efficient tool for programmers.
Prominent features include two signal indicators for enhanced precision: 1) the Average Directional Movement (ADX) period 7, acting as a principal signal; and 2) Parabolic SAR indicator, serving as the confirmation signal for trend direction.
The EA's efficient design offers trading management options to tailor according to the trader's preference. These options range from the ability to select traditional stop loss orders, to trailing stop loss/take profit. Additionally, the EA boasts an easy-to-use button panel for manual order management and chart modification.
Tests on the MetaTrader 5 Strategy tester sh...
Read more...
Prominent features include two signal indicators for enhanced precision: 1) the Average Directional Movement (ADX) period 7, acting as a principal signal; and 2) Parabolic SAR indicator, serving as the confirmation signal for trend direction.
The EA's efficient design offers trading management options to tailor according to the trader's preference. These options range from the ability to select traditional stop loss orders, to trailing stop loss/take profit. Additionally, the EA boasts an easy-to-use button panel for manual order management and chart modification.
Tests on the MetaTrader 5 Strategy tester sh...
Read more...
β€2π1
In the realm of technical development, a useful function exists. This function translates the (x, y) pixel value into the corresponding price visible on the Y-axis. The function is activated via an OnChartEvent click interaction.
The above method makes it simpler to map pixel values to actual values on the chart. It gives the developers the power to convert pixel values into real price values using a single click. The ease and precision of this method enable developers to create more accurate and faster applications.
It is essential to understand that this function opens up a new perspective in analyzing and computing data, moving a step forward in the complex world of technology. This innovation gives developers a new tool to work with while creating applications that require charting capabilities.
In conclusion, the realm of technical development continues to evolve, bringing for...
Read more...
The above method makes it simpler to map pixel values to actual values on the chart. It gives the developers the power to convert pixel values into real price values using a single click. The ease and precision of this method enable developers to create more accurate and faster applications.
It is essential to understand that this function opens up a new perspective in analyzing and computing data, moving a step forward in the complex world of technology. This innovation gives developers a new tool to work with while creating applications that require charting capabilities.
In conclusion, the realm of technical development continues to evolve, bringing for...
Read more...
β€4π3
In the latest update for the MetaTrader 5 trading terminal, a new order filling policy - Passive/Book or Cancel - has been implemented, and MQL5 has added new runtime error codes. In this post, we'll discuss how these additions will be integrated into the library.
Since the update, the library's example files and articles have ceased to compile due to inaccessibility of private methods from derived classes in the CTrading class. To solve this, private methods will be moved into a protected section, making them available in the inherited class.
This update also introduces descriptions of the new order execution policy and runtime error codes into the library's arrays of text messages. Note that newly implemented error codes in MQL5, from 4020 to 4025, will be added to the runtime error messages array.
The CMessage class is now capable of displaying library messages stored in mess...
Read more...
Since the update, the library's example files and articles have ceased to compile due to inaccessibility of private methods from derived classes in the CTrading class. To solve this, private methods will be moved into a protected section, making them available in the inherited class.
This update also introduces descriptions of the new order execution policy and runtime error codes into the library's arrays of text messages. Note that newly implemented error codes in MQL5, from 4020 to 4025, will be added to the runtime error messages array.
The CMessage class is now capable of displaying library messages stored in mess...
Read more...
π2β€1
Introducing Multi_BreakEven, a refined script file intended for setting multiple entry positions to breakeven. This functionality enhances trading strategies by allowing the positioning of trades at breakeven when the market moves in a favorable direction.
A crucial part of any trading strategy is the preservation of the initial investment and Multi_BreakEven facilitates this by ensuring trades either meet their profit target or exit at the breakeven point. The option of employing the Pips method, set by default at 100 points for a 5-digit broker, provides a straightforward approach to attaining breakeven.
Alternatively, a trader can opt for the target price method, another technique for achieving breakeven. It's essential to note the exclusivity of each method. Namely, the activation of the pips method makes the target price method inactive, and the same rule applies in reverse. Th...
Read more...
A crucial part of any trading strategy is the preservation of the initial investment and Multi_BreakEven facilitates this by ensuring trades either meet their profit target or exit at the breakeven point. The option of employing the Pips method, set by default at 100 points for a 5-digit broker, provides a straightforward approach to attaining breakeven.
Alternatively, a trader can opt for the target price method, another technique for achieving breakeven. It's essential to note the exclusivity of each method. Namely, the activation of the pips method makes the target price method inactive, and the same rule applies in reverse. Th...
Read more...
π1
Introducing the feature Multi_BreakEven on our platform: a tool that adds versatility to trading strategies by enabling multiple entry positions to reach breakeven when a trade turns in their favor. This functionality is designed to guard investments by providing an either/or scenario - either the trade meets the profit goal, or the system exits at the breakeven point.
Two methodologies are available with this component: the 'Pips' method, which is set as a default preference at 100 points for a 5-digit broker, and the 'Target Price' method. Both methods are distinct and using one results in the other becoming inactive. The selection of either the Pips or Target Price method is dependent on the trader's strategy, furnishing flexibility for implementing calculated trading decisions.
Remember, careful decision-making enhances the potential for profitable trading. Be informed, remain p...
Read more...
Two methodologies are available with this component: the 'Pips' method, which is set as a default preference at 100 points for a 5-digit broker, and the 'Target Price' method. Both methods are distinct and using one results in the other becoming inactive. The selection of either the Pips or Target Price method is dependent on the trader's strategy, furnishing flexibility for implementing calculated trading decisions.
Remember, careful decision-making enhances the potential for profitable trading. Be informed, remain p...
Read more...
π3
The transformation of traded tickets into bars has been a key aspect of the system insofar. This involved converting traded tickets into 1-minute bars on the MetaTrader 5 platform, using real data. However, the task at hand is more complex - bar conversion into tickets for simulation purposes.
Bar conversion may sound straightforward, but it requires a deep understanding of how tickets behave for a 1-minute bar. To achieve a real-life-like visualization, itβs necessary to create a movement that mirrors the real one as closely as possible. The process involves creating an 'inner zigzag' with a minimum of 9 movements, always starting at the bar opening and ending at the close.
The system is set to handle just the replay/simulation and does not have to respect the length of a 1-minute bar, a strategy employed by MetaTrader 5 for its tester. The objective here is to treat 1-minute bar...
Read more...
Bar conversion may sound straightforward, but it requires a deep understanding of how tickets behave for a 1-minute bar. To achieve a real-life-like visualization, itβs necessary to create a movement that mirrors the real one as closely as possible. The process involves creating an 'inner zigzag' with a minimum of 9 movements, always starting at the bar opening and ending at the close.
The system is set to handle just the replay/simulation and does not have to respect the length of a 1-minute bar, a strategy employed by MetaTrader 5 for its tester. The objective here is to treat 1-minute bar...
Read more...
π3