Scripts: A Script to Calculate MAE and MFE

MetaQuotes
Moderator
233781
MetaQuotes  
[Deleted]  

I downloaded script, I compile and fail-error. The code is incomplete!!!

Rashid Umarov
Admin
17396
Rashid Umarov  

Put this include file into /experts/include/ and write simple script, for example:

#include <MAE_MFE_DrawDowns.mqh>

void start()
{
startCalculate();
}

Rashid Umarov
Admin
17396
Rashid Umarov  

I added script MAE_MFE_DrawDowns.mq4

[Deleted]  

Great tool, thanks for your efforts,

Best regards,

247743
20
247743  

would it be possible to describe the steps in English...sorry i don’t read Russian

[Deleted]  

Rosh,you have a big name here.I respect your soul.

Rashid Umarov
Admin
17396
Rashid Umarov  
Sorry, we will translate comments ASAP.
Rashid Umarov
Admin
17396
Rashid Umarov  
Rosh:
Sorry, we will translate comments ASAP.

Done
20023900
3
20023900  
Rosh:

I added script MAE_MFE_DrawDowns.mq4



i get this alert "Found errors of M1 gaps in available history, when checking account - 34. What to do?
lwclasses
7
lwclasses  

I think what is happening in the video is:

He tries to run it then there is an error because he needs 1 minute data, so he downloads the 1 minute data.

Then he tries to run it on a timeframe other than 1 minute, so there is an error there too so he changes to 1 minute time frame.

He tries it again and it works. It output the logs as in the video.

The script does compile, but if you are putting it in an existing script, then you only need to call:

startCalculate();

in the appropriate place. eg in the deinit.

Also follow the instructions, it has to be the .mqh in /experts/include NOT just in /experts!