Download MetaTrader 5
To add comments, please log in or register
Ask your broker to open the official channel. Thousands of traders will read the news!
Carl Schreiber
5927
Carl Schreiber 2014.04.04 11:28 

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 2014.04.04 12:54  
DoubleToStr( TesterStatistics(STAT_SHARPE_RATIO) ,12)
12?? o.O OMG ...
Carl Schreiber
5927
Carl Schreiber 2014.04.04 13:36  
deysmacro:
12?? o.O OMG ...

uups, I was using DoubleToString:

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