Tarea técnica
0. I need a News Expert Advisor (NEA1) that can enable/disable another Running Expert Advisor (REA2) on the MetaTrader 4 (MT4) based on the news release on https://www.forexfactory.com/calendar.php (NEWS).
1. I have the REA2 on the MT4 on several charts, such as EUR/USD, GBP/USD, etc. Please see the picture below:
2. On specific date and time on Eastern Standard Time / EST, the NEWS are released and indicated on the ForexFactory.
3. The NEA1 should be able to read these NEWS schedule ahead in the beginning of the week when the forex market is open. The NEWS schedule are usually announced ahead of time for that week.
4. Please look at this picture as an example:
5. Based on the NEWS above, the NEA1 should disable the REA2 for AutoTrading on any currency pairs related to USD currency, such as: EUR/USD, GBP/USD, etc on Tue Oct 30 at 1 hour before 10am
To disable REA2, the NEA1 should do it from the following dialog box by unchecking the Allow Live Trading on the REA2:
Notice that MT4 AutoTrading button on the menubar is still running for the other REA2 running perfectly.
But the EUR/USD and GBP/USD are not running because of the NEWS.
6. Then the NEA1 should enable the REA2 for AutoTrading on any currency pairs related to USD currency (which have been disabled before) on Tue Oct 30 at 1 hour after 10am
7. The NEA1 should be able to run on any pair any timeframe, for example EUR/USD 1 hour timeframe
8. The input should be the same as listed at the filter at https://www.forexfactory.com/calendar.php
9. Here is what the input looks like at that website:
10. The output should be in the form of MQ4 source code file.
If you have any question, please send me a message.