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

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
Does the indicator with Send to server - false start normally?
Have you put the model where it should be?
Read the "pictures" saved by the Expert Advisor and the indicator in Rstudio (set the variable swr = true). I would like to see them.
Are the directories created normally? Have you figured out what is where?
Good luck.
I set the variable swr=true, but only when the Expert Advisor is started the image file is received. For some reason the indicator starts for 15-20 minutes, only after this time I can press the OK button.
The Expert Advisor worked normally. Everything that is necessary for its work is in the picture. But it did not receive data from the indicator (dt, X). I checked in R3.2.0 . The problem is with the package "svSocet". Something has changed and the transfer from the indicator to the Expert Advisor is blocked. That's why the indicator hangs and can't transmit data. Although it connects to the server normally. I haven't analysed why. To check or debug, make a picture of the Expert Advisor and run it in Rstudio. Then make a picture of the indicator (send = false) and run it in Rgui. In Rstudio execute the lines
then in Rgui, where the indicator picture is running, execute the lines
Indicator (client) and Expert Advisor (server) are connected. Try to send/receive data between them.
It should be simplified. Transfer to the Expert Advisor the part of the indicator that collects and prepares data (including, of course, all functions). Try it yourself. If it does not work, I will choose time and redo it.
Unfortunately, I am very busy and cannot respond quickly.
Good luck
Hi Vladimir
First of all thank you very much for providing so much know-how. This is realy an interesting stuff. Not only you provided both sides ( mt4 and R-files), you explained all in detail. This is really generous.
But as Apollo befor, I 've never made the ea running, or better, that the EA as server received data from the indicator. Of course I try to find the error on my side. In R-Studio, everything work fine. Netherless I have some questions.
in e_SAE i can find the parameter "flag". I do not find it anywhere else. Perhaps this has no meaning. But as Apollo, I have identified the GetRes -function from i_SAE_fun to make the trouble. the SAE-Indicator works , when the option " send to server" is set to false. If it is true, then nothing happens. when, after some times, I stop the indicator, and stop the RTerm in task-manager, I can see the following in dbgview:
00000127 108.28663635 [9960] <0> GetOutput: Error: R is not running (anymore): source('C:/RData/i_SAE.r')
00000128 108.28672791 [9960] <0> GetOutput: Error: R is not running (anymore): source('C:/RData/i_SAE.r')
00000129 108.28672791 [9960] Lade nötiges Paket: zoo
00000130 108.28672791 [9960]
00000131 108.28672791 [9960] Attache Paket: 'zoo'
00000132 108.28672791 [9960]
00000133 108.28672791 [9960] The following objects are masked from 'package:base':
00000134 108.28672791 [9960]
00000135 108.28672791 [9960] as.Date, as.Date.numeric
00000136 108.28672791 [9960]
00000137 108.29270935 [9960] RDeinit: RHandle = 539E61C (87680540)
( This is no error) ....
but i can see in RStudio, this messages appears when sourcing i_SAE.r file. There is perhaps an problem with the "serv" parameter (?).
If I debug the situation with metatrader, I can see, that the ea never calculate anything.
After "return(INIT_SUCCEEDED);" it jumps to
102 void OnTimer()
110 sig = GetRes(); then to
130 int GetRes()
where it goes to
if(Rgb("alert1"))
{
Alert("No calculation results!" + Symbol());
sig = 0;
return(0);
} .
after few more steps, it jumps back to the void OnTimer
So nothing is calculated , and never will.
Where is the error?
I hope you have a hint , because after one week intensive analyze, I have no idea anymore.
Thank you very much for your help
regards
rbliuom
(sorry for my english)
Hi Vladimir
First of all thank you very much for providing so much know-how. This is realy an interesting stuff. Not only you provided both sides ( mt4 and R-files), you explained all in detail. This is really generous.
But as Apollo befor, I 've never made the ea running, or better, that the EA as server received data from the indicator. Of course I try to find the error on my side. In R-Studio, everything work fine. Netherless I have some questions.
in e_SAE i can find the parameter "flag". I do not find it anywhere else. Perhaps this has no meaning. But as Apollo, I have identified the GetRes -function from i_SAE_fun to make the trouble. the SAE-Indicator works , when the option " send to server" is set to false. If it is true, then nothing happens. when, after some times, I stop the indicator, and stop the RTerm in task-manager, I can see the following in dbgview:
00000127 108.28663635 [9960] <0> GetOutput: Error: R is not running (anymore): source('C:/RData/i_SAE.r')
00000128 108.28672791 [9960] <0> GetOutput: Error: R is not running (anymore): source('C:/RData/i_SAE.r')
00000129 108.28672791 [9960] Lade nötiges Paket: zoo
00000130 108.28672791 [9960]
00000131 108.28672791 [9960] Attache Paket: 'zoo'
00000132 108.28672791 [9960]
00000133 108.28672791 [9960] The following objects are masked from 'package:base':
00000134 108.28672791 [9960]
00000135 108.28672791 [9960] as.Date, as.Date.numeric
00000136 108.28672791 [9960]
00000137 108.29270935 [9960] RDeinit: RHandle = 539E61C (87680540)
( This is no error) ....
but i can see in RStudio, this messages appears when sourcing i_SAE.r file. There is perhaps an problem with the "serv" parameter (?).
If I debug the situation with metatrader, I can see, that the ea never calculate anything.
After "return(INIT_SUCCEEDED);" it jumps to
102 void OnTimer()
110 sig = GetRes(); then to
130 int GetRes()
where it goes to
if(Rgb("alert1"))
{
Alert("No calculation results!" + Symbol());
sig = 0;
return(0);
} .
after few more steps, it jumps back to the void OnTimer
So nothing is calculated , and never will.
Where is the error?
I hope you have a hint , because after one week intensive analyze, I have no idea anymore.
Thank you very much for your help
regards
rbliuom
(sorry for my english)
Hi rbliuom, APoLLo_MQL
This weekend I checked all scripts. The problem was in the package "svSocket."I do not know the reasons, but the data are not transmitted from the indicator to the server. I'll rewrite the expert. Simplify it. All we transferred to the expert. Now there is a lot of time, but try to finish the weekend.
Best regards
Vladimir
Hi rbliuom, APoLLo_MQL
This weekend I checked all scripts. The problem was in the package "svSocket."I do not know the reasons, but the data are not transmitted from the indicator to the server. I'll rewrite the expert. Simplify it. All we transferred to the expert. Now there is a lot of time, but try to finish the weekend.
Best regards
Vladimir
I have not forgotten his promise, but as the time is always short. Made in the near future.
Hi Vladimir
Take your time. For me, there is no time to beat. And there is so much know-how in all this sections, where I should improve my knowledge, And in addition it is summer at it´s best. So relax and have a nice time.
It is necessary to simplify. Transfer to the Expert Advisor the part of the indicator that collects and prepares data (including, of course, all functions). Try it yourself. If it does not work, I will choose time and redo it.
Unfortunately, I am very busy and cannot respond quickly.
Vladimir, will it be possible to remake the Expert Advisor to try its work? The topic is interesting, but unfortunately I will not be able to remake the Expert Advisor and indicator to make everything work.