1

Topic: Question about R-Squared

Dear Mr. Popov,

The addition of R-Squared is a great improvement. However I have noticed many times weird (non linear) balance lines with very high r-squared values.

The following image illustrates it very well. The below strategy is clearly more linear than the one above it and has a lower r-squared value


https://i.postimg.cc/QHyKtySb/Screenshot-1-17-2019-8-15-33-PM.png

Is this a normal behavior? Is there a way to make EAS filter-out the strategies that have such stepped appearance?

Thank you in advance for your help.

Best regards,

mw

2 (edited by geektrader 2019-01-17 23:06:59)

Re: Question about R-Squared

Yes, I also think there is still something wrong with the R-Squared implementation in EA Studio. Especially strategies with very long duration trades seem to get a much higher R-Squared value, even if their curves look completely "bad" and the first one in your example surely should not have a higher R-Squared than the second one. I am sure the R-Squared formula itself in EA Studio is fine, but that there is a bug of how EA Studio counts / "forwards" the data points to the R-Squared formula.

Mr. Popov?

Re: Question about R-Squared

I  fixed some issues with the formula and it covers better some special cases now.

Here is an example of comparison of the EA Studio calculations and an online statistics calculator.

https://image-holder.forexsb.com/store/eas-compare-r-squared-thumb.png

4

Re: Question about R-Squared

Thank you very much for your outstanding effort Mr. Popov. Will reload my instances and give them a try.

Best regards,

mw

Re: Question about R-Squared

Great work! Thank you!