MetaTrader 4 Build 529 beta released with new compiler - page 79

 

Can you tell me where MetaEditor templates are now, in the 509 build they were stored in MT4\experts\templates, now I can't find them anywhere at all. I need to change the Expert Advisor template.

 

The new help says:

ArrayMaximum

Searches for maximal element in one-dimensional numeric array.

int ArrayMaximum(
const void& array[], // array to search
int start=0, // from which index we start search
int count=WHOLE_ARRAY // number of checked
)

In the editor:

In the 509th help:

Parameters:
array[] - Numeric array to search in.
count - Number of elements to search.
start - The start index for the search.


In the new help the last two parameters are reversed.

 
Can I download the latest available beta version from the MQ website or do I have to download an older version and update it?
 
Please tell me, what is the problem with decompilation when applying the build with the new compiler? Is it no longer necessary to write additional dlls to bypass the decompilers. Thank you.
 
Profit777:
Please tell me, what is the problem with decompilation when applying the build with the new compiler? Is it no longer necessary to write additional dlls to bypass the decompilers. Thanks.

We all hope that decompilation will be a thing of the past ....
 
Profit777:
Please tell me, what is the problem with decompilation when applying the build with the new compiler? Is it no longer necessary to write additional dlls to bypass the decompilers. Thanks.

+1, very interesting question regarding protection, will it really become very strong and impossible to break it with the decompiler
 
It is always possible to break in with any kind of protection. The main thing is that the original will be much harder to recover.
 

Tell me why examples like these from the help don't work.

void OnStart()
  {
//--- выведем всю информацию, доступную из функции AccountInfoInteger()
   printf("ACCOUNT_LOGIN =  %d",AccountInfoInteger(ACCOUNT_LOGIN));
   printf("ACCOUNT_LEVERAGE =  %d",AccountInfoInteger(ACCOUNT_LEVERAGE));
   bool thisAccountTradeAllowed=AccountInfoInteger(ACCOUNT_TRADE_ALLOWED);
   bool EATradeAllowed=AccountInfoInteger(ACCOUNT_TRADE_EXPERT);
   ENUM_ACCOUNT_TRADE_MODE tradeMode=(ENUM_ACCOUNT_TRADE_MODE)AccountInfoInteger(ACCOUNT_TRADE_MODE);
   ENUM_ACCOUNT_STOPOUT_MODE stopOutMode=(ENUM_ACCOUNT_STOPOUT_MODE)AccountInfoInteger(ACCOUNT_MARGIN_SO_MODE);
 
//--- сообщим о возможности совершения торговых операций
   if(thisAccountTradeAllowed)
      Print("Торговля для данного счета разрешена");
   else
      Print("Торговля для данного счета запрещена!");
 
//--- выясним - можно ли торговать на данном счету экспертами
   if(EATradeAllowed)
      Print("Торговля советниками для данного счета разрешена");
   else
      Print("Торговля советниками для данного счета запрещена!");
 
//--- выясним тип счета
   switch(tradeMode)
     {
      case(ACCOUNT_TRADE_MODE_DEMO):
         Print("Это демо счет");
         break;
      case(ACCOUNT_TRADE_MODE_CONTEST):
         Print("Это конкурсный счет");
         break;
      default:Print("Это реальный счет!");
     }
 
//--- выясним режим задания уровня StopOut
   switch(stopOutMode)
     {
      case(ACCOUNT_STOPOUT_MODE_PERCENT):
         Print("Уровень StopOut задается в процентах");
         break;
      default:Print("Уровень StopOut задается в денежном выражении");
     }
  }
 
will they not implement it this time too?
Zhunko:
It is always possible to break in with any kind of protection. The main thing is that the original will be much harder to recover.
 
VOLDEMAR:

Tell me why these examples from the help do not work?


Because the reference book is taken from the mt5 product and the data from mt4 is added

The reference book is probably normalized for mql4++ ME 875

Reason: