All about MQL5 Wizard : create robots without programming. - page 7

 

MQL5 Wizard Techniques you should know (Part 41): Deep-Q-Networks

MQL5 Wizard Techniques you should know (Part 41): Deep-Q-Networks

Deep-Q-Networks (DQN) are another reinforcement learning algorithm, besides Q-Learning that we looked at in this article, but they, unlike Q-Learning, use neural networks to forecast the q-value and the next action to be taken by the agent. It is similar/ related to Q-Learning in that a Q-Table is still involved, where the cumulative knowledge on actions and states from previous ‘episodes’ gets stored. In fact, it shares the same Wikipedia page as Q-Learning as can be seen from the links where it's defined essentially as a variant of Q-Learning.
MQL5 Wizard Techniques you should know (Part 41): Deep-Q-Networks
MQL5 Wizard Techniques you should know (Part 41): Deep-Q-Networks
  • www.mql5.com
The Deep-Q-Network is a reinforcement learning algorithm that engages neural networks in projecting the next Q-value and ideal action during the training process of a machine learning module. We have already considered an alternative reinforcement learning algorithm, Q-Learning. This article therefore presents another example of how an MLP trained with reinforcement learning, can be used within a custom signal class.
 

MQL5 Wizard Techniques you should know (Part 42): ADX Oscillator

MQL5 Wizard Techniques you should know (Part 42): ADX Oscillator

The ADX indicator is an oscillator that is meant to measure how strong a given trend in the market is for the security to which it is attached. This article thus, like some that were preceding it, examines the various patterns exhibited by this indicator in a custom signal class file, for wizard assembled Expert Advisors. We review one pattern at a time as we have in the previous articles covering RSI, Bollinger Bands, and the RSI and then conclude with a test that includes all patterns to get a sense of which has the highest weighting.
MQL5 Wizard Techniques you should know (Part 42): ADX Oscillator
MQL5 Wizard Techniques you should know (Part 42): ADX Oscillator
  • www.mql5.com
The ADX is another relatively popular technical indicator used by some traders to gauge the strength of a prevalent trend. Acting as a combination of two other indicators, it presents as an oscillator whose patterns we explore in this article with the help of MQL5 wizard assembly and its support classes.
 
MQL5 Wizard Techniques you should know (Part 43): Reinforcement Learning with SARSA

MQL5 Wizard Techniques you should know (Part 43): Reinforcement Learning with SARSA

Reinforcement Learning (RL) allows trading systems to learn from their environment or market data and thus improve their ability to trade over time. RL enables adaptation to changing market conditions, making it suitable for certain dynamic financial markets and securities. Financial markets are unpredictable, as often they feature a high degree of uncertainty. RL excels at making decisions under uncertainty by continuously adjusting its actions based on received feedback (rewards), thus being very helpful to traders when handling volatile market conditions.
MQL5 Wizard Techniques you should know (Part 43): Reinforcement Learning with SARSA
MQL5 Wizard Techniques you should know (Part 43): Reinforcement Learning with SARSA
  • www.mql5.com
SARSA, which is an abbreviation for State-Action-Reward-State-Action is another algorithm that can be used when implementing reinforcement learning. So, as we saw with Q-Learning and DQN, we look into how this could be explored and implemented as an independent model rather than just a training mechanism, in wizard assembled Expert Advisors.
 

MQL5 Wizard Techniques you should know (Part 44): Average True Range (ATR) technical indicator

The Average True Range is a common and popular volatility indicator, which arguably, for forex traders, is the ‘closest-thing’ to volume data. Developed as an indicator which was meant to track price bar range without skimping on intra-bar price changes, it has become a bit of a stalwart in the industry not just for filtering entry signals but also in guiding on position sizing. We look at this indicator by decomposing it into possible patterns as we have been doing with the previous indicator’s articles with perhaps the main difference being we look into patterns outside of the custom signal class by also considering the custom money management class for wizard assembled Expert Advisors.

MQL5 Wizard Techniques you should know (Part 44): Average True Range (ATR) technical indicator
MQL5 Wizard Techniques you should know (Part 44): Average True Range (ATR) technical indicator
  • www.mql5.com
The ATR oscillator is a very popular indicator for acting as a volatility proxy, especially in the forex markets where volume data is scarce. We examine this, on a pattern basis as we have with prior indicators, and share strategies & test reports thanks to the MQL5 wizard library classes and assembly.
 

MQL5 Wizard Techniques you should know (Part 45): Reinforcement Learning with Monte-Carlo

MQL5 Wizard Techniques you should know (Part 45): Reinforcement Learning with Monte-Carlo

This article continues our look at reinforcement learning by considering another algorithm, namely the Monte-Carlo. This algorithm is very similar and in fact arguably encompasses both Q-Learning and SARSA in that it can be either on-policy or off-policy. What sets it apart though is the emphasis on episodes. These simply are a way of batching the reinforcement learning cycle updates, that we introduced in this article, such that the updating of the Q-Values of the Q-Map happens less frequently.

With the Monte Carlo algorithm, Q-Values are only updated after the completion of an episode. An episode is a batch of cycles. For this article, we have assigned this number of cycles the input parameter ‘m_episodes_size’ and it is optimizable or adjustable. Monte Carlo is attributed to being quite robust to market variability because it can better simulate a wide range of possible market scenarios, allowing traders to determine how different strategies perform under a variety of conditions. This variability helps traders understand potential tradeoffs, risks and returns, enabling them to make more informed decisions.

MQL5 Wizard Techniques you should know (Part 45): Reinforcement Learning with Monte-Carlo
MQL5 Wizard Techniques you should know (Part 45): Reinforcement Learning with Monte-Carlo
  • www.mql5.com
