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:
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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!