Searching for script creating more detailed report with more statistics after testing EA - page 3
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
Thanks for uploading this.
Sadly, I cant seem to get any csv file produced and when I compile my EA I get a number of Function warnings such as:Function "MathAvg2DArray" is not referenced and will be removed from exp-file,Function "MathStdev2DArray" is not referenced and will be removed from exp-file etc for a total of 5 functions. Could that be the reason I dont get the csv file ?
Otherwise, after I've added the code from your post above and changed the relevant bits to reflect my EAs name etc, the file compiles fine and the optimisation happens without a hitch.
Any suggestions would be appreciated.
It means the those functions aren't being used. Maybe include them in your report, and the errors will go away. The EA will still work fine, and these are not serious.
I want to add trendline of equity curve according to this article https://www.mql5.com/en/articles/1492
How can I add this can anyone help ?
Sx=Summ{(X-M(X))^2}/N
Sy=Summ{(Y-M(Y))^2}/N
r=cov(X,Y)/(Sx* Sy)
where:
N - amount of trades;
X - Balance;
Y - linear regression;
M(X) - Balance mean value;
M(Y) - LR mean value.
Hi LadyGaga,
https://trade.management offer a free plugin EA that provides weekly stat reports. You can even track individual results for independent strategies/EA's.
Hello,
I tried using the mqh files, and but its not working for me.
I know when MetaQuotes updated MT4 to v600 that we had to start defining FILE_SHARE_READ and FILE_SHARE_WRITE. So I changed everywhere in code where it says FILE_READ to FILE_READ|FILE_SHARE_READ. I also changed everywhere in code where it says FILE_WRITE to FILE_WRITE|FILE_SHARE_WRITE.
I still had 2 errors compiling EA. The cause is IdentifyTradesToIgnore function returns an array instead of an integer in 2 places. I could just return 0 if not enough data elements in data array, but seeing that the function is called without defining a variable when it's called, I don't see a need to use integer for function return type. I decided to just use void and return nothing if not enough elements in data array.
So now it compiles without errors, but I don't get a CSV file when trading, backtesting or optimizing. My hope is to get a line in a CSV file for each optimization pass with more info to judge which settings are best besides using Gain, DD, and Profit Factor. Plus any info on what best metrics to use would be great.
Thanks in advance!
Kindest regards,
Don