Heiken Ashi indicator freezes Strategy Tester

 

Hi

I was wondering if anybody else has the same problem as me. When I create an EA using the Heiken_Ashi indicator in the \MQL5\Indicators\Examples folder my strategy tester freezes and says "waiting for update".

If I try other EA's on the same symbol and time frame everything works fine. Also there is nothing suspicious in the logs that I can see. Even happens with this simple code here...

int handleHeiken;
double heikenClose[], heikenOpen[], heikenHigh[],heikenLow[];


int OnInit()
  {
  
  handleHeiken = iCustom(_Symbol,PERIOD_CURRENT,"Example\\Heiken_Ashi");
  
   return(INIT_SUCCEEDED);
  }
void OnDeinit(const int reason)
  {
   
  }
void OnTick()
  {
   
  }


If I comment out the iCustom line the tester does not freeze.

Any ideas or advise would be appreciated...

For now I think I will have to do the calculations manually in the code  :(

 
Are you using a tester.tpl template ?
 
Alain Verleyen #:
Are you using a tester.tpl template ?
I recently changed my default.tpl but I haven't touched my tester.tpl.
 
Louis Fourie #:
I recently changed my default.tpl but I haven't touched my tester.tpl.
Remove it and try again.
 
Alain Verleyen #:
Remove it and try again.

I removed it but there is no change. I have also tested it with other indicators and they also freeze the strategy tester. It seems like the problem is with the iCustom function.

 
Other indicators functions like the iMA function works normally.
Reason: