VHF EA - expert for MetaTrader 5

VHF EA - expert for MetaTrader 5

The EA trades on custom indicator VHF:

Vertical Horizontal Filter (VHF) shows, if there is a trend or a flat.

VHF was first described by Adam White in 1991.

There are three ways of VHF interprtation:

  1. VHF values can be used to measure the prices direction. THe higher is VHF, the more stable is a trend.
  2. VHF movement direction allows to determine, if there is a trend or a flat. VHF growth means the presence of a trend; VHF falling indicates possible flat.
  3. It can be also used as the opposite opinion indicator. If VHF values are high - the probability of a future flat is high; if they are low - a new trend is near. 

For working with the indicator, the following strategy will be applied: The term of Main Sliding window is introduced, i.e., the number of bars, among which the highest and the lowest values of indicator VHF is searched for,   as well as the term of Working Sliding window, i.e., the number of bars, among which the trend state will be identified.



  • Main Sliding window size - size of the main window
  • Working Sliding window size - size of the working window
  • Money management: Lot OR Risk - the position volume calculation type: A fixed lot size of a dynamic one in risk %
  • The value for "Money management" - either lot size or risk %
  • VHF: averaging period - averaging period of the custom indicator
  • Reverse - signal reverse
  • Print log - print all errors
  • magic number - unique EA identifier

Test for EURUSD, H1


Download VHF EA - expert for MetaTrader 5

Related News

Latest News
UK posts small budget surplus as government spending rises before Brexit
21.08.2019 09:15
LONDON, Reuters) - Britain posted a smaller-than-expected budget surplus in July as government expenditure rose, underlining budget constraints on new Prime Minister Boris Johnson as he promises to boost spending ahead of Brexit. The surplus, excluding state-owned banks, stood at 1.319 billion pounds, compared with 3.562 billion pounds in July
Read more
DHL stops deliveries for Amazon Fresh in Germany
21.08.2019 09:12
BERLIN (Reuters) - Deutsche Post DHL (DE:DPWGn) will no longer deliver fresh food in Germany for Amazon (O:AMZN) as demand for the service launched in 2017 has been disappointing, a spokeswoman said on Wednesday. Selling food is a key part of the strategy of the world's top online retailer, especially since it bought the U.S. chain Whole
Read more
Hong Kong protests spread to subway as bank warns of economic fallout
21.08.2019 09:09
By Felix Tam and Alun John HONG KONG (Reuters) - A major bank warned on Wednesday that weeks of protests in Hong Kong could hit the economies of the Chinese-ruled city and mainland China itself as demonstrators prepared a sit-in at a subway and site of a mid-summer mob attack. Hong Kong-based Bank of East Asia Ltd (BEA) posted a 75% slump in
Read more
Porsche invests in Israeli road visibility startup TriEye
21.08.2019 09:06
TEL AVIV (Reuters) - Israel's TriEye, whose short-wave-infra-red sensing technology enables vision in adverse weather and night-time conditions, has expanded its funding round to $19 million with an investment from German sports car manufacturer Porsche (DE:PSHG_p). The amount invested by Porsche was not disclosed. TriEye said on Wednesday
Read more
Exclusive: China's Tianjin government orders Bohai Steel restructuring start by September: sources
21.08.2019 09:03
By Shu Zhang and Muyu Xu SINGAPORE/BEIJING (Reuters) - The government of the Chinese city of Tianjin, the only shareholder of bankrupt Bohai Steel Group Ltd, is demanding that Bohai's creditors and strategic investor implement a bankruptcy restructuring plan by the end of September, two creditor sources with direct knowledge of the matter
Read more