Download MetaTrader 5
To add comments, please log in or register
Do you need OpenCL? MQL5 can provide it!
lesliecarr206
22
lesliecarr206 2014.05.01 19:18 

Hi,

Does anyone else have the problem that I have: I try to get the the lot size for EURUSD, using the MarketInfo("EURUSDD", MODE_LOTSIZE) instruction. The value I get returned is 0. Is their another way of getting lot size?

Keith Watford
Moderator
7994
Keith Watford 2014.05.01 19:25  
leslie:

Hi,

Does anyone else have the problem that I have: I try to get the the lot size for EURUSD, using the MarketInfo("EURUSDD", MODE_LOTSIZE) instruction. The value I get returned is 0. Is their another way of getting lot size?


Does your broker add a "D" to the Symbol's names?

"EURUSDD"

lesliecarr206
22
lesliecarr206 2014.05.01 19:36  
GumRai:


Does your broker add a "D" to the Symbol's names?

"EURUSDD"


I think I found what the problem was. I am trading minilots, and using the symbol "EURUSD" instead of "EURUSDm". Making the change in my code, causes it to work now. Thanks.
/
To add comments, please log in or register