Something in Parentheses right before Function

 

Hey everyone,

I came across what appears to be something in parentheses right before a function in the OnTick part of the reference. What does it mean and what is it called? Any help would be appreciated! Example:

(ENUM_ACCOUNT_MARGIN_MODE)AccountInfoInteger(ACCOUNT_MARGIN_MODE)

 
Westie30:

Hey everyone,

I came across what appears to be something in parentheses right before a function in the OnTick part of the reference. What does it mean and what is it called? Any help would be appreciated! Example:

(ENUM_ACCOUNT_MARGIN_MODE)AccountInfoInteger(ACCOUNT_MARGIN_MODE)

There's always a place to find answers - by reading the documents

https://www.mql5.com/en/docs

MQL5 Reference - How to use algorithmic/automated trading language for MetaTrader 5
MQL5 Reference - How to use algorithmic/automated trading language for MetaTrader 5
  • www.mql5.com
MetaQuotes Language 5 (MQL5) is a high-level language designed for developing technical indicators, trading robots and utility applications, which automate financial trading. MQL5 has been developed by MetaQuotes Software Corp. for their trading platform. The language syntax is very close to C++ enabling programmers to develop applications in...