Broker API HubMenu

MetaTrader 4 functions

28 documented functions of the MQL4, grouped by what they do. Each has its signature, arguments, return value and the source it was read from.

Independent and unofficialNewest check

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

These are functions of a programming language, not HTTP endpoints: none has a method, a path or an address. For that reason they are in no OpenAPI file on this site and the request builder does not list them. A function that is not listed is not recorded here, which is not evidence that it does not exist.

Account

5 functions

Finding orders

3 functions

Prices and bars

6 functions

Reading the selected order

9 functions

Sending orders

5 functions
Sections