Problem with lot size in OrderSend
Your account with your broker might not except mini (0.10) or micro (0.01) lots, only standard (1.00). You can see the max and min lot size by MarketInfo(Symbol(), MODE_MINLOT) or MarketInfo(Symbol(), MODE_MAXLOT). Also the lot size...MarketInfo(currentSymbol, MODE_LOTSIZE).
Thanks. I also discovered that specifying .01 lots will result in 1 lot, whereas 0.01, with the explicit 0 added to the left, gets me the correct lot size, when I do the OrderSend.
I've been trying to specify a lot size of 0.1 or 0.01 in the Volume argument of the OrderSend function, but what actually gets sent is always a lot size of 1.0. I've tried changing the "Size by default" option in the Trade tab of the Options dialog, but the problem continues. Any suggestions?
Thanks.
D