RSS feeds in the directory: 2818
Added today: 0
Added yesterday: 0
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
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
Overview of trading ideas in major currency pairs on 11.06.2019 10.06.2019 at 22:24
Graphical analysis of the major currency pairs on 10.06.2019 09.06.2019 at 20:06
Trading forecasts and ideas on 7.06.2019 06.06.2019 at 21:00
Mid-term review of exchange rates on 6.06.2019 05.06.2019 at 21:40
Forecast the movement of currency pairs on 5.06.2019 04.06.2019 at 22:10
Relevant trade ideas on 4.06.2019 03.06.2019 at 22:12
Chips money management to disperse the Deposit 03.06.2019 at 12:23
Daily review Forex 3.06.2019 02.06.2019 at 18:17
The situation on the Forex market on 31.05.2019 30.05.2019 at 22:09
Analysis Forex market on 30.05.2019 29.05.2019 at 22:04