Max_Volume = MarketInfo(Symbol(),MODE_MAXLOT)
Min_Volume = MarketInfo(Symbol(),MODE_MINLOT)
Differs from broker to broker.
kennyhubbard:
Thanks much.
Max_Volume = MarketInfo(Symbol(),MODE_MAXLOT)
Min_Volume = MarketInfo(Symbol(),MODE_MINLOT)
Differs from broker to broker.
There's also the lot step size:
MODE_LOTSTEP | 24 | Step for changing lots. |
Very informative, thank you all, Helmut

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
B"H
Hello,
What are the limitations on the volume of an opened order? (i.e. the "volume" argument of the "OrderSend" function)
Thanks,
Yan