Discussion of article "Third Generation Neural Networks: Deep Networks" - page 12

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
Vladimir Perervenko
Add to the article additional information on working with R Studio
Good afternoon.
I don't understand about the hosts file. Can you give more details ?
Good luck
Vladimir Perervenko
Add to the article additional information on working with R Studio
I use another form of record to check installed packages:
You should load libraries in the description of functions that use them. Although you can do it this way when initialising the Expert Advisor.
So why do you need to run the Expert Advisor in the tester?
Good luck
While debugging R scripts for a long time, identified a bug that is hard to catch if the incoming data has NA. It simply will not trigger the signal. In the "e_SAE_init.r" file, it is recommended to add a NA cleanup term to the Test(dt,x) function before new.data <- predict(prepr, tail(x, 50)): x <- na.omit(x);
This seems like a "crutch", but I haven't thought of anything better yet.
Without it, a hidden error will occur:
Error in if (sqrt(denom) > .Machine$double.eps) x/sqrt(denom) else x * : missing value where TRUE/FALSE needed
While debugging R scripts for a long time, identified a bug that is hard to catch if the incoming data has NA. It simply will not trigger the signal. In the "e_SAE_init.r" file, it is recommended to add a NA cleanup term to the Test(dt,x) function before new.data <- predict(prepr, tail(x, 50)): x <- na.omit(x);
This seems like a "crutch", but I haven't thought of anything better yet.
Without it, a hidden error will occur:
Error in if (sqrt(denom) > .Machine$double.eps) x/sqrt(denom) else x * : missing value where TRUE/FALSE needed
While debugging R scripts for a long time, I found a bug that is hard to catch if the incoming data has NA. It simply will not trigger the signal. In the "e_SAE_init.r" file, it is recommended to add a NA cleanup term to the Test(dt,x) function before new.data <- predict(prepr, tail(x, 50)): x <- na.omit(x);
This seems like a "crutch", but I haven't thought of anything better yet.
Without it, a hidden error will occur:
Error in if (sqrt(denom) > .Machine$double.eps) x/sqrt(denom) else x * : missing value where TRUE/FALSE needed
This statement is incorrect.
In the Test(dt, x) function, x is the input data calculated by the In() function. Let's look at it in the "i_SAE_fun.r" script
This is a number of indicators. Let's calculate them on the price[] history with the length of 2000 bars.
We cut off the undefined data. Condition : nrow(x) > 500 + max(NA). I.e. at least in our case 533. To be safe, put nrow(x) = 600-700.
I don't see how you got an uncertain NA in x.
Good luck
HI Vladimir,
Here is from Brazil!!!
I read your instructions about the Neural Network using R but I have a dumb question (sorry, I am newbie in this!)
In the tutorial that you wrote ( https://www.mql5.com/en/articles/1103#ch_3), in the "Section 3.3.1 - Source Data" you described a function, called pr.OHLC that I understood very well.
Bu you show some results that it was not clear to me which are the parameters necessary to the results below
Could you, please, help me with this?
Best,
Fábio
HI Vladimir,
Here is from Brazil!!!
I read your instructions about the Neural Network using R but I have a dumb question (sorry, I am newbie in this!)
In the tutorial that you wrote ( https://www.mql5.com/en/articles/1103#ch_3), in the "Section 3.3.1 - Source Data" you described a function, called pr.OHLC that I understood very well.
Bu you show some results that it was not clear to me which are the parameters necessary to the results below
Could you, please, help me with this?
Best,
Fábio
Hi Fabio,
What's not clear?
Hi Vladimir,
Is there a possibility to have the files for MT5 ?
Regards
Fabio lima
Hi Vladimir,
Is there a possibility to have the files for MT5 ?
Regards
Fabio lima
Hi Fabio,
I'm sorry.
I do not write on MKL5.
Best regards
Vladimir
One question . I am not clear on the order of the price vector .
You do a reversal here : price <- cbind(Open = rev(o), High = rev(h), Low = rev(l), Close = rev(c))
What is the original order of o,h,l,c ?
One question . I am not clear on the order of the price vector .
You do a reversal here : price <- cbind(Open = rev(o), High = rev(h), Low = rev(l), Close = rev(c))
What is the original order of o,h,l,c ?
Hi,
The MT4 numbering bars from the most recent to oldest. The R on the contrary, from the old to the new, new bar last.