Need to understand how backtester works - page 2

 
 Max = iHigh(Symbol(),PERIOD_H1,iHighest(Symbol(),PERIOD_H1,MODE_HIGH,1,0));
 Min = iLow(Symbol(),PERIOD_H1,iLowest(Symbol(),PERIOD_H1,MODE_HIGH,1,0));

Tester limitation, you can not get bar zero values other than the tester chart TF.

Why use iHighest when the length = 1.

 

Thank youu all for your help.

Didn't know about the limitation WHRoeder, thanks.

In my case, it was an incorrect history file. Now I wonder since when I had that file and how many incorrect backtests I've done...


You can, no doubt, forget this strategy and the beautiful backtest I got in 5min chart.


Anyone knows why history files got corrupted after some time?

 

Let the testing terminal never connect to internet, easiest solutions is to set a fake proxy. this is the only way to get static backtest with always the same spread ecc....

//z

 
zzuegg:

Let the testing terminal never connect to internet, easiest solutions is to set a fake proxy. this is the only way to get static backtest with always the same spread ecc....

//z

very true... this what i do...

but especially over weekend when spread is set /sometimes/ to extremely high values its necessary to reduce it to desired values. otherwise u might be surprised with results on 20pip spread.

Reason: