Directory of RSS feeds

RSS feeds in the directory: 2816

Added today: 0

Added yesterday: 0

Business / Finance

MQL5: Write news Advisor

Portal Forex trader 11.06.2019 at 09:52

Forex trading strategies, expert advisors, indicators, video training trade

Dear friends, colleagues Forex traders and programmers — Hello!

Today's lesson will be devoted to the economic calendar, which is installed by default in Metatrader 5. In MQL5 we will learn how to "pull" the news, and also write the EA, using the functions that we will develop.

To create expert Advisor using the MQL5 standard classes through which development happens quickly and efficiently. But how to do it — you will learn from our today's video tutorial!


now, functions are developed and the EA is written. Alas, but to test it in the strategy tester will fail because functions of the economic calendar it is not supported. But you can put the EA on a demo account and watch it work. Let's modify our Advisor for greater flexibility:

Add external parameter "GMTOffset" or calculate it automatically, change the code expert, taking into account this parameter. Add external parameter "StartBeforeNews" (time in minutes) for placing pending orders before news. Modify the appropriate option. Download the source code of the EA

forum Topic

the Previous lessons on MQL5:

MQL5: Write an expert Advisor for MetaTrader 5 on the foreign indicator MQL5: Remodel expert Advisor for MetaTrader 4 on MetaTrader 5 MQL5: How to write a indicator for MetaTrader 5 MQL5: Write multi-currency expert Advisor MQL5: Write Martingale EA on MQL5: Working with orders MQL5: Write the first Advisor MQL5: Create a dashboard MQL5: Write the indicator and the EA on the basis of the Index Correlation MQL5: How to write a script for Metatrader 5

With respect, Sergey aka xbms