by tickstory » Fri May 20, 2016 11:47 pm
Hi Bendx77,
Thanks for the feedback. Do you have the original link that is turning up? If it's on our side we'll update the relevant information.
Regarding your question, the spread is a value that is embedded within the MT4 data file. 'Extra padding' will add this value onto this spread value. Internally, this spread value is then effectively added to the Bid to get the Ask price. So MT4 will calculate the Ask as follows:
Ask = Bid + (Spread + Padding)
As far as your EA calcuations go, you don't need to do anything special. You can just continue to do the typical "Spread = Bid-Ask" to work out the spread. Obviously the spread that is returned will be the variable spread value plus and padding you have added.
Hope this answers your question.