Machine learning in trading: theory, models, practice and algo-trading - page 2425
![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
Well, you can take 5-15 increments, the indicators will be no worse than
Mat expectation over 30 points only on increments, where can we observe this? Training on the 2014-2018 sample and working in 2020 - where is that on the pre-transformations?
Do you want to try to do better than you did? I will throw you a sample; it's not very big.
I've been thinking about dying strategies...
What if I forecast the market characteristics for a long time ahead? Then I restore a series with forecasted characteristics and learn from it, and then trade the market with this model... have you tried to think in this direction?
For example, to predict the spectrum of the market...
Like "we can't know the future, but we can imagine it".So I did the first phase of research.
How much energy did it take....
How much energy has gone....
This is a gift to all the skeptics.
But I'll check your idea - it's not hard for me. So what correlation coefficient to take? And how to select 5-15 out of the remaining predictors - write specifically - maybe how to measure and arrange them there?
How much energy did it take....
Instead of counting other people's money, could you give me a hint on R?
Here I made a script, which should calculate the correlation and remove correlated columns.
And there are two questions:
1. How to make the execution of this code in a for loop, namely I need to increase the coefficient and change the file name to save with the coefficient index, or to another directory generated in the loop.
2. I am removing auxiliary columns for calculations, how do I copy them into the resulting table (df2) after removing the correlated columns.
Thanks for your reply.
Instead of counting other people's money, could you give me some advice on R?
Here I made a script, which should calculate the correlation and remove correlated columns.
And there are two questions:
1. How do I make this code execute in a for loop, specifically I need to increase the coefficient and change the file name to save with the coefficient index, or to another directory generated in the loop.
2. I am removing auxiliary columns for calculations, how do I copy them into the resulting table (df2) after removing the correlated columns.
Thank you for your reply.
answer to question (2)
now can you write a function that does the same thing but looks neater
the file is fed to the input
specify columns that will not be used for corel analysiswell, and tuning korel from the findCorrelation function
cor.coef = 0.1
the output is df1 but without junk featuresNow the answer to the first question
Then I trained with a fixed quantum table setting on a sample of train - 60% test - 20% exam - 20% with
Doesn't it seem to you that you're tuning your model to the most successful version on the test?
I myself have several times hit the successful test sites and thought - here it is the Grail))). And after shifting a few months forward or backward, - everything became clear and the model was wrong and the predictors were wrong, and I was sinking in those sections.
I completely switched to analyzing the models on crossvaluation or valuation forwards. At best I saw 50%.
Doc mentioned crossvalidation in one of his last posts, too.
I have a very good Expert Advisor of Maxim, the programmer I quarreled with here, on machine learning during backtests was a fire, on forward tests it worked for a month and a half with decent profit statistics, now it is dumping without even pausing))
Please provide me an example of a machine learning EA that worked in the real market for at least 3 months in profit without retraining.
So what's the problem with continuous retraining? What is this vacuum condition"without retraining"? If the forward is working at least a day, it is already a grail, and it is possible to finish training even with every tick.