Bahman Asgarov:
Can anyone explain me how to find contract size programmatically?
Like the one which is on MT4 contract specification...
Market Watch -> Right Click -> Specification -> Contract size -- 100,000 (for ex, for EURUSD=100,000, for Bitcoin it is 1, for XAUUSD=100, and so on)
It is used in formula for calculating pips, lots, etc...
is there any MQL4 function to find the contract size?
Thanks in advance...
Regards
Bahman
Thanks, I have already found it in another message:
double dLotSize = MarketInfo(Symbol(), MODE_LOTSIZE);

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
Can anyone explain me how to find contract size programmatically?
Like the one which is on MT4 contract specification...
Market Watch -> Right Click -> Specification -> Contract size -- 100,000 (for ex, for EURUSD=100,000, for Bitcoin it is 1, for XAUUSD=100, and so on)
It is used in formula for calculating pips, lots, etc...
is there any MQL4 function to find the contract size?
Thanks in advance...
Regards
Bahman