Download MetaTrader 5

OnTester() and TesterStatistics()

To add comments, please log in or register
Carl Schreiber
6689
Carl Schreiber  

Hi,

it seems that TesterStatistics() is working now (b628).

While e.g. STAT_RECOVERY_FACTOR give a correct value the STAT_SHARPE_RATIO seems to be always 0.00000000

double OnTester()  {
//---   
   Print("  Sharp Ratio: ",DoubleToStr( TesterStatistics(STAT_SHARPE_RATIO) ,12));
}

Is the result just my EA or can s.o. else confirm that?

Gooly

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI  
DoubleToStr( TesterStatistics(STAT_SHARPE_RATIO) ,12)
12?? o.O OMG ...
Carl Schreiber
6689
Carl Schreiber  
deysmacro:
12?? o.O OMG ...

uups, I was using DoubleToString:

DoubleToString( TesterStatistics(STAT_SHARPE_RATIO) ,12)
To add comments, please log in or register