Check out this free MT5 tool that creates a custom backtest report and includes some of the key metrics MT5 leaves out on purpose.
Trying to backtest multiple custom indicator variations at once 1 reply
Visually backtest custom indicators? 4 replies
Cross-period custom indicator returning incorrect values during backtest 6 replies
Visual backtest result different from non-visual backtest 0 replies
DislikedLooks great, but when I run a backtest and then run the script "Backtest Performance Report", I get the following error in Experts Tab: Error: Cannot open input file MQL5\Files\backtest.html Error code: 5004 When I select File/Open Data Folder and navigate to MQL\Files, I can clearly see the file "backtest.html" I have the following files in MQL\Files directory: backtest.html backtest.png backtest-holding.png backtest-hst.png backtest-mfemae.png testergraph.csv I wonder if anyone else is having this problem.Ignored
DislikedOh, I see what you've done. When I watch your video around the 2min:18sec mark, you have got the files in the following path: MQL5\Files\MQL5\Files So, I have now created another 2 subfolders shown above and it finally works. You somehow must have copied the path twice in your code. And guess what? IT ACTUALLY WORKS! What a find that was!!! Probably saved you a lot of time there LOL :-) It looks great. You little Ripper!!!!Ignored
DislikedMichael, From your Backtest Performance Report, in the Monthly Performance Table, I notice you calculate the Monthly Percentage the following way: Monthly Profit / Initial Starting Balance. If the EA your testing increases the lot size as time goes on, then the results are going to be significantly skewed in favor of much higher meaningless percentages. I think the Monthly/Yearly Percent should be calculated the following way: Monthly Profit / Balance previous Month. And Yearly Profit / Balance previous Year. I think that's how MT5 calculates it...Ignored
Disliked{quote} I have also fixed up the way the code is calculating monthly performance in the table. It now checks the equity value at the beginning of the month and divides the net profit by this amount after adjusting for deposits or withdrawals. For the yearly total, it is the cumulative return, which is not simply summing the 12 months. The cumulative return for the year takes compounding into effect.Ignored
DislikedI have made a number of improvements to the Backtest Report Generator. I have added a score and some alert warnings. {image} {image} {image}Ignored