Download MetaTrader 5

Metatrader 5 sample EAs very short?!

To add comments, please log in or register
nobody
5
nobody  

Hi guys,

Just wondering about the sample EAs in the metatrader 5 platform.  Why are their codes very short?  Like for example ExpertCrossMA's code, it contains only a few lines of code while the sample codes in the articles are so long and detailed? What does these two lines mean:    

      if(!ExtExpert.InitSignal(new CSignalCrossMA)) return(-2);

      if(!ExtExpert.InitMoney(new CMoneyFixedLot))  return(-3);

    

Can someone kindly explain it to me?  I'm just a beginner programmer and I'm trying to study sample codes as my reference.

Thanks in advance!

Pawel Wojnarowski
683
Pawel Wojnarowski  
The code of EA itself is short, but check all the include files referenced in the code. 
To add comments, please log in or register