News EA Template without DLL Expert Advisor For MetaTrader4 Platform.
In essence, this is source code (template) of the Expert Advisor that downloads news from the investing.com, written in the MQL4 without the use of DLL. If you were looking for a way to do this in your product for the Market (use of DLL is not allowed there), then this is what you need. Now anyone can implement the feature of working according to the news background — and anyone can do this himself. The template is based on the Urdala News Investing indicator.
For example, it is possible to make the EA to not trade at all during the news release, or make it close all profitable positions before the news release, or make it place pending orders before the news, there are numerous options. I give you a draft — create.
But despite it being only a template, it is fully operational as news background indicator — generates signals, drawn lines.
The code contains this segment
// Here you should list the actions to be performed at the time of the news release and during its validity period
// Here you should specify the action when there is no news on the horizon
Currently, the EA simply generates a comment stating that there is news or there is no news. You can insert the conditions you want to execute during the news events instead of these comments.
Attention! The EA operation requires the following link to be added to trusted URL:
List of variables:
BeforeNewsStop – time in minutes before the news for the EA to pause operation, for example, 5 minutes before the news release. The EA switches to “News time” mode.
AfterNewsStop – time in minutes after the news for the EA to pause operation, for example, 5 minutes after the news release. The EA deactivates the “News time” mode.
NewsLight, NewsMedium, NewsHard – enable downloading weak, medium and strong news.
offset – Time zone (GMT).
NewsSymb – list of all currencies, for which the news should be downloaded. If empty, currencies of the current symbol are used.
DrawLines – draw lines on the chart.
Next – draw only the upcoming news, do not draw the past news.
Signal – alert about the approaching news at the distance of BeforeNewsStop minutes.
1. Copy “News EA Template without DLL.mq4” file to C:/Program Files/MetaTrader4/experts folder
and restart your MetaTrader.
2. Open Navigator/Custom Expert Advisors panel and drag the Expert Advisor named “News EA Template without DLL.mq4” to the
chart of any currency pair.
3. Click On “Enable Automated Trading” On Metatrader Platform
Click to Download: News_EA
Forex Buy and Sell Indicator is better and safe strategy Indicator for Forex trading.
Its very important to understand forex news and market movement.
Please read Installation And User Guide Of “Forex Pips Magnet Indicator” carefully do not skip any single page.
Before using indicators first use it on demo account , keep update yourself and analysis it to use live account (Micro).
Download Now: Forex Buy and Sell Arrow Indicator! Click Here!!
We Dont Lock download link for any kind of subscriptions or social sharing,
but if you like our system then please subscribe and social share from below social sharing button link.