@Slawa: Adjusting spread for each tick when backtesting

 
I realize this has come up many times but please consider:

In order for backtesting to be accurate, the spread for each tick needs to match what happened on the real market. Please make the "Ask" and "Bid" variables read/write, or something similar, so that we may adjust them manually during a backtest.

I'm not asking at this point for you to include the spread in the .fxt files, although that would be very helpful. Those of us on this forum have ways of recording the spread for each tick. What we need NOW is the ability to set the spread manually on each pass through the EA. If you could only allow us to code the following

Ask= Bid + 0.0004;



that would be terrific.

Please, please add this feature soon. It's critical to accurate backtesting.

 
Your request is clear, but this is impossible, sorry.
 
OK, I hear you Slawa, but allow me to appeal: I'm a programmer as well and am sure that there is a way to do this. Nothing is impossible ;).

The spread is retrieved from the .fxt file and held in memory. You can't create a SetSpread( string Symbol, double Spread ) function to modify this value on the fly during testing?

Even if it would be alot of work, can you add it to the requested feature list for a future build?

Thanks.
 
This is possible in the future, not in the MT4.
Reason: