Alain Verleyen:
Explain us why you need WebRequest/Socket on the Strategy Tester ?
Thank you for reaching out.
And why I need to test it? I intent to have this cycle of development:
1) fine-tune the model logic, gather data via MQL, train the model on the data
2) see how the model actually performs in StrategyTester (with spreads, delays, SLs, etc. influencing the actual result)
3) go back to 1
I hope it makes sense
Take the data from MT, use it to do your thing in python and generate a buy/sell signal file with price and timestamp. Write a simple EA that executes the signals in tester.
Take the data from MT, use it to do your thing in python and generate a buy/sell signal file with price and timestamp. Write a simple EA that executes the signals in tester.
Thanks Enrique, that is a good idea. Really - I would consider it if I had not already implemented the DLL in C++ that just does the "middle man".
With that DLL approach, as well as with yours, I question the intent of disabling the web requests for tester - in both cases, the load on the webserver is exactly the same as if I went there directly, so what is the benefit?
¯\_(ツ)_/¯
Thanks Enrique, that is a good idea. Really - I would consider it if I had not already implemented the DLL in C++ that just does the "middle man".
With that DLL approach, as well as with yours, I question the intent of disabling the web requests for tester - in both cases, the load on the webserver is exactly the same as if I went there directly, so what is the benefit?
¯\_(ツ)_/¯
The platform is not build for your needs.
It's easily understandable WebRequest and Socket are not available in the Strategy Tester. Just provide a free software to people who don't understand what they are doing and you will quickly understand.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Please - this is so important.
Security-wise, it is no change, as I can implement a custom DLL which does nothing else than provide those functions, but it is ridiculous that I have to do that.
One of the basic rules of software development is to run in production, what you have tested. Now you can't do that - you have to work with the custom DLL when developing/testing, and then switch to WebRequest / Socket in "production".
Please!