OAuth authentication
To use the MQL API with OAuth authentication:
The application must have an account.
The account's role must have permission to access the API.
API access is authenticated with OAuth. To use OAuth, the application must first obtain an OAuth access token, by requesting one for the application's client ID and secret.