You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The red lines show the drawdowns, you need to find the maximum.
The tester measures the maximal drawdown of equity correctly but it does not take into account the balance state at this moment which makes no sense.
In other words, if the open order went up and then went down by 100 pips, the tester will show a 100 pips drawdown of equity while the real drawdown that logically determines the strategy risk is equal to zero. It is clear that such calculations are useless for estimating the strategy risks.
And why look for the maximum drawdown? What does that tell you?
The tester measures the minimum and maximum drawdown correctly, but it does not take into account the balance state at that moment which makes this measurement nonsense.
That is, if the open order rises and then falls by 100 pips, the tester will show a 100 pips drawdown of equity while the real drawdown that logically determines the strategy risk is equal to zero. It is clear that such calculations are useless for strategy risk estimation.
Please explain where you found such a parameter as minimum drawdown, in which report. I have not come across it. I don't think the balance is worthless for me, I don't care if it is on the ground as long as my equity is good.) Or am I misunderstanding something? It always seemed to me that only pending orders may go down and up. Was I mistaken? If I knew it earlier, I would have started to raise or lower Sell and Buy orders in the direction I was interested in.) I believe the maximum fall of equity found during the test run may repeat itself in real trading; therefore I think it is correct to count it from the maximum.
In general, maximum drawdown is not the difference between maximum and minimum equity. At the start, MaxEquity=Equity, MinEquity=Equity, Drawdown=0. If Equity>MaxEquity, we calculate drawdown as MaxEquity-MinEquity. If the obtained value is higher than the drawdown calculated earlier, we store the higher value and reset minimum - MinEquity=MaxEquity and store new maximum MaxEquity=Equity.
Here's how it worked out for me:
Could you please tweak the code I posted? Thank you.
Didn't really get into it, but at first glance it seems fine, with a new maximum the minimum is reset...
Why look for maximum drawdown? What does that tell you?
Indicates whether the deposit, in case of the most unfortunate circumstance (the EA starts at the moment shown by the green line), will be enough.
I didn't get into it too much, but at first glance it looks fine, with a new maximum the minimum is reset...
pictures here https://www.mql5.com/ru/forum/136747/page696
Advisor opens only 1 trade at a certain time (and does not close it), check the maximum drawdown in the tester - test in visual mode:
1. not until the end of 3 February (press stop earlier)
2. by the end of 3 Feb
pictures here https://www.mql5.com/ru/forum/136747/page698
Advisor opens only 1 trade at a certain time (and does not close it), check the maximum drawdown in the tester - test in visual mode:
1. not until the end of 3 February (press stop earlier)
2. by the end of 3 Feb