Monte-Carlo is the fourth different algorithm in reinforcement learning that we are considering with the aim of exploring its implementation in wizard assembled Expert Advisors. Though anchored in random sampling, it does present vast ways of simulation which we can look to exploit.
 

MQL5 Wizard Techniques you should know (Part 46): Ichimoku

MQL5 Wizard Techniques you should know (Part 46): Ichimoku

The Ichimoku Kinko Hyo, that is often referred to as the Ichimoku Cloud, is a wide-embracing technical analysis system designed to provide a holistic view of market trends; support and resistance levels; as well as momentum. Developed in the late 1930s and refined over the subsequent three decades, Ichimoku Kinko Hyo translates from Japanese to "one-look equilibrium chart" or "at-a-glance balance chart,"; names which emphasize its design to offer a single, detailed perspective on the market.
MQL5 Wizard Techniques you should know (Part 46): Ichimoku
MQL5 Wizard Techniques you should know (Part 46): Ichimoku
  • www.mql5.com
The Ichimuko Kinko Hyo is a renown Japanese indicator that serves as a trend identification system. We examine this, on a pattern by pattern basis, as has been the case in previous similar articles, and also assess its strategies & test reports with the help of the MQL5 wizard library classes and assembly.
 

MQL5 Wizard Techniques you should know (Part 48): Bill Williams Alligator

MQL5 Wizard Techniques you should know (Part 48): Bill Williams Alligator

The Alligator indicator, that was developed by Bill Williams with the premise that markets tend to trend strongly in any set direction for only about 15 – 30% of the time. It inherently is a trend following tool that helps traders identify market direction and potential fractals or turning points. This it achieves by using a set of three smoothed moving averages (SMAs) that are not only set at different averaging periods, but are also shifted forward by varying amounts.
MQL5 Wizard Techniques you should know (Part 48): Bill Williams Alligator
MQL5 Wizard Techniques you should know (Part 48): Bill Williams Alligator
  • www.mql5.com
The Alligator Indicator, which was the brain child of Bill Williams, is a versatile trend identification indicator that yields clear signals and is often combined with other indicators. The MQL5 wizard classes and assembly allow us to test a variety of signals on a pattern basis, and so we consider this indicator as well.
 

MQL5 Wizard Techniques you should know (Part 47): Reinforcement Learning with Temporal Difference

The introduction to temporal difference (TD) learning in reinforcement learning serves as a gateway to understand how TD distinguishes itself from other algorithms, such as Monte Carlo, Q-Learning, and SARSA. This article aims to unravel the complexities surrounding TD learning by highlighting its unique ability to update value estimates incrementally based on partial information from episodes, rather than waiting for episodes to complete as seen in Monte Carlo methods. This distinction makes TD learning a powerful tool, especially where environments are dynamic and require prompt updates to the learning policy.

In the last reinforcement-learning article, we looked at the Monte Carlo algorithm that gathered reward information over multiple cycles before performing a single update for each episode. Temporal difference (TD) though, is all about learning from partial and incomplete episodes much like the algorithms of Q-Learning and SARSA that we tackled earlier on here and here.

MQL5 Wizard Techniques you should know (Part 45): Reinforcement Learning with Monte-Carlo
MQL5 Wizard Techniques you should know (Part 45): Reinforcement Learning with Monte-Carlo
  • www.mql5.com
Monte-Carlo is the fourth different algorithm in reinforcement learning that we are considering with the aim of exploring its implementation in wizard assembled Expert Advisors. Though anchored in random sampling, it does present vast ways of simulation which we can look to exploit.
 

MQL5 Wizard Techniques you should know (Part 49): Reinforcement Learning with Proximal Policy Optimization

MQL5 Wizard Techniques you should know (Part 49): Reinforcement Learning with Proximal Policy Optimization

We continue our series on the MQL5 wizard, where lately we are alternating between simple patterns from common indicators and reinforcement learning algorithms. Having considered indicator patterns (Bill Williams’ Alligator) in the last article, we now return to reinforcement learning, where this time the algorithm we are looking at is Proximal Policy Optimization (PPO). It is reported that this algorithm, that was first published 7 years ago, is the reinforcement-learning algorithm of choice for ChatGPT. So, clearly there is some hype surrounding this approach to reinforcement learning. The PPO algorithm is intent on optimizing the policy (the function defining the actor’s actions) in a way that improves overall performance by preventing drastic changes that could make the learning process unstable.
MQL5 Wizard Techniques you should know (Part 48): Bill Williams Alligator
MQL5 Wizard Techniques you should know (Part 48): Bill Williams Alligator
  • www.mql5.com
The Alligator Indicator, which was the brain child of Bill Williams, is a versatile trend identification indicator that yields clear signals and is often combined with other indicators. The MQL5 wizard classes and assembly allow us to test a variety of signals on a pattern basis, and so we consider this indicator as well.
 

MQL5 Wizard Techniques you should know (Part 50): Awesome Oscillator

MQL5 Wizard Techniques you should know (Part 50): Awesome Oscillator

The awesome oscillator is another indicator that was developed by the legendary investor Bill Williams, besides the Alligator that we considered in the last indicator-pattern article. In principle, it is designed to measure market momentum and help pinpoint potential changes in prevalent trends.

MQL5 Wizard Techniques you should know (Part 50): Awesome Oscillator
MQL5 Wizard Techniques you should know (Part 50): Awesome Oscillator
  • www.mql5.com
The Awesome Oscillator is another Bill Williams Indicator that is used to measure momentum. It can generate multiple signals, and therefore we review these on a pattern basis, as in prior articles, by capitalizing on the MQL5 wizard classes and assembly.