거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
Experts

News EA Template Without DLL From 2 Sources - MetaTrader 4용 expert

조회수:
28905
평가:
(45)
게시됨:
2017.09.25 15:19
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

This is a continuation of the source code elaboration “The template of Expert Advisor for working with news”. The functions included in this template use two news sources - Investing.com and Dailyfx.com. The template doesn’t use DLL.

The Advisor can distinguish between weak, medium, and strong news, as well as apart for Non-farm Payrolls. There is the parameter of a time indentation for each news type, at a time when the script will give a signal about upcoming or past news.

Using this template, you can also invert its work, and then the Advisor will work either only on the newlines or directly before the release of Non-farm Payrolls. If at one point there is a lot of news, then the Advisor takes into account the strongest.

This version of the template provides a concrete example of how you can use it in your trading. This template already has a simple trading function ManageTrade (), which you can change and realize your desires. The logic of working in the template is simple - taking into account the settings, it checks the presence of news, if there is news then the trading is stopped within the time specified in the settings.

For more trading functions visit the following URL:

if(IsTradeAllowed() && trade)
     {// No news and Trade Allowed
      ManageTrade(); // Your trade functions
     }
Attention! To work with this Expert Advisor you must add it to the trusted URL http://www.dailyfx.com/ and http://ec.forexprostools.com/


Settings:

  • SourceNews – Choose news source.
  • LowNews – Activate weak news.
  • LowIndentBefore – The indent before a weak news release.
  • LowIndentAfter - The indent after a weak news release.
  • MidleNews - Activate medium news.
  • MidleIndentBefore - The indent before a medium news release.
  • MidleIndentAfter - The indent after a medium news release.
  • HighNews - Activate strong news.
  • HighIndentBefore - The indent before a strong news release.
  • HighIndentAfter - The indent after a strong news release.
  • NFPNews - Activate news of Non-farm Payrolls.
  • NFPIndentBefore - The indent before a news release of Non-farm Payrolls.
  • NFPIndentAfter - The indent after a news release of Non-farm Payrolls.
  • DrawNewsLines - Activate to show the news lines on the chart.
  • LowColor – The color of weak news.
  • MidleColor - The color of medium news.
  • HighColor - The color of strong news.
  • LineWidth – The line width.
  • LineStyle - The line style.
  • OnlySymbolNews - Set it to "true" to display news only for selected symbol or "false" to show all.
  • Your Time Zone, GMT (for news) - Time zone (GMT).

I want to remind again, this is a template that is designed to develop your own Advisor.

If you can’t figure out how to insert required functions, please contact me, help is close.

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/19138

Consecutive Candles with Stochastic Filter Indicator Consecutive Candles with Stochastic Filter Indicator

Shows when two or three consecutive bull or bear candles of a certain size print after qualifying the stochastic level of the initial candle in the series. New in version 3 /* Changelog 2-4-19 Added 50% line to indicator box - Ignored changing the indicator lines individually since mql does not have a built-in language convention to create this change would require too much additional research and effort. Fixed error with the DodgerBlue lines not showing, the problem was due to using DodgerBlue instead of clrDodgerBlue in the code to indicate color, should be fixed now. */

Simpler Trend Simpler Trend

Get a grasp of the current trend by candle colors.

Simple Regression Channel Simple Regression Channel

As simple Regression Channel code for MetaTrader 4.

Previous Candle Hi-Lo Previous Candle Hi-Lo

Previous Candle Hi-Lo is used to check the last candle multi-timeframe position relative to the current price.