Discussion of article "The ZigZag Indicator: Fresh Approach and New Solutions"

MetaQuotes
Moderator
232804
MetaQuotes  

New article The ZigZag Indicator: Fresh Approach and New Solutions is published:

The article examines the possibility of creating an advanced ZigZag indicator. The idea of identifying nodes is based on the use of the Envelopes indicator. We assume that we can find a certain combination of input parameters for a series of Envelopes, whereby all ZigZag nodes lie within the confines of the Envelopes bands. Consequently, we can try to predict the coordinates of the new node.

Every trader surely knows the ZigZag indicator intended for the analysis of price movements of given or greater amplitude. A ZigZag line is a broken line whose nodes are located at highs and lows of the price chart.

There are many variations of this indicator. Yet, a lot of MQL5 program developers are keen on creating their own 'ideal' ZigZag.

We will set an objective: to find coordinates of two nodes - the current and the predicted node (Fig. 1). The current node is a node that is not yet completed whose coordinates are still being searched for or adjusted. Moreover, it is always on the current (zero) bar. While being in the future, a predicted node must show the estimated level of the next ZigZag node.

Predicting new ZigZag nodes

Fig. 1. Predicting new ZigZag nodes: the current node and the next node.


Author: Sergey Pavlov

graziani
2258
graziani  
Bravo Sergey!
Kourosh Davallou
68497
Kourosh Davallou  
good 
Paulo Oliveira
Moderator
2892
Paulo Oliveira  

No Work!

See:

 

Sergey Pavlov
14792
Sergey Pavlov  
PauloBrasil:

No Work!

See:

 

The files must be copied as follows:

 

Paulo Oliveira
Moderator
2892
Paulo Oliveira  
DC2008:

The files must be copied as follows:

 


Thanks by your answer! :-D

But was exactly what I did,  see the picture. It continues not compiling with 80 errors

 

Sergey Pavlov
14792
Sergey Pavlov  
PauloBrasil:

Thanks by your answer! :-D

But was exactly what I did,  see the picture. It continues not compiling with 80 errors

 

The compiled file indicator 

Files:
two_Comets.ex5  23 kb
Laurentiu Octavian Niculescu
6720
Laurentiu Octavian Niculescu  
PauloBrasil:

Thanks by your answer! :-D

But was exactly what I did,  see the picture. It continues not compiling with 80 errors

 

Hi Paulo,

If you have windows7, maybe the terminal you are using is inside this folder:

C:Users\PauloBrasil\AppData\Roaming\MetaQuotes\Terminal\D84965498somethigStrange\MQL5\ ...

Try to search this way and let us know. 

Laurentiu Octavian Niculescu
6720
Laurentiu Octavian Niculescu  

Form your editor go check where your indicators are really stored

1. mouse Right click on indicator source file

2. Left click on Properties 

 

 3. Select the Location value copy and paste in windows explorer address bar

 

galafron
136
galafron  

Through Tester it seems no to work correctly

two_comets on Tester

Sergey Pavlov
14792
Sergey Pavlov  
galafron:

Through Tester it seems no to work correctly

 

The indicator uses 454 indicators iMA!!!