'Real' drawdown figure. Help needed - page 3

 
Can't get the script to run. There are no instructions on how to run this.
 
Mike Kleinsteuber: Can't get the script to run. There are no instructions on how to run this.

Put the "MAE_MFE_DrawDowns.mqh" file in the "Include" directory, and the "MAE_MFE_DrawDowns.mq4" in the "Scripts" directory.

Compile and then drag the script from the "Scripts" folder in the Navigator, onto a Chart (any chart).

Just make sure you have M1 data for the trading period for the symbols traded before you do this. Just open M1 charts for those symbols and scroll to the being for the broker data to be downloaded.

Then take a look at the log in the "Experts" tabs and you will have a line of text there like so:

2021.05.02 10:43:39.068 MAE_MFE_DrawDowns WTI,M1: AbsDD=0.4599999999991269 MoneyDrawDown=0.4599999999991269  MoneyDrawDownInPercent=0.004599999999991269  RelativeDrawDown=0.004599999999991269 RelativeDrawDownInMoney=0.4599999999991269
 
Fernando Carreiro:

Put the "MAE_MFE_DrawDowns.mqh" file in the "Include" directory, and the "MAE_MFE_DrawDowns.mq4" in the "Scripts" directory.

Compile and then drag the script from the "Scripts" folder in the Navigator, onto a Chart (any chart).

Just make sure you have M1 data for the trading period for the symbols traded before you do this. Just open M1 charts for those symbols and scroll to the being for the broker data to be downloaded.

Then take a look at the log in the "Experts" tabs and you will have a line of text there like so:

Thanks. I get an error: Found errors of M1 gaps in available history......

 
Mike Kleinsteuber: Thanks. I get an error: Found errors of M1 gaps in available history......
That means that your broker data is not of good quality and has missing gaps present!
 
OK, it's been live the whole time and it's ICM so should be OK. And I've downloaded it just to make sure.
 
Mike Kleinsteuber: OK, it's been live the whole time and it's ICM so should be OK. And I've downloaded it just to make sure.

No, its not OK! Just because it has been live the whole time and just because its XYZ broker, does not guarantee that its OK! There is definitely missing M1 data.

For example, lets say that you have been trading for 2 years using H1 Charts. Then obviously there is 2 years worth of H1 data on your machine (provided the bar count limit of the charts is big enough).

Lets also suppose that during all this you have only occasionally consulted the M1 charts. Now two years on you open an M1 chart and scroll all the way back, but the broker only offers 3 months worth of M1 data.

That means that, for those 2 years you have 1 year and 9 months missing M1 data, or in very most several gaps for that range.

Therefore MFE/MAE script is unable to properly calculate its metrics for you and gives you the error of gaps in the M1 data!

 
Fernando Carreiro:

No, its not OK! Just because it has been live the whole time and just because its XYZ broker, does not guarantee that its OK! There is definitely missing M1 data.

For example, lets say that you have been trading for 2 years using H1 Charts. Then obviously there is 2 years worth of H1 data on your machine (provided the bar count limit of the charts is big enough).

Lets also suppose that during all this you have only occasionally consulted the M1 charts. Now two years on you open an M1 chart and scroll all the way back, but the broker only offers 3 months worth of M1 data.

That means that, for those 2 years you have 1 year and 9 months missing M1 data, or in very most several gaps for that range.

Therefore MFE/MAE scrit is unable to properly calculate its metrics for you and gives you the error of gaps in the M1 data!

OK, understood. So what in your opinion is the best solution to fill the gaps ?

 
Mike Kleinsteuber: OK, understood. So what in your opinion is the best solution to fill the gaps ?

The only way to fill it is with 3rd party M1 data!

Alternatively, use the MQL5 Signal solution or the MyFXBook solution to obtain MFE/MAE metrics.

 
Fernando Carreiro:

The only way to fill it is with 3rd party M1 data!

Alternatively, use the MQL5 Signal solution or the MyFXBook solution to obtain MFE/MAE metrics.

OK, thanks for all the help

Reason: