ZigZag peaks and depths

To add comments, please log in or register
avc
12
avc  

Hi……..i am not programmer I am learning MQL4 language 1st of all I would like to thanks the ppl here like “Coder’sGuru” and many other who helps ot

I am going to find peaks and depths in the zigzag indicator for plotting different drawings such as Fibonacci Levels, Pitch Forks, Trendlines etc.

In 1st I need the DynamicFibo and Static Fibo drawing like “ZUP_v73

Its working in indicator, but the problem is its not working in EA the same code which is working in indicator.

I am attaching the indicator and EA if anyone helps me that will be highly appreciated

Files:
Nadeem
1851
Nadeem  

You forgot the attachment...

avc
12
avc  

Re: ZigZag peaks and depths

Files:
Nazoréen
77
Nazoréen  

Hello,

It could be better to use iCustom in your EA to call your indicator.

iCustom ( Symbol ( ) , Period ( ) , "DT_ZZ_Indicator" , 12 , 0 , i ) ;

The variable "12" is the "ExtDepth" of your indicator, you could choose different from your EA.

The variable "0" is the buffer.

The variable "i", is for timeframe (in bars) if you use it in a boucle "for"

Have a nice day !

avc
12
avc  

Thankzzz nazoreen

i will try .....

willks
6
willks  

Hi everyone, i just want to make a shout out to everyone in this forum.

Egudu.

To add comments, please log in or register