Download MetaTrader 5

parameters in ZigZag?

To add comments, please log in or register
joshatt
342
joshatt  

Hi,

Looking into ZigZag code, there're 3 parameters:

extern int ExtDepth=12;

extern int ExtDeviation=5;

extern int ExtBackstep=3;

What do they mean? Apparently it's not what I'm thinking ---- for example, when price moves more than 30 pips, it begins to draw a swing high/low. But from a beginer's eyes, there's no such thing in the code, but only the three parameters.

Thanks.

Simon Gniadkowski
Moderator
18056
Simon Gniadkowski  
joshatt:

Hi,

Looking into ZigZag code, there're 3 parameters:

extern int ExtDepth=12;

extern int ExtDeviation=5;

extern int ExtBackstep=3;

Take a look at the ZigZag source code . . . https://www.mql5.com/en/code/7796
joshatt
342
joshatt  

Thank you for your help. I'm trying to understand the source code, but it's making me dizzy.

Let me put it this way: is there any other indicator substitute for ZigZag, with a parameter "30 pips"?

Simon Gniadkowski
Moderator
18056
Simon Gniadkowski  
joshatt:

Thank you for your help. I'm trying to understand the source code, but it's making me dizzy.

Let me put it this way: is there any other indicator substitute for ZigZag, with a parameter "30 pips"?

What is 30 pips meant to represent ?
szgy74
265
szgy74  
RaptorUK:
What is 30 pips meant to represent ?


minimum price move between 2 points.
joshatt
342
joshatt  
szgy74:

minimum price move between 2 points.


Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Detect language Dutch English Estonian Filipino Finnish French Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latin Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh YiddishAfrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latin Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish
English (auto-detected) » Chinese (Simplified)

Yes, I mean hight between swing high and low.
joshatt
342
joshatt  
szgy74:

minimum price move between 2 points.

Yes, I mean hight between swing high and low.
To add comments, please log in or register