Because the first parameter for MarketInfo is a string, and the second parameter is an integer of MarketInfo's identifier.
You must RTFM. The use of NULL,0 for current Pair/Current TF is allowed for some calls. Where in MarketInfo do you see that is allowed?
digits = MarketInfo(Symbol(),MODE_DIGITS);

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
Shall i use NULL instead of Currency name?
I tried as NULL instead of EURUSD,but results are "0"?