- GetLastError
- IsStopped
- UninitializeReason
- TerminalInfoInteger
- TerminalInfoDouble
- TerminalInfoString
- MQLInfoInteger
- MQLInfoString
- Symbol
- Period
- Digits
- Point
Symbol
Returns the name of a symbol of the current chart.
string Symbol(); |
Return Value
Value of the _Symbol system variable, which stores the name of the current chart symbol.
Note
Unlike Expert Advisors, indicators and scripts, services are not bound to a specific chart. Therefore, Symbol() returns an empty string ("") for a service.
Example:
//+------------------------------------------------------------------+
|