MQL5 Programming for Traders – Source Codes from the Book. Part 4 – EA MetaTrader 5

Built-in MQL5 functions
Part 4. Common MQL5 APIs In the previous sections of the book, we delved into the basics of the MQL5 programming language and studied its syntax, rules of use, and key concepts. However, to write real-life programs employing data processing and automated trading, you should use many built-in functions to interact with the MetaTrader 5 … Read more

MQL5 Programming for Traders – Source Codes from the Book. Part 5 – EA MetaTrader 5

Application programs in MQL5
Part 5. Creating application programs in MQL5 In “Part 5. Creating application programs” of the MQL5 Programming for Traders book, we’ll delve deeper into the APIs associated with algorithmic trading, including financial data analysis and processing, chart visualization, automation, and user interactions. We will start with the general principles of creating MQL programs and will … Read more

MQL5 Programming for Traders – Source Codes from the Book. Part 6 – EA MetaTrader 5

Trading automation
Part 6. Trading automation In “Part 6. Trading automation” of the “MQL5 Programming for Traders”, we will study a key component of the MQL5 language. We will start with a description of the fundamental entities, such as financial instrument specifications and trading account settings. These are prerequisites for creating properly operating Expert Advisors. Then we … Read more

MQL5 Programming for Traders – Source Codes from the Book. Part 7 – EA MetaTrader 5

Advanced MQL5 tools
Part 7. Advanced MQL5 tools “Part 7. Advanced MQL5 tools” of the “MQL5 Programming for Traders” book discusses the advanced capabilities of the MQL5 API, which will be useful when developing programs for MetaTrader 5. These include custom financial symbols, built-in economic calendar events, and general-purpose technologies such as networking, databases, and cryptography. This part … Read more

Connect Disconnect Sound Alert – EA MetaTrader 5

Connect Disconnect Sound Alert - expert for MetaTrader 5
This utility is simple example to add sound alert on connect / disconnect Add sounds wav files inside MQL5FilesSounds folder Copy the code and compile the EA Utility, the attached file has commented lines as using of #resource makes uploading impossible //+——————————————————————+ //|                               Connect_Disconnect_Sound_Alert.mq5 | //|                                Copyright 2024, Rajesh Kumar Nait | //|                  https://www.mql5.com/en/users/rajeshnait/seller | //+——————————————————————+ #property … Read more

Indices Testing – EA MetaTrader 5

Indices Testing - expert for MetaTrader 5
The EA only trades buy positions and does not use SL and TP. Settings: “———- General ———-“ Commentar Start trade End trade Prder is closed  “———- Risk- and Moneymanagement ———-“ Lots Limit of open positions for each symbol Daily limit for the number of deals for every symbol Test was carried out with standard settings. … Read more