CopyBuffer not being stable in several EAs

 

Good morning !

I have a few EAs (same EA) running on different accounts (all real accounts)

Some on them are presenting CopyBuffer error but some are working perfectly.

Since I am using the same EA on the same instrument, how is possible that some EAs present this error and the rest just simply work

This is the structure

   err1=CopyBuffer(iAMA1_handle,0,0,5,iAMA1_buffer);

   if(err1<0)
     {
      Print("Failed to copy data from the indicator buffer or price chart buffer err1");
      SendMail("COPYBUFFER "+IntegerToString(AccountInfoInteger(ACCOUNT_LOGIN)),"COPYBUFFER err1");
      return;
     }

Regards,

MRC

 
YouTrade:

Good morning !

I have a few EAs (same EA) running on different accounts (all real accounts)

Some on them are presenting CopyBuffer error but some are working perfectly.

Since I am using the same EA on the same instrument, how is possible that some EAs present this error and the rest just simply work

This is the structure

Regards,

MRC

What is the error number ? See GetLastError())
 
angevoyageur:
What is the error number ? See GetLastError())
ERR_INDICATOR_DATA_NOT_FOUND

4806
Requested data not found

Reason: