Important Update for MetaTrader 4 build 1080 - page 5

 
fxsaber:

Use custom ArrayCopy for void* Array[].

Here is my two cents code: it is working for me, i simply added ArrayCopy.mqh to my libraries and include it, when it is fixed in MQL i will just remove it.

#property strict

template <typename T> 
int ArrayCopy( T &destination[],  T &source[], const int dstStartIndex = 0, const int srcStartIndex = 0, const int count = WHOLE_ARRAY ){
  const int srcSize = ArraySize(source);
  const int endCopyIndex = (count==WHOLE_ARRAY) ? ArraySize(source) : count;

  
  ArrayResize(destination, (int)MathAbs(endCopyIndex-srcStartIndex) );
  
  int copied=0;
  for(int i=srcStartIndex; (i<srcSize)&&(i<endCopyIndex); i++ ){
    destination[dstStartIndex+i] = source[i];  
    copied++;
  }
  
  return copied;
}

works when copying to a new destination array, dont use when appending to an existing array, i.e. dstStartIndex > 0

 
Comments that do not relate to this topic, have been moved to "New MetaTrader 4 Platform build 1090".
 
MetaQuotes Software Corp.:

Important Update for MetaTrader 4 build 1080

The MetaTrader 4 platform update will be released on May 12, 2017. We strongly recommend that you install this update.

A month ago, Microsoft released a major update of their operating system Windows 10 Creators Update (version 1703). After installing this update, some users were unable to run MQL4 programs in their terminals. This issue has been fixed in the new MetaTrader 4 platform build 1080. Now, Expert Advisors and indicators will run on charts correctly, while recompilation using the updated MetaEditor is not required.

Support for MetaTrader 4 client terminal versions below 1065 will be discontinued on the 1st of October 2017. Unsupported terminal builds will not be able to connect to new server versions. We strongly recommend that you update your terminals in advance.

The update will be available through the LiveUpdate system.

Isn't that done automatically ? I mean, do we have a choice to keep old version ? I just run a long term strategy and would prefer to keep current version.

Thank you for answer.

 
Hi guyz, would you please email me the original MT4 setup, with no broker's name please anyone
Reason: