Candlesticks are a very helpful technical tool if we use them correctly, as we can find a potential movement based on their patterns. Candlesticks can form specific patterns on the chart and these patterns can be divided into two types single-candle patterns and blended candle patterns (more than one candle). In this article, we will learn how we can use MQL5 to detect some of these patterns automatically in the MetaTrader 5 trading terminal, we ...
According to Janus theory, markets are driven by the interplay between prices and how traders react to them. When markets are trending, market participants show confidence by letting their profits ride. In an uptrend higher prices confirm participants' expectations of the trend, which in turn induces more buy-in. This has the effect of pushing prices even higher. more...
Mathematical expectation in trading is one of the indicators used to evaluate a trading strategy efficiency. In 1738, Daniel Bernoulli published his work "Specimen theoriae novae de mensura sortis" (Exposition of a New Theory on the Measurement of Risk). In this work, he derived the moral expectation equation. The main difference between moral expectation and mathematical expectation is that moral expectation depends on the player's capital and implicitly ...
Method for creating custom indicators whose drawings are made using the class CCanvas from standard library. The topics of this article are listed below: Reasons for using CanvasChart window propertiesUnderstanding the chart window propertiesChart properties viewer indicatorCoordinates conversionDRAW_FILLING with transparencyExtending the method to work in subwindow indicators ...
Among all the considered models, CNN-LSTM models have generated the best results during the experiments. In this article, we will consider how to create such a model to forecast financial timeseries and how to use the created ONNX model in an MQL5 Expert Advisor. more...