Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

News EA template without DLL - MetaTrader 4 Expert | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 3 reads | 0 comments |

News EA Template without DLL - expert for MetaTrader 4

Essentially, this is the source code (template) of the Expert Advisor for downloading news from investing.com, written in MQL4 without using DLL. If you are looking for a way to do this in your market product (where DLLs are not allowed), then this is what you need. Now anyone can implement the functionality to work with a news context—and anyone can do it themselves. This template is based on the Udala News Investment Indicators.

For example, you can have the EA not trade at all during the news release, or close all profitable positions before the news is released, or place orders before the news is released, there are many options. I'll give you a draft - Create.

But even though it's just a template, it fully functions as a news background indicator - generating signals, drawing lines.

News EA Template without DLL - expert for MetaTrader 4

suggestion:

The code contains this section

 if (view news > 0 )
    {
// Comments on the operations to be performed when the news is released and within its validity period should be listed here ( "News Time" );

        } other {
// Here you should specify the operation comment when no message appears ( "no message" );

    }

Currently, EA just generates a comment indicating that there is news or there is no news. Instead of these comments, you can insert conditions to be executed during news events.

attention! EA operation requires adding the following link to the trusted URL:

http://ec.forexprostools.com/?columns=exc_currency,exc_importance&importance=1,2,3&calType=week&timeZone=15&lang=1

Variable list:

If you are unable to plug the required functionality into your EA, please contact me.


Attachment download

📎 news_ea.mq4 (9.12 KB)

Source: MQL5 #16308

Verification code Refresh