Setting a fixed spread for testing

 
I want to run a backtest and an optimization test, but I need to set a fixed spread for testing in MT5. Does anyone know where to set it?
 
Roberlán Rodríguez:
I want to run a backtest and an optimization test, but I need to set a fixed spread for testing in MT5. Does anyone know where to set it?

You can't put a fixed spread in the MT5 strategy tester, because it uses the real variable spread of the broker you are currently logged into.

You could use a broker that has a fixed spread on the symbol that you want to test, some do advertise a fixed spread for some symbols.