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...
In the previous article, we saw how category theory can be potent in complex systems via its concepts of products, coproducts, and the universal property, examples of applications of which in finance and algorithmic trading were shared. Here, we will delve deeper into spans, experiments, and compositions. more...