Optimization of stop loss and take profit values remains a vital necessity for traders. Primarily, these are used to control financial risks and apply effective money management principles. There are those, however, who skip using stop orders, relying on market predictability instead. They argue that instances where prices reach the stop loss then reverse could have ended profitably if the stop loss order was never in place. Subjective assessments of this sort can lead to significant issues, such as enforced stop outs by the brokers.
We can approach the selection of stop loss and take profit levels rationally, by understanding the probabilities of price reach at any given level. Employing a simple model, where each position opens at the 'open' price, and the duration of holding the position is established in N bars. The price deviations gathered for statistics are essential in well-i...
Read more...
We can approach the selection of stop loss and take profit levels rationally, by understanding the probabilities of price reach at any given level. Employing a simple model, where each position opens at the 'open' price, and the duration of holding the position is established in N bars. The price deviations gathered for statistics are essential in well-i...
Read more...
π4π4β€2π€£1
The significance of abstract mathematical concepts often becomes apparent when applied to concrete systems. This concept is superbly demonstrated within the MQL5 Wizard's adeptness in transforming vague ideas into tangible trading systems for validation and assessment. This unique feature provided by the MQL5 wizard is particularly beneficial for Expert Adviser assembly.
Diving into the wizard's expert classes, a vast variety of essential features like opening and closing trades are noted. However, the critical consideration of executing decisions only at the new bar formation is often overlooked. This functionality allows independent testing and comparing of ideas or methods, making the MQL5 Wizard a versatile tool.
The series discusses different clustering methods such as agglomerative clustering and k-means clustering, where the user must specify the number of clusters in advance...
Read more...
Diving into the wizard's expert classes, a vast variety of essential features like opening and closing trades are noted. However, the critical consideration of executing decisions only at the new bar formation is often overlooked. This functionality allows independent testing and comparing of ideas or methods, making the MQL5 Wizard a versatile tool.
The series discusses different clustering methods such as agglomerative clustering and k-means clustering, where the user must specify the number of clusters in advance...
Read more...
π6β€4π₯1
The Multi-currency Expert Advisor has been developed as an advanced automated trading tool designed for 30 pairs and using the ZigZag indicator, which is enhanced with the Awesome Oscillator. It harnesses the power of MQL5 to provide a reliable, efficient, and effective trading solution.
It is designed to trade on a wide array of Forex and Metal pairs, with the ability to operate as a single-currency or multi-currency EA, depending on the trader's preference.
The ZigZag indicator is used to measure price movements without unnecessary noise. It holds a robust position in the world of technical indicators and is valuable in helping to identify market trends and price fluctuations.
The Expert Advisor's trading management system allows for different types of Stop Loss and Take Profit orders, and there's also an option to enable or disable trailing stops. It can perform trailing stops...
Read more...
It is designed to trade on a wide array of Forex and Metal pairs, with the ability to operate as a single-currency or multi-currency EA, depending on the trader's preference.
The ZigZag indicator is used to measure price movements without unnecessary noise. It holds a robust position in the world of technical indicators and is valuable in helping to identify market trends and price fluctuations.
The Expert Advisor's trading management system allows for different types of Stop Loss and Take Profit orders, and there's also an option to enable or disable trailing stops. It can perform trailing stops...
Read more...
π5β€3π2
The Test-Driven Development (TDD) methodology offers numerous benefits, including well-defined units, thorough test coverage, and a clear understanding of the domain. However, the focus on solving one challenge at a time can lead to accumulating technical debt. Despite this drawback, refactoring is integral to TDD practice, allowing developers to manage and clear technical debt.
In addressing the complexities involved in developing MQTT protocol, attention is drawn to the importance of the persistence layer, which could range from a simple file in the local filesystem to a complex database in the cloud. However, before delving into session state management and persistence layer, it's crucial to thoroughly test the writing and reading of packets. Thus, extensive unit tests are conducted, along with small functional tests against a real broker running locally.
In building PUBLISH pac...
Read more...
In addressing the complexities involved in developing MQTT protocol, attention is drawn to the importance of the persistence layer, which could range from a simple file in the local filesystem to a complex database in the cloud. However, before delving into session state management and persistence layer, it's crucial to thoroughly test the writing and reading of packets. Thus, extensive unit tests are conducted, along with small functional tests against a real broker running locally.
In building PUBLISH pac...
Read more...
π6π2β€1
The Pretrained Decision Transformer (PDT) method, an offshoot of the Decision Transformer tool, presents an innovative approach to training using unlabeled data. PDT relies on Transformer attention strategies and has been shown to deliver extended utility in various practical applications.
The PDT technique eschews the use of labeled training data during pre-training, zeroing in on learning and adaptation of general behavioural patterns. This task-independent, generalised learning can be implemented with an array of different tasks later on.
PDT's pre-training approach focuses on training the model offline through previously collected trajectories, devoid of reward labels. Upon successful completion of pre-training, the model is fine-tuned for the target task via online interaction.
This RL pretraining method is of particular interest for its ability to train on data without rew...
Read more...
The PDT technique eschews the use of labeled training data during pre-training, zeroing in on learning and adaptation of general behavioural patterns. This task-independent, generalised learning can be implemented with an array of different tasks later on.
PDT's pre-training approach focuses on training the model offline through previously collected trajectories, devoid of reward labels. Upon successful completion of pre-training, the model is fine-tuned for the target task via online interaction.
This RL pretraining method is of particular interest for its ability to train on data without rew...
Read more...
π5π4β2
Understanding the exact requirements for adjusting stop losses in a high-frequency trading environment is a challenging task. The MoveStoploss tool streamlines this process by providing automatic monitoring of all manual trades. The tool, adaptable to various market trends, offers customization in terms of the trailing distance that can be preset or determined by expert advisors.
MoveStoploss is not restricted by the type of financial instrument or a specific timeframe. Its versatility makes it an invaluable asset for traders dealing in either currencies, commodities, cryptocurrencies, or stocks. By incorporating the auto trail feature, it removes the burden of manual trailing while generating accurate stop-loss points.
Furthermore, the tool allows users to switch off the auto trail feature and manually input a preferred stop-loss distance, offering a balance between automation an...
Read more...
MoveStoploss is not restricted by the type of financial instrument or a specific timeframe. Its versatility makes it an invaluable asset for traders dealing in either currencies, commodities, cryptocurrencies, or stocks. By incorporating the auto trail feature, it removes the burden of manual trailing while generating accurate stop-loss points.
Furthermore, the tool allows users to switch off the auto trail feature and manually input a preferred stop-loss distance, offering a balance between automation an...
Read more...
β€11π9π3
Discover the world of Behavior Cloning (BC) methods with the Decision Transformer and its various modifications. BC techniques focus on imitating expert trajectories according to environmental states and desired outcomes. However, it should be noted that the expert assessments of similar environmental states could significantly differ, sometimes even going in completely opposite directions.
A reminder, past works did not involve experts to create our training set. Instead, there was a selection of best trajectories through various methods of sampling the Agent's actions. Admittedly, these trajectories were not always optimal. Due to the process of sampling in a continuous space of actions and episodes, it is impossible to capture all possible options. The chosen trajectories often satisfy only a portion of our requirements and often resemble outliers, which the model might simply dis...
Read more...
A reminder, past works did not involve experts to create our training set. Instead, there was a selection of best trajectories through various methods of sampling the Agent's actions. Admittedly, these trajectories were not always optimal. Due to the process of sampling in a continuous space of actions and episodes, it is impossible to capture all possible options. The chosen trajectories often satisfy only a portion of our requirements and often resemble outliers, which the model might simply dis...
Read more...
π6β€2
The comprehension of machine learning's capabilities has evolved sequentially over years. Emphasizing on time-series classification, an understanding that machine learning algorithms can predict and generalize well but struggle with discerning cause-and-effect connections has emerged. Machine learning perceives all training data as just that, training data, potentially creating blunders for novices attempting to use it for profitable trading with new data.
Our goal is to develop an algorithm that significantly reduces overfitting by autonomously locating patterns in data. This algorithm should not only generalize training examples but efficiently ascertain the existence of cause-and-effect relationships within them.
Considerations from artificial intelligence efforts in Forex have led to the idea of self-controlled machine learning models, which check their predictions for errors re...
Read more...
Our goal is to develop an algorithm that significantly reduces overfitting by autonomously locating patterns in data. This algorithm should not only generalize training examples but efficiently ascertain the existence of cause-and-effect relationships within them.
Considerations from artificial intelligence efforts in Forex have led to the idea of self-controlled machine learning models, which check their predictions for errors re...
Read more...
π8β€5π1
In light of developments surrounding chart reading in programming, technicalities around searches for Wick or Body based High/Low in visible bars have resurfaced. To elucidate, Wick based High, in essence, is a particular type of configuration within this scenario, acting as an example of high/high readings. In juxtaposition, the Body-based High exemplifies a different situation where the body of the chart, instead of the wick, defines the pinnacle.
Each method presents its unique interpretation of the data, running along the visible bar range. Analysts and developers should consider both methodsβ distinct features for a more comprehensive understanding of chart readings. Remember, this encompasses but isn't limited to, the chart's highest and lowest points. A deeper grasp of Wick and Body-based High/Low readings can significantly enhance the interpretation of chart data.
Caution ...
Read more...
Each method presents its unique interpretation of the data, running along the visible bar range. Analysts and developers should consider both methodsβ distinct features for a more comprehensive understanding of chart readings. Remember, this encompasses but isn't limited to, the chart's highest and lowest points. A deeper grasp of Wick and Body-based High/Low readings can significantly enhance the interpretation of chart data.
Caution ...
Read more...
π11β€1π1π1
Learn how to fine-tune your data analytics skills with a sophisticated indicator tool that encompasses 14 distinct types of moving averages calculations. This tool, leveraging its operational foundation on Pine Script libraries, closely ties each computation to the price close data.
This powerful indicator includes a wide range of calculation types: namely SMA, EMA, WMA, VWMA, RMA, DEMA, TEMA, ZLEMA, HMA, ALMA, LSMA, SWMA, SMMA, and DONCHIAN. Enhance the accuracy and precision of data interpretation by utilising this comprehensive tool, specifically designed for ease of use and optimal efficiency.
Stay at the vanguard of data analysis by implementing this advanced indicator. Dive beyond basic calculation approaches and discover the potential of moving averages to provide more intensive and well-rounded insights.
Read more...
This powerful indicator includes a wide range of calculation types: namely SMA, EMA, WMA, VWMA, RMA, DEMA, TEMA, ZLEMA, HMA, ALMA, LSMA, SWMA, SMMA, and DONCHIAN. Enhance the accuracy and precision of data interpretation by utilising this comprehensive tool, specifically designed for ease of use and optimal efficiency.
Stay at the vanguard of data analysis by implementing this advanced indicator. Dive beyond basic calculation approaches and discover the potential of moving averages to provide more intensive and well-rounded insights.
Read more...
π6π₯6
This media is not supported in the widget
VIEW IN TELEGRAM
π₯33β€23π23π6π6π5π―4
Struggling with the idea of creating your own Expert Advisor or programming indicators? Reading code doesn't translate to understanding it. The process might seem complex but with a step by step guide, even beginners can grasp how to automate trading.
Taking a look at the MQL5 language, which is not only for trade automation but extends to plotting indicators, creating files, working with databases, and much more. This guide is for traders eager to harness programming for their benefit - reducing dependency on programmers by acquiring MQL5 language proficiency.
Learn basic programming and technical terms; familiarize yourself with central processing units (CPU), random access memory (RAM), execution thread, bit, byte, and external drives. This guide simplifies the functionalities of each, sharpening understanding around the building blocks of programming.
Before launching into pro...
Read more...
Taking a look at the MQL5 language, which is not only for trade automation but extends to plotting indicators, creating files, working with databases, and much more. This guide is for traders eager to harness programming for their benefit - reducing dependency on programmers by acquiring MQL5 language proficiency.
Learn basic programming and technical terms; familiarize yourself with central processing units (CPU), random access memory (RAM), execution thread, bit, byte, and external drives. This guide simplifies the functionalities of each, sharpening understanding around the building blocks of programming.
Before launching into pro...
Read more...
π8β€5π3
Immerse in the scientific exploration of the Intelligent Water Drops optimization algorithmβs potential to model natural occurrences and their uses in solving intricate problems. The IWD algorithm, a brainchild of Hamed Shah-Hosseini, imitates the principle of self-organization and interaction between particles in the rivers, making it a significant tool in optimizing and resolving complicated issues.
The algorithm adopts three distinct aspects for optimization: speed, soil and time ratio. It captures soil from the riverbed and transports it along the riverβs path, modifying the riverβs trajectory to its advantage. As the less soil a path contains, the faster it is for the drops to traverse; the water drops intelligently manipulate their environment to create the most optimal course with the least resistance.
Since soil is a dynamic parameter and not proportionate to fitness, it req...
Read more...
The algorithm adopts three distinct aspects for optimization: speed, soil and time ratio. It captures soil from the riverbed and transports it along the riverβs path, modifying the riverβs trajectory to its advantage. As the less soil a path contains, the faster it is for the drops to traverse; the water drops intelligently manipulate their environment to create the most optimal course with the least resistance.
Since soil is a dynamic parameter and not proportionate to fitness, it req...
Read more...
π5π2β€1
Understanding your broker's daylight saving time (DST) observance can prove beneficial, particularly for those operating on precise scheduled tasks. In this task, a trailblazing script is employed to assess whether your broker abides by US, UK, or AU DST schedules. The methodology is simple and effective: examining H1 chart bars on expected DST change dates and contrasting the alterations in server times.
The DST_AU schedule marks the commencement of server DST on the first Sunday of October (+1), concluding on the initial Sunday of April (-1), easily verifiable at https://www.timeanddate.com/time/change/australia/sydney.
For the DST_UK schedule, server DST begins on the final Sunday in March (+1) and concludes on the last Sunday of October (-1), taken from https://www.timeanddate.com/time/change/uk/london.
The DST_US schedule starts server DST on the second Sunday of March (+1), e...
Read more...
The DST_AU schedule marks the commencement of server DST on the first Sunday of October (+1), concluding on the initial Sunday of April (-1), easily verifiable at https://www.timeanddate.com/time/change/australia/sydney.
For the DST_UK schedule, server DST begins on the final Sunday in March (+1) and concludes on the last Sunday of October (-1), taken from https://www.timeanddate.com/time/change/uk/london.
The DST_US schedule starts server DST on the second Sunday of March (+1), e...
Read more...
π10β€2π1
Seasonality in trading refers to observed predictable changes in asset prices throughout the year, often due to factors like weather, holidays, quarterly earnings, tax-related events, and natural industry cycles. Understanding these patterns can offer valuable insight to investors who note the potential for predictable and profitable trends. However, another valuable tool in algorithmic trading is the low-pass filter, which helps diminish noise and emphasize longer-term trends, lower transaction costs, and better manage risk.
Data from the Forex market shows that seasonality does indeed have an impact. When data from February 2015-2023 was observed, some tendencies were noted, indicating that markets and seasonality can be considered good companions. While the idea of merging Expert Advisors into one seems plausible, caution is recommended to avoid the pitfalls of high-frequency cha...
Read more...
Data from the Forex market shows that seasonality does indeed have an impact. When data from February 2015-2023 was observed, some tendencies were noted, indicating that markets and seasonality can be considered good companions. While the idea of merging Expert Advisors into one seems plausible, caution is recommended to avoid the pitfalls of high-frequency cha...
Read more...
π7π3β€1
Discover the power to manage multiple trades with ease with MoveStoploss. This robust tool is the key to order placements and dynamic strategy adjustments on various trading platforms. Supervise any manual trade, set preferences on tailing distance as stipulated or commanded by the Expert Advisor (EA), and cater to fluctuating market scenarios effectively.
Applicable to currencies, commodities, cryptocurrency, and stock trades across all time frames, MoveStoploss provides unparalleled versatility to traders at all skill levels. The Auto Trail function maintains the specified distance ensuring you can concentrate on strategic decision-making.
Switch off the Auto trail and set the preferred distance for situations that call for more control. Say goodbye to time-consuming, stress-inducing manual stop loss adjustments. Let MoveStoploss automate this process, providing greater command of...
Read more...
Applicable to currencies, commodities, cryptocurrency, and stock trades across all time frames, MoveStoploss provides unparalleled versatility to traders at all skill levels. The Auto Trail function maintains the specified distance ensuring you can concentrate on strategic decision-making.
Switch off the Auto trail and set the preferred distance for situations that call for more control. Say goodbye to time-consuming, stress-inducing manual stop loss adjustments. Let MoveStoploss automate this process, providing greater command of...
Read more...
π₯7β€4π1
With the introduction of matrices, vectors, and the ONNX to Metatrader5, the MQL5 community now has the exciting capability to build artificial intelligence (AI) trading models of any complexity. This new addition offers promising potential across industries, from entertainment to healthcare.
Artificial Intelligence, currently being honed by tech giants Google and Microsoft among others, may sound complex but with a solid understanding of AI's fundamental components, it becomes manageable. Today's focus? Optimization algorithms.
What's their function? To fine-tune the parameters of your neural network as they train - reducing the loss function and improving overall performance. The key influencers here are the optimizers. These compute the mismatch between actual values and network predictions, progressively minimizing this error through parameter modification at each training itera...
Read more...
Artificial Intelligence, currently being honed by tech giants Google and Microsoft among others, may sound complex but with a solid understanding of AI's fundamental components, it becomes manageable. Today's focus? Optimization algorithms.
What's their function? To fine-tune the parameters of your neural network as they train - reducing the loss function and improving overall performance. The key influencers here are the optimizers. These compute the mismatch between actual values and network predictions, progressively minimizing this error through parameter modification at each training itera...
Read more...
π3β€2π1
In initiating the program, remember to input the current trader and investor password in the allocated "CUR" field. To auto-generate a fresh password, utilize the "NEW" option, or specify the account type, be it "TRADER" or "INVESTOR," in the "NEW" row. Increment your point in the storage history and manifest new passwords using the "NEXT" function. Secure passwords can be archived and stored in the terminal files directory by deploying the "SAVE" action. Remember, this tool is designed to aid password management, ensuring ease of access and heightened security. Remember to leverage these features for optimal account protection.
Read more...
Read more...
π4β€1π1