Download MetaTrader 5

Are there any news indicators they work in backtest?

To add comments, please log in or register
Order the development and track its status via your mobile phone.
dillfromskype
407
dillfromskype 2016.01.10 16:20 

Hi there,

I am looking for a news indicator that lets user know visually when news events occur, a simple line at the date inchart with info on what news is happening would suffice, but I need that to work in back-test also so I know when testing my systems when news announcements were.

Is there such an indicator?  

Steven Van Ingelgem
836
Steven Van Ingelgem 2016.01.10 20:24  
dillfromskype:

Hi there,

I am looking for a news indicator that lets user know visually when news events occur, a simple line at the date inchart with info on what news is happening would suffice, but I need that to work in back-test also so I know when testing my systems when news announcements were.

Is there such an indicator?  

The WebRequest() function is synchronous, which means its breaks the program execution and waits for the response from the requested server. Since the delays in receiving a response can be large, the function is not available for calls from the indicators, because indicators run in a common thread shared by all indicators and charts on one symbol. Indicator performance delay on one of the charts of a symbol may stop updating of all charts of the same symbol.
The function can be called only from Expert Advisors and scripts, as they run in their own execution threads. If you try to call the function from an indicator, GetLastError() will return error 4060 – "Function is not allowed for call".
dillfromskype
407
dillfromskype 2016.01.10 23:17  
Steven Van Ingelgem:
huh?
Khurram Mustafa
27980
Khurram Mustafa 2016.01.11 05:03  
Steven Van Ingelgem:
nice explaining :)
mac131
53
mac131 2016.01.11 09:25  
nice shared conversation
dillfromskype
407
dillfromskype 2016.01.11 11:38  
no help at all
To add comments, please log in or register