Strategy Tester - Spread. Optimization results useless without spread?

 

Hello.

 Is it possible to use spreads during optimization/backtesting? 

 I can see that the spreads are loaded in historical data when watching the visualization but the strategy tester doesnt consider the spread. 

 
Amion:

Hello.

 Is it possible to use spreads during optimization/backtesting? 

 I can see that the spreads are loaded in historical data when watching the visualization but the strategy tester doesnt consider the spread. 

How do you know this ?  where does it get it's Bid and Ask prices from ?
 

Is mt5 using a spread of 0 for backtests or not? simple question

 
Amion:

Is mt5 using a spread of 0 for backtests or not? simple question

No,  it uses the Bid and Ask from the M1 data.
 
and there is also random spread and delay too right?
 

to make it clear... we are talking about backtesting on metaquotes demo server right?

 so does mt5 use bid and ask from m1 also when im connected to my broker? 

 
doshur:
and there is also random spread and delay too right?
Random delay only. I am not aware of any settings about spread.
 
Amion:

to make it clear... we are talking about backtesting on metaquotes demo server right?

 so does mt5 use bid and ask from m1 also when im connected to my broker? 

Yes,  of course,  where else would it come from ?