Mt4 has a standard one you can use

Sister Sites

Fractal Zig Zag EAs on 5 pip Renko Bricks 116 replies

Zig Zag Expert Advisor Problem 5 replies

Zig Zag Help 1 reply

Zig and Zag - anyone tried this indicator? 5 replies

Zig Zag 3 replies

- Joined Jan 2011 | Status: Member | 1,299 Posts

DislikedHello all.

I am very bad programming I tried changing the zigzag "sangmane" but I have a problem I can not solve a.

I try to calculate the mean of X to swing spilled statistics but my problem is that on the last swing as ZZ repainted it distorts all the calculations so how.

I'll explain exactly what I want to do.

I try to calculate the average of the high and low swing swing number is a parameter to calculate.

Can you help me?

Here is the code that is not good that I have done cat I'm no programming.

sorry for my english I'm French.

cordially

FRENCH

Bonjour...Ignored

Only the last leg repaints so why do you include that in your calculation if that's what's distorting it?

only the last swing repainted all the other swings provide guidance very very important if you know how to interpret, I know, but I'm not programmed.

I want to calculate the average and many other things, but if I find out how to average the rest I could do.

as the last swing he painted find how faudrais update the amount and I do not know.

Can you help me please?

thank you

- Joined Jan 2011 | Status: Member | 1,299 Posts

Disliked

only the last swing repainted all the other swings provide guidance very very important if you know how to interpret, I know, but I'm not programmed.

I want to calculate the average and many other things, but if I find out how to average the rest I could do.

as the last swing he painted find how faudrais update the amount and I do not know.

Can you help me please?

thank youIgnored

It would make it easier if all the coding was in English as in order to help I have to translate.

sorry but I use google translate.

I'll translate what I want into the program immediately.

in the program sangmane I added lots of test to try to correct the error when the last swing repainted but it does not work.

to get the right values I require to restart the indicator and the values are good and I do not understand why when I raise the indicator values are good.

thank you for your help.

- Joined Jan 2011 | Status: Member | 1,299 Posts

Disliked

only the last swing repainted all the other swings provide guidance very very important if you know how to interpret, I know, but I'm not programmed.

I want to calculate the average and many other things, but if I find out how to average the rest I could do.

as the last swing he painted find how faudrais update the amount and I do not know.

Can you help me please?

thank youIgnored

You were focusing on d1 and d2 when it's really d2 and d3. Those are the non-repainting values. All you have to do is figure out how to only add those values to the array once as it gets added multiple times. As far as I know MT4 does not have a built-in function to either dedupe an array or to check a value that may already exist.

Attached File

ZZ-TEST_STATS.mq4 12 KB | 1,062 download

- | Joined Nov 2010 | Status: Member | 23 Posts

Hello sir

Was going through the thread regarding zigzag with value bars.

I wanted to find out if its possible to have number of bars described with up down for example pips/number of bars/number of up bars/number of down bars.

Or u can delete number of bars and just have pips/number of up bars/number of down bars

Thanx

With Regards

Suresh

Was going through the thread regarding zigzag with value bars.

I wanted to find out if its possible to have number of bars described with up down for example pips/number of bars/number of up bars/number of down bars.

Or u can delete number of bars and just have pips/number of up bars/number of down bars

Thanx

With Regards

Suresh

- | Joined Nov 2010 | Status: Member | 23 Posts

DislikedHello sir

Was going through the thread regarding zigzag with value bars.

I wanted to find out if its possible to have number of bars described with up down for example pips/number of bars/number of up bars/number of down bars.

Or u can delete number of bars and just have pips/number of up bars/number of down bars

Thanx

With Regards

SureshIgnored

is this thread inactive?

- | Joined Nov 2010 | Status: Member | 23 Posts

Disliked

Was going through the thread regarding zigzag with value bars.

I wanted to find out if its possible to have number of bars described with up down for example pips/number of bars/number of up bars/number of down bars.

Or u can delete number of bars and just have pips/number of up bars/number of down bars

Thanx

With Regards

SureshIgnored

Plz if u happen to read this....plz help

- | Joined Nov 2010 | Status: Member | 23 Posts

Disliked

Was going through the thread regarding zigzag with value bars.

I wanted to find out if its possible to have number of bars described with up down for example pips/number of bars/number of up bars/number of down bars.

Or u can delete number of bars and just have pips/number of up bars/number of down bars

Thanx

With Regards

SureshIgnored

Dear Sangmane.......

plz if u happen to read this....plz help me

This indicator and the last development are really interesting.

It could be really helpful to identify a change in momemtum.

I have tried to add a few extra features to improve the various information’s available, especially:

- To add an option to select the number of bars for the calculation

- To calculate the information without the last 2 swings to identify a change in the momentum

http://img15.hostingpics.net/pics/331208Capture.jpg

I am stuck for the moment, the indicator is not working. If anybody can help, would be really appreciated.

Thanks

- | Joined May 2011 | Status: Member | 222 Posts

values for each leg.I want convert the amount of pips and candles for each leg as well.I am using the below script.Can anyone help?Thanks.

Attached File

FXPT_CSV3_Modified.mq4 6 KB | 1,035 download

I have a question concerning the zigzag indicator that came with the metatrader 4 platform.

How do I change the minimum percentage price change parameter ???

The only changeable parameters I see are:

ExtDepth: default value = 12

ExtDeviation default value=5

ExtBackstep default value=3

Thankss Guys..

I am writing from Italy and my english is not so good.

I thank you very much because you have done a great work with the zig zag listed in the 3D. So I would like to know if it's possible someone of you (expert coders) to implement a zig zag that plots:

the date of each swing (DD-MM-YY)

the price value of each swing

the price value of each range between two swings

the number of trading bars between two swings

the number of calendar days between two swings (so included holidays and week end)

the number of calendar hours between two swing (included week end hours)

If it will be possible it would be a great work and help for me. When it is not possible, thanks a lot anyway for the past work that I read in this discussions.

Dislikedhere's a mod that i did to SangMane's AddZZLegLength indicator so that the pip value and the % value are displayed. I'm VERY new to coding though (in fact this is my first attempt) so check i've not made any glaring errors before using this. MJL {file}Ignored

- | Joined Mar 2015 | Status: Member | 7 Posts

Sorry to bump this old thread.

Can anyone tell me how can I modify inputs or the code itself to make the ZigZag WithValue indi draw line (and pip value) only if the distance from the previous high/low is greater than x amount of pips? I wanted to change it so it only draws a new high if previous low was more than 7 pips away and the reverse for drawing low - if previous high is more than 7 pips away..

Thanks in advance for any help!

Can anyone tell me how can I modify inputs or the code itself to make the ZigZag WithValue indi draw line (and pip value) only if the distance from the previous high/low is greater than x amount of pips? I wanted to change it so it only draws a new high if previous low was more than 7 pips away and the reverse for drawing low - if previous high is more than 7 pips away..

Thanks in advance for any help!