WebRequest() alternative for backtesting.....

 

I was reading mql4 WebRequest() docs and it is turned off during backtesting.  So is there an alternative method(s) to download data from the internet, process it, and then incorporate that data into the backtest when IsTesting() is true?


edit:  one of the uses will be to download historical news calendar data.  So this data can then be used during backtest (dates and events will be lined up). 

WebRequest - Common Functions - MQL4 Reference
WebRequest - Common Functions - MQL4 Reference
  • docs.mql4.com
WebRequest - Common Functions - MQL4 Reference
 

Load what you need before the backtest and read it from you hd.

WebRequest during backtest would  slow down the backtest and in case of an optimization with more the 1 mio. runs your requests would look like a DOS attac!

Reason: