spread purchase costs (Mql5)

 

Hi

What is function in MQL5 for "spread purchase costs"!

This is funcion of Ask-Bid price and LotVolume and Leverage I think.......

How will look this in MQL5 code?

THANKS for info!

Reason: