Error initializing object / Error initializing indicators

 

Why am I getting these errors and what can I do to correct the errors:

GH 0 History 08:53:45 EURUSD,Weekly: history begins from 2007.12.30 00:00

FS 0 History 08:53:46 EURUSD: contains 343091 M1 records of beginning data from 2008.01.02 09:01 to 2008.12.31 20:00

ES 0 History 08:53:46 EURUSD,M1: history cache reserved for estimated 1281600 bars

OG 0 History 08:53:46 EURUSD,M1: history begins from 2008.01.02 09:01

MN 0 Kansa_WeeklyStrategy (EURUSD,H4) 08:53:46 2009.01.01 00:00:00   CExpertBase::InitHigh: error initializing object

HN 0 Kansa_WeeklyStrategy (EURUSD,H4) 08:53:46 2009.01.01 00:00:00   CExpert::InitIndicators: error initialization indicators of signal object

GL 0 Kansa_WeeklyStrategy (EURUSD,H4) 08:53:46 2009.01.01 00:00:00   OnInit: error initializing indicators

QO 2 Tester 08:53:46 tester stopped because OnInit critical error

LG 0 Tester 08:53:46 log file "C:\.................................\Agent-127.0.0.1-3000\logs\20110705.log" written

QK 0 Tester 08:53:46 tester agent shutdown

RR 0 Server 08:59:14 MetaTester 5 stopped

Thank you in advance, 

 

kanash

Documentation on MQL5: MQL5 programs / Runtime Errors
  • www.mql5.com
MQL5 programs / Runtime Errors - Documentation on MQL5
 

It seems like there is not enough historical data for EURUSD. Please check amount of bars for EURUSD H4 in client terminal. Also please revise all functions which are calling during initialization of EA. There probably are some conditions which might be a reason of initialization error.

Have you tried to put this EA to the chart?

 

Thank you. When I run it on strategy tester still get same error message. My history data is good. I put the EA to the chart and it seems to work without any error messages. Any thoughts what could be the problem? 

 

kanash 

 
kanash264:

Thank you. When I run it on strategy tester still get same error message. My history data is good. I put the EA to the chart and it seems to work without any error messages. Any thoughts what could be the problem? 

 

kanash 

You better write to servicedesk and provide full information. Do not forget to provide a list of parameters you set in strategy tester and attach your EA sources. 

Get in touch with developers using Service Desk!
  • www.mql5.com
We therefore attach great importance to all user reports about issues in our programs and try to answer each one of them.
Reason: