The article deals mainly with the construction methodology and one of the basic Expert Advisors is made on its basis.
Why 2% profit percentage? Let's take Euro, profit 117.20 on 10 000 and drawdown 0.69%. With a lot 10 times bigger or a deposit of 1000 the profit would be 17.2%, with a drawdown of 6.9%. But this is only in this EA and with these settings. If desired, this profit can be increased by an order of magnitude.
The current call of the standard zigzag in the indicator does not work. Error 4802. It should be changed to
ZZ_handle=iCustom(_Symbol,_Period,"Examples\\ZigZag",ExtDepth,ExtDeviation,ExtBackstep);
In general, a big plus for the implementation of the idea, there is something to work on and twist.
The current call of the standard zigzag in the indicator does not work. Error 4802. It should be changed to
ZZ_handle=iCustom(_Symbol,_Period,"Examples\\ZigZag",ExtDepth,ExtDeviation,ExtBackstep);
In general, a big plus for the implementation of the idea, there is something to work on and twist.
Replaced the attached file Trendlines.mq5, thanks.
Quote:"Support and resistance lines are built through local maximums and minimums of price charts" and add from me, for example, "for the last 120 minutes". All the rest of the text can be thrown out, and about ZigZag, and about MACD, etc. Simplify the scheme. 100 indicators are like 100 people carrying one bucket of water together, you can't carry it a hundred times faster. Even if you listen to me, you will get only a BB indicator.
A few years ago I came to the conclusion that you should build by bodies[Open <> Close], not [High <> Low]
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article Automatic construction of support and resistance lines has been published:
The article deals with automatic construction of support/resistance lines using local tops and bottoms of price charts. The well-known ZigZag indicator is applied to define these extreme values.
Support and resistance lines are plotted via local peaks and bottoms of price charts. To determine these extreme values, we will apply the well known ZigZag indicator. We can set the necessary properties for support and resistance lines in its inputs.
The scale of lines can be changed using the parameters of the ZigZag indicator, but you can apply the same parameters on different timeframes. This allows us to obtain the extreme values we need to build support and resistance levels.
The images below show how the extreme values change with the change of a timeframe. The first image displays the minute chart encompassing a period of thirty minutes, the second one covers four hours.
Author: Vladimir Mametov