MQL4 Operations and Expressions

Overview

Operation symbols and punctuation marks are essential for constructing expressions in MQL4. They serve to separate language elements and define operations.

Key Concepts

  • **Operation Symbols:** Characters and sequences with special meaning (e.g., +, -, *, /, % for arithmetic; &&, || for logical; =, +=, *= for assignment).
  • **Punctuation Marks:** Used for structure and separation (e.g., parentheses (), braces {}, comma ,, colon :, semicolon ;).
  • **Separation:** Operation symbols, punctuation, and spaces are used to distinguish language elements.
  • Related Topics

  • [Expressions](/basis/operations/operexpression)
  • [Arithmetic Operations](/basis/operations/mathoperation)
  • [Assignment Operations](/basis/operations/assign)
  • [Operations of Relation](/basis/operations/relation)
  • [Boolean Operations](/basis/operations/bool)
  • [Bitwise Operations](/basis/operations/bit)
  • [Other Operations](/basis/operations/other)
  • [Precedence Rules](/basis/operations/rules)
  • Navigation

  • **Previous:** [Modifier & Keyword this](/basis/types/this)
  • **Next:** [Expressions](/basis/operations/operexpression)
  • Resources

  • [MQL4 Help (English CHM)](https://www.mql5.com/files/docs/mql4.chm)
  • [MQL4 Help (Russian CHM)](https://www.mql5.com/files/docs/mql4_russian.chm)