Download MetaTrader 5

OnTester(): How to obtain the passes/optimized EA parameters?

To add comments, please log in or register
Do you want to know about the MQL5.community development? Have a look at the Wall!
stargazer
152
stargazer 2011.11.05 18:35 

Is there a way to do this?

I looked thru the  TesterStatistics(), but i cant find any way for it to obtain the EA parameters. The can do obtain, for eg.

STAT_INITIAL_DEPOSIT

The value of the initial deposit

double

STAT_WITHDRAWAL

Money withdrawn from an account

double

STAT_PROFIT

Net profit after testing, the sum of STAT_GROSS_PROFIT and STAT_GROSS_LOSS (STAT_GROSS_LOSS is always less than or equal to zero)

double

STAT_GROSS_PROFIT


but not the EA parameters, that pass....any advice?

FXLife888
77
FXLife888 2011.11.20 15:28  
you question is wrong!
FXLife888
77
FXLife888 2011.11.20 15:29  
EA parameters is constant when starting
To add comments, please log in or register