I downloaded script, I compile and fail-error. The code is incomplete!!!
Put this include file into /experts/include/ and write simple script, for example:
#include <MAE_MFE_DrawDowns.mqh>
void start()
{
startCalculate();
}
I added script MAE_MFE_DrawDowns.mq4
Great tool, thanks for your efforts,
Best regards,
would it be possible to describe the steps in English...sorry i don’t read Russian
Rosh,you have a big name here.I respect your soul.
Sorry, we will translate comments ASAP.
Done
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!

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
A Script to Calculate MAE and MFE :
Author: MetaQuotes Software Corp.