Problem Getting Lot size

[Deleted]  

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?

 
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"

[Deleted]  
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.
This website uses cookies. Learn more about our Cookies Policy.