Lot number for order send and order close
Hi,
Would like to ask, is there anyone encountered invalid lot number for OrderClose function() ?
I'm trying to play around with the EA, a very simple EA.
The lot I had initially is 0.1 when executing order send. Then when I tried to loop through all the order, all order lots is 0.
Here is my code:
It keeps on alert me the order lots is 0.
When I changed the lot number from 0.1 to 1, it able to alert me the correct number.
I was wondering what can actually cause this? I was testing on EUR-USD.
Hi,
Would like to ask, is there anyone encountered invalid lot number for OrderClose function() ?
I'm trying to play around with the EA, a very simple EA.
The lot I had initially is 0.1 when executing order send. Then when I tried to loop through all the order, all order lots is 0.
Hi,
Would like to ask, is there anyone encountered invalid lot number for OrderClose function() ?
I'm trying to play around with the EA, a very simple EA.
The lot I had initially is 0.1 when executing order send. Then when I tried to loop through all the order, all order lots is 0.
Here is my code:
It keeps on alert me the order lots is 0.
When I changed the lot number from 0.1 to 1, it able to alert me the correct number.
I was wondering what can actually cause this? I was testing on EUR-USD.