VH F EA
This software component for MetaTrader 5 is built to enhance the capabilities of your trading environment. This Expert Advisor serves as automated trading software. It is utilized to monitor financial markets and execute trades based on predefined algorithmic rules, enabling precise position management without the need for constant manual oversight.
How to Setup and Use VH F EA
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
Description & Settings
The EA trades on custom indicator :
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:
VHF values can be used to measure the prices direction. THe higher is VHF, the more stable is a trend.
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.
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.
Parameters:
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