March 15, 2019

News Hunter Bot MultiDay

This expert is News Hunter Bot OneTime which was more developed by the version.

The adviser exposes the postponed warrants of BuyStop and SellStop before an exit of news at the set distance from the current price.

Date and time of an exit of news is determined in the adviser's parameters for several days ahead. In total it is possible to determine time for 20 news.


Also it is specified in the adviser for what number of minutes before news it is necessary to expose the postponed warrants and through what number of minutes it is necessary to remove not worked postponed warrants.

The adviser can expose a series of the postponed warrants. The number of warrants in a series is specified in parameters. In this case the step with which the postponed warrants are exposed will be equal to a profit.

The adviser distinguishes two-three and five-four-digit quotations. In parameters of value are specified in points (it is the second or fourth sign after a comma).

The adviser works on any tool and with any TF.

Number (Magic) for filtration of the warrants from strangers is specified in parameters of the adviser. It is possible to establish the adviser on different schedules with one tool, but different time. In that case it is necessary to specify various numbers for each schedule. If the tool on schedules different can be not changed number - the confusion will not be.

In the adviser function of check of work on the daily test news set by exit time in hours and minutes is added.

In the code of the program checks on sufficiency of means for exposure of a series of the postponed warrants, on correctness of volumes of warrants, on the number of warrants, on correctness of feet of levels are realized.

Input parameters:

  • ------test news are test news (work only in a tester of strategy!)
  • Test News Release Everyday (ON/OFF) - to include test news every day (yes/no) - only for check of opening of warrants!
  • Time Test News Release Everyday is time of an exit of test news every day (hour: mines)
  • ------start news is an exit of news
  • News Release #1...20 is time of an exit of news (year. month. put hour: mines)
  • ------time settings are settings of time
  • Wait before the news, min is expectation before news (for what number of minutes to expose warrants)
  • Waiting after the news, min is expectation after news (in how many minutes to delete unused warrants)
  • ------position settings are parameters of transactions
  • TakeProfit level (pips) is profit level (in points)
  • StopLoss level (pips) is loss level (in points)
  • Indent from the current price (pips) is a space from the current price for drawing of the first warrants in a series (in points)
  • Number of bets in a series (pairs) is quantity of rates in a series (the number of couples)
  • The size of the bets (lots) is the rate size (quantity of lots for each warrant)
  • Slippage (pips) is slipping (in points)
  • Room Advisor is number of the adviser (magic)
  • Display a comment (ON/OFF) - to output the comment in the top left corner of the schedule (yes/no)
  • ------output settings are exit parameters from a position
  • Trailing StopLoss market orders (ON/OFF) - to move stop behind the price (yes/no)
  • Fixed Trailing size (pips) is the stop size (in points)
  • Trailing step (pips) is a stop step (in points)
  • Trailing only profit (ON/OFF) or - to move stop only after transition of the warrant to profit (yes/no)
  • Trailing up to the level No Loss (ON/OFF) - to move stop behind the price to level without loss (yes/no)
  • Output while lowering below the previous bar - an exit at reduction of price below a minimum of the previous minute bar (yes/no)
  • Output while reducing peak bar - an exit at decrease in a maximum of the closed minute bar below a maximum previous (yes/no)
In drawings the example of control of the adviser and his check in a tester of strategy of the terminal is presented. For an example couple of EURUSD,M5 and news in one last month are taken. News are taken from the economic calendar of the website of MQL5 with the filter of high importance for two currencies - EUR and USD.

ATTENTION! At trade on real news do not forget to switch off the Test News Release Everyday parameter!














Trading Platform: MetaTrader 4
Category: Experts
Author: Aleh Sasonka
Published: 26 July 2018
Current version: 2.35
Buy the 'News Hunter Bot MultiDay' Trading Robot (Expert Advisor) for MetaTrader 4 in MetaTrader Market!

No comments: