![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
ONNX trader - expert for MetaTrader 5
The machine learning model is pre-trained and stored.
The bot already has a simple filter in the form of the RSI indicator.
Deep Learning GRU model with Python to ONNX with EA, and GRU vs LSTM models
This is the continuation of Deep Learning Forecast and Order Placement using Python, the MetaTrader5 Python package and an ONNX model file, but you continue this one without the previous one. All will be explained. Everything we will use is included in this article. In this section, we will guide you through the entire process, culminating in the creation of an Expert Advisor (EA) for trading and subsequent testing.
Machine learning is a subset of artificial intelligence (AI) that focuses on developing algorithms and statistical models that enable computers to perform tasks without being explicitly programmed. The primary goal of machine learning is to enable computers to learn from data and improve their performance over time.
Cross-validation and basics of causal inference in CatBoost models, export to ONNX format
In the previous articles, I have described various ways to use machine learning algorithms to create trading systems. Some turned out to be quite successful, others (mostly from early publications) were greatly overtrained. Thus, the sequence of my articles reflects the evolution of understanding: what machine learning is actually capable of. We are, of course, talking about the classification of time series.
The current article is a development of the previous topic and the next step towards creating a self-training algorithm that is able to look for patterns in data while minimizing overfitting. After all, we want to get a real effect from the use of machine learning, so that it not only generalizes training examples, but also determines the presence of cause-and-effect relationships in them.
Seasonality Filtering and time period for Deep Learning ONNX models with python for EA
When I read the article: Benefiting from Forex market seasonality, I thought of this to make this what I think is an interesting article. I could start comparing an EA with and without seasonality's and with to see if it can benefit.
First of all we will compare models with and without filtering with using an EA, to see how filtering data affects or not, and, after this, we will discuss seasoning with a graph, to end up with a real case of study, for February 2024, with and without seasoning. In the last part of the article (which I find very interesting), we will discuss other approaches to the EA we already have from the article: How to use ONNX models in MQL5 , and we will see if we can benffit of finetuning those EA's and ONNX models, and yes, the answer is that yes we can.)
Python, ONNX and MetaTrader 5: Creating a RandomForest model with RobustScaler and PolynomialFeatures data preprocessing
Random Forest is widely used in a variety of fields, and its flexibility makes it suitable for both classification and regression problems. In a classification task, the model decides which of the predefined classes the current state belongs to. For example, in the financial market, this could mean a decision to buy (class 1) or sell (class 0) an asset based on a variety of indicators.
However, in this article, we will focus on regression problems. Regression in machine learning is an attempt to predict the future numerical values of a time series based on its past values. Instead of classification, where we assign objects to certain classes, in regression we aim to predict specific numbers. This could be, for example, forecasting stock prices, predicting temperature or any other numerical variable.
ONNX and MQL5 Copilot
The forum
The articles
CodeBase
Documentation
Learning ONNX for trading - the video:
7.1. Introduction to ONNX - Tutorial 1 - post #241
7.2. Challenges in Deep Learning - Tutorial 2 - post #242
7.3. All about ONNX - Tutorial 3 - post #243
7.4. Design principles - Tutorial 4 - post #244
7.5. ONNX file format - Tutorial 5 - post #245
7.6. ONNX Data Type - Tutorial 6 - post #246
7.7. Machine Learning Example - Tutorial 7 - post #247
7.8. ONNX Runtime - Tutorial 8 - post #248
7.9. ONNX Model Zoo - Tutorial 9 - post #249
7.10. ONNX Model Zoo Demo - Tutorial 10 - post #250
7.11. PyTorch to Tensorflow Demo - Tutorial 11 - post #251
8.1. Introduction to Deep Learning - Lecture 1 - post #9
8.2. Recurrent Neural Networks and Transformers - Lecture 2 - post #10
8.3. Convolutional Neural Networks - Lecture 3 - post #11
8.4. Deep Generative Modeling - Lecture 4 - post #12
8.5. Reinforcement Learning - Lecture 5 - post #13
8.6. Deep Learning New Frontiers - Lecture 6 - post #14
8.7. LiDAR for Autonomous Driving - Lecture 7 - post #15
8.8. Automatic Speech Recognition - Lecture 8 - post #16
8.9. AI for Science - Lecture 9 - post #17
8.10. Uncertainty in Deep Learning - Lecture 10 - post #18
Overcoming ONNX Integration Challenges
This article assumes you have a basic understanding of machine learning and AI theory, and that you have at least tried to use ONNX models in mql5 once or twice.
Data Science and ML (Part 22): Leveraging Autoencoders Neural Networks for Smarter Trades by Moving from Noise to Signal
In this article, we will see how we can use an autoencoder neural network in the financial space to help us remove noise in the market so that we can discover trading opportunities.
This article is an easy read if you have a basic understanding of ONNX, PCA, and Neural Networks in general.
Causal inference in time series classification problems
In the previous article, we have thoroughly examined training via meta learner and cross-validation, as well as saving models in the ONNX format. I have also noted that machine learning models are not capable of finding patterns out of the box in disparate and contradictory data. In this case, it is very important what exactly is sent to the input and output of a neural network or any other machine learning algorithm.
...
This article describes an attempt to understand some causal inference techniques in relation to algorithmic trading.
Spurious Regressions in Python