Strategy Tester - Memory Leak!!

 

Hi,

 

I have an EA which uses a custom indicator. When I attach the EA directly to a chart it works perfect.

 

When I attempt to run the EA through the strategy tester I get the following:

 

2010.12.17 14:50:57 Core 1 connect closed

2010.12.17 14:50:57 Core 1 log file "C:\Program Files\MetaTrader 5\Tester\Agent-127.0.0.1-3000\logs\20101217.log" written

2010.12.17 14:50:57 Core 1 2010.01.01 00:00:00   34000 bytes of leaked memory

2010.12.17 14:50:57 Core 1 EURGBP,H1: 0 ticks (0 bars) generated within 0 ms (total bars in history 6000, total time 156 ms)

2010.12.17 14:50:57 Core 1 OnTester result 0

2010.12.17 14:50:57 Core 1 2010.01.01 00:00:00   Alert: --------- OnInit End ---------

2010.12.17 14:50:57 Core 1 2010.01.01 00:00:00   Alert: OnInit: barVal[1] date time is 2009.12.31 17:00:00

2010.12.17 14:50:57 Core 1 2010.01.01 00:00:00   Alert: updateIndicatorVal: Error - Copying ATR History to atrVal4806!

2010.12.17 14:50:57 Core 1 2010.01.01 00:00:00   Alert: updateBarVal: barVal[0]=0.88737,barVal[1]=0.8864,barVal[2]=0.8883

2010.12.17 14:50:57 Core 1 2010.01.01 00:00:00   Expert removed because indicator 43 cannot load [4802]

2010.12.17 14:50:57 Core 1 loading of T1 EURGBP,H1 failed


 

 

This is driving me crazy..as I had it all working via the strategy tester previously. Just come back from holiday and not working -  SOMEONE PLEASE HELP.

 

Thanks 

 

Found it. 

 

All I did was place at the top of my EA.

 #property tester_indicator "T1.ex5" 

 Seems like as the StrategyTester uses the compiled version of the .mq5 i.e. .ex5 this need to be referenced within the EA.  

 

Ok - Breakdown over. 

 Thanks