Download MetaTrader 5
To add comments, please log in or register
Do you want to order an application? Find out how to obtain the desired result
Forex Trader
114252
Forex Trader 2009.12.01 04:14 

Hello

I have looked far and wide and cannot find where a record of the actual spread for a trade is logged inside MT4. This doesn't matter with fixed spread brokers but it's difficult to actually place a trade and know what the spread is to a decimal point. Looking even 1 min later the spread will have changed. Surely it is stored somewhere inside the MT reporting. Can anyone assist? Thanks

Forex Trader
114252
Forex Trader 2010.01.02 15:14  

Spread is not an "attribute" associated with an order.

In your EA, you would need to calculate the difference between the Ask and Bid price and log it.


CB

/
To add comments, please log in or register