This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
Accessing the spread from each tradeBack to topics list |
|
PaulyB
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 |
|
cloudbreaker
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 |
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets
