Custom Symbol Set Spread...?

 

Repost with photos...

I am using a custom symbol with imported tick data and am testing the spread option where it lets you input your own desired spread number. But for me I have found that no matter what I input in that spread box, either 1 or 100, the results in the backtest do not change. I have the custom symbol selected in the drop menu as well yes.



 
Same issue here, did you find any solution?
 

Try changing the Spread in the Tested Symbol window within the Settings tab of the Tester.


Tested_Symbol

 

You have to set the spread inside the data file.

Instructions here: https://www.youtube.com/watch?v=7be9p3gVZd8

Change the Spread for MT5 Custom Symbols (Important for Testing)
Change the Spread for MT5 Custom Symbols (Important for Testing)
  • 2023.12.01
  • www.youtube.com
*Complete MT5 Programming Course: https://en.bmtrading.de/mt5-masterclass/*Complete MT5 Martingale Class: https://en.bmtrading.de/mt5-martingale-class/*Recom...
 

Changing the contract specifications, has no effect when testing with "Every tick based on real ticks".

This is because the real Ask and Bid quote prices dictate the spread, not the contract specifications.

The spread specified in the contract specifications is used for every other modelling method, except "Every tick based on real ticks".

 
Fernando Carreiro #:

The spread specified in the contract specifications is used for every other modelling method, except "Every tick based on real ticks".

Unless I misunderstood you, that's not exact. The spread used is always coming from data whatever the modelling used.

 
@Alain Verleyen #Unless I misunderstood you, that's not exact. The spread used is always coming from data whatever the modelling used.

No, when using the other modelling methods, it uses the spread defined in contract specifications (in the tester, not the original source), which you can change to whatever you want. If left unchanged as "floating", it will use the underlying spread information in the M1 OHLC data.


 
What if you want to set the spread as an addition to original value? For instance I set 4:

- EURUSD has spread 1 at time and date X; final spread is 5 (1+4)
- EURUSD has spread 14 at time and data Y because of a news; final spread is 18 (14+4)

So the spread should be dynamically calculated based on the orginal spread value and not simply replaced.
 
@Algo Traging #What if you want to set the spread as an addition to original value? ... So the spread should be dynamically calculated based on the orginal spread value and not simply replaced.

You need to create a Custom Symbol with the adjusted tick data to reflect the new spread value as explaining in post #3