Problem Getting Lot size

 

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"

 
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.