Ali: I have written a code and in this part i get this error, Semicolon expected. How should i write this line to avoid this error?
The use of "." in a variable name is no longer allowed in MQL syntax, because it is now part of the Object-oriented Programming syntax.
Identifiers
Identifiers are used as names of variables and functions. The length of the identifier can not exceed 63 characters.
Characters allowed to be written in an identifier: figures 0-9, the Latin uppercase and lowercase letters a-z and A-Z, recognized as different characters, the underscore character (_).The first character can not be a digit.
The identifier must not coincide with reserved word.
Identifiers - Syntax - Language Basics - MQL4 Reference
- docs.mql4.com
Identifiers - Syntax - Language Basics - MQL4 Reference
OK, thanks a lot for your help. I appreciate it.
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
I have written a code and in this part i get this error, Semicolon expected. How should i write this line to avoid this error?