Http-Proxy Server for MyfxbookEA.dll vote results
Edit Your Comment
Http-Proxy Server for MyfxbookEA.dll Discussion
Aug 09, 2010 at 09:13
(edited Aug 09, 2010 at 09:24)
Member Since Jul 29, 2010
11 posts
Hello,
It would be nice to use a http-proxy server togather with the MyfxbookEA.dll.
It cannot connect because I'm behind a Firewall/Proxy. Mateatrader itself works fine.
But the Publisher from MT4 and this DLL seems to be not using the Proxy-Settings.
Thanks!
Edit: also FTP Active Mode is required.
It would be nice to use a http-proxy server togather with the MyfxbookEA.dll.
It cannot connect because I'm behind a Firewall/Proxy. Mateatrader itself works fine.
But the Publisher from MT4 and this DLL seems to be not using the Proxy-Settings.
Thanks!
Edit: also FTP Active Mode is required.
Member Since Jul 31, 2009
1418 posts
Aug 09, 2010 at 10:27
Member Since Jul 31, 2009
1418 posts
Hi SniperNCE.
The EA is designed to work with firewalls, since it uses port 80. If you're able to browse the web, the EA should be working with no issues.
The EA is designed to work with firewalls, since it uses port 80. If you're able to browse the web, the EA should be working with no issues.
Aug 09, 2010 at 12:05
Member Since Jul 29, 2010
11 posts
Ok Thanks for the answer. I can browser the Web it works all fine, when i define a http proxy server in my browser settings.
I followed this manual: http://www.myfxbook.com/help/connect-metatrader-ea
I get this error:
13:57:11 Myfxbook USDJPY,M15: Error: Can't send request
13:58:02 Myfxbook USDJPY,M15: uninit reason 5
When I look into netstat, it tries to connect directly without using the proxy server:
validation.myfxbook.com:http SYN_GESENDET
I followed this manual: http://www.myfxbook.com/help/connect-metatrader-ea
I get this error:
13:57:11 Myfxbook USDJPY,M15: Error: Can't send request
13:58:02 Myfxbook USDJPY,M15: uninit reason 5
When I look into netstat, it tries to connect directly without using the proxy server:
validation.myfxbook.com:http SYN_GESENDET
Member Since Jul 31, 2009
1418 posts
Aug 10, 2010 at 06:11
Member Since Jul 31, 2009
1418 posts
Have you configured a proxy for your LAN connections? It should work.
Aug 10, 2010 at 08:15
Member Since Jul 29, 2010
11 posts
I have to setup the proxy for each application. But the application must support it with like Metatrader itself does (Options/Server/Proxy). I also set up the http_proxy environment variable but your dll seem to be does not support proxy servers because there is no property to define the proxy settings.
For a workaround I can setup a Metatrader with the EA on my Server. It should work there because its directly connected.
Maybe there can be a new EA property in the future called "proxy_server" or something like this? Just a suggestion.
For a workaround I can setup a Metatrader with the EA on my Server. It should work there because its directly connected.
Maybe there can be a new EA property in the future called "proxy_server" or something like this? Just a suggestion.
Member Since Sep 16, 2010
7 posts
Member Since Sep 16, 2010
7 posts
Sep 16, 2010 at 08:13
Member Since Sep 16, 2010
7 posts
Found out the reason: watching in TCPView, i've seen that as staff is saying here, the Myfxbook + its dll try to connect through port 80 (http).
Unfortunately my company proxy uses port XYZ and not standart port 80.
With the browser and with MT4 this is not a problem since when you edit the proxy tab you can also specify the port number, but in this case you can't.
Unfortunately my company proxy uses port XYZ and not standart port 80.
With the browser and with MT4 this is not a problem since when you edit the proxy tab you can also specify the port number, but in this case you can't.
In God We Trust
Member Since Jul 31, 2009
1418 posts
Sep 16, 2010 at 08:45
Member Since Jul 31, 2009
1418 posts
Just configure the proxy for the connection (dial up/vpn) and it should work fine.
Member Since Sep 16, 2010
7 posts
Sep 16, 2010 at 09:05
Member Since Sep 16, 2010
7 posts
Sorry, maybe i can't explain well to let you understand my issue. I try again.
Mine is a Company Proxy, managed by the network admin and I can't configure it. All I have is the proxy name and port.
But while in Metatrader you can use the Server/Proxy... panel to tell the platform what the proxy:port is, in your Myfxbook EA you can't and it actually use the proxy but on the default port 80, so it doesn't work. As suggested by member SniperNCE adding to the EA some input parameters like proxy & port should solve the problem.
Mine is a Company Proxy, managed by the network admin and I can't configure it. All I have is the proxy name and port.
But while in Metatrader you can use the Server/Proxy... panel to tell the platform what the proxy:port is, in your Myfxbook EA you can't and it actually use the proxy but on the default port 80, so it doesn't work. As suggested by member SniperNCE adding to the EA some input parameters like proxy & port should solve the problem.
In God We Trust
Member Since Sep 16, 2010
7 posts
Member Since Jul 31, 2009
1418 posts
Sep 17, 2010 at 12:32
Member Since Jul 31, 2009
1418 posts
bubincka64 posted:
Sorry, maybe i can't explain well to let you understand my issue. I try again.
Mine is a Company Proxy, managed by the network admin and I can't configure it. All I have is the proxy name and port.
But while in Metatrader you can use the Server/Proxy... panel to tell the platform what the proxy:port is, in your Myfxbook EA you can't and it actually use the proxy but on the default port 80, so it doesn't work. As suggested by member SniperNCE adding to the EA some input parameters like proxy & port should solve the problem.
I meant to configure the network connection of your PC, not the proxy itself.
Member Since Sep 16, 2010
7 posts
Member Since Sep 16, 2010
7 posts
Sep 17, 2010 at 12:54
Member Since Sep 16, 2010
7 posts
In my PC network settings under Tools\Internet Options\Connections\ LAN Settings I have
-- Proxy server
Address: Port:
In Address I put the name/IP of the company-proxy and in the port I can only put the value 3128 because the proxy only accepts connections on that port number. If I put 80 it doesn't work.
I hope now you have understood what's the problem.
-- Proxy server
Address: Port:
In Address I put the name/IP of the company-proxy and in the port I can only put the value 3128 because the proxy only accepts connections on that port number. If I put 80 it doesn't work.
I hope now you have understood what's the problem.
In God We Trust
Member Since Sep 16, 2010
7 posts
Sep 17, 2010 at 14:49
Member Since Sep 16, 2010
7 posts
Hi, to answer your question, yes, if i set the 3128 proxy in my network connection, I can browse the web.
And i can also connect my Metatrader to the datacenter.
Instead the EA Myfxbook doesn't work in metatrader log only tells HTTP Error.
I checked with netstat and as i already told you the EA goes on port 80 and not 3128, that's the reason why it's blocked. The details of netstat are:
validation.myfxbook.com:http for the remote address.
In the meanwhile I have other 2 accounts on another server *without* proxy that work perfectly on Myfxbook.
And i can also connect my Metatrader to the datacenter.
Instead the EA Myfxbook doesn't work in metatrader log only tells HTTP Error.
I checked with netstat and as i already told you the EA goes on port 80 and not 3128, that's the reason why it's blocked. The details of netstat are:
validation.myfxbook.com:http for the remote address.
In the meanwhile I have other 2 accounts on another server *without* proxy that work perfectly on Myfxbook.
In God We Trust
Member Since Jul 31, 2009
1418 posts
Oct 14, 2010 at 08:21
Member Since Jul 31, 2009
1418 posts
Hattrick posted:
I have the same problem. I'm using a proxy and web browsing and metatrader is working fine.
myfxbook expert is not working.
Any solution ?
We're working on it, so it should be ready soon.
Member Since Jul 31, 2009
1418 posts
Oct 20, 2010 at 06:54
Member Since Jul 31, 2009
1418 posts
Although we're working on an EA version with a proxy option of its own, if you have a proxy configured in your windows and you can browse the web, this should work:
1. Open CMD (Run > cmd)
2. Type: 'proxycfg -u' (without the ')
3. Check the result in MetaTrader.
1. Open CMD (Run > cmd)
2. Type: 'proxycfg -u' (without the ')
3. Check the result in MetaTrader.

forex_trader_19121
Member Since Sep 27, 2010
4 posts
Oct 20, 2010 at 14:52
Member Since Sep 27, 2010
4 posts
Thank you very much for the solution. I tested on Windows XP and it's working.
Proxycfg is not available for win 2008 server and Windows 7. For those systems you can use "netsh"
http://www.bohack.com/2010/08/windows-server-2008-replacement-of-proxycfg-exe/
Proxycfg is not available for win 2008 server and Windows 7. For those systems you can use "netsh"
http://www.bohack.com/2010/08/windows-server-2008-replacement-of-proxycfg-exe/

*Commercial use and spam will not be tolerated, and may result in account termination.
Tip: Posting an image/youtube url will automatically embed it in your post!
Tip: Type the @ sign to auto complete a username participating in this discussion.