Download MetaTrader 5

Get testing result Profit factor, Expected Payoff, Drawdown %, etc

To add comments, please log in or register
zifu wang
636
zifu wang  

Is it possiable to get these value in the ontester() function after testing? can you add this as a feature request?

ChuckM
77
ChuckM  
kwang1:

Is it possiable to get these value in the ontester() function after testing? can you add this as a feature request?

 

I calculate Profit Factor and Expected Payoff in ontester() and write the results out to a file...it works great.  I didn't need the other values.
Documentation on MQL5: Trade Functions / OrderCalcProfit
  • www.mql5.com
Trade Functions / OrderCalcProfit - Documentation on MQL5
zifu wang
636
zifu wang  
ChuckM:
I calculate Profit Factor and Expected Payoff in ontester() and write the results out to a file...it works great.  I didn't need the other values.

yes, we can do that by ourselves, but i think best solution is that we can directly call all these statistical function which should be built-in functions or part of standard library.

Metaquotes guy should develope this as "Tester Classes" ,it's very useful for every one who wanna get the statistical data in MQL5 code.

maximaxx
81
maximaxx  
kwang1:

Metaquotes guy should develope this as "Tester Classes" ,it's very useful for every one who wanna get the statistical data in MQL5 code.

 I'm very intersted about this topic..

IMHO it would be very usefull something like a tester on the fly in the EA's code in order to perform real time statistics... 

I'm an MQL5 newbie, but i'm trying to code something like this, and it will be easier.. 

Something standard, a very powerfull feature that can be a plus for traders but also for the platform's edge vs competitors..

I VOTE YES TO "TESTER CLASSES"! :)  

ChuckM
77
ChuckM  
kwang1:

yes, we can do that by ourselves, but i think best solution is that we can directly call all these statistical function which should be built-in functions or part of standard library.

Metaquotes guy should develope this as "Tester Classes" ,it's very useful for every one who wanna get the statistical data in MQL5 code.

I agree.  This would be very helpful. 

Pawel Wojnarowski
685
Pawel Wojnarowski  

I also agree, however I have requested such a feature many months ago and have been told to use my own custom calculations in OnTester event handler.

 

Nevertheless, I am also keen to see "tester classes" or any other implementation that might be of use. 

To add comments, please log in or register