Download MetaTrader 5

Why does zigzag indicator behave like this?

To add comments, please log in or register
olzonpon
305
olzonpon 2013.08.04 15:54 

Hi

Can someone explain me why the zigzag indicator behave like this?


The red line is the zigzag, and the blue line should be the zigzag movement in my opinion, or m i wrong?

zigzag

Etienne Chabert
249
Etienne Chabert 2013.08.04 16:23  
olzonpon:

Hi

Can someone explain me why the zigzag indicator behave like this?


The red line is the zigzag, and the blue line should be the zigzag movement in my opinion, or m i wrong?


Witch ZigZag are you using ?

Are you using the default parameters ? 

olzonpon
305
olzonpon 2013.08.04 16:39  
wizmoisa:

Witch ZigZag are you using ?

Are you using the default parameters ? 

Nope

dep 100

dev 5

back 3

Ziheng Zhuang
1776
Ziheng Zhuang 2013.08.06 19:59  

I also encountered the same problem long long ago,I think it is related to the algorithm.

You may try the attached zigzag2.

Files:
ZigZag2.mq4 4 kb
Alain Verleyen
Moderator
31134
Alain Verleyen 2013.08.07 11:01  
olzonpon:

Hi

Can someone explain me why the zigzag indicator behave like this?


The red line is the zigzag, and the blue line should be the zigzag movement in my opinion, or m i wrong?


Can you post details to reproduce your problem, which version of the indicator ? Which symbol, period ?
olzonpon
305
olzonpon 2013.08.16 10:37  
angevoyageur:
Can you post details to reproduce your problem, which version of the indicator ? Which symbol, period ?

I just made a screenshot, cant remember the symbol and time. But it is the standard Zigzag indicator that comes with MT4 "sry wrong forum" .


This errors often appear in strategy tester, i will try finding the same error again and post it.

Arturo Lopez Perez
162715
Arturo Lopez Perez 2013.08.17 14:24  
olzonpon:

Hi

Can someone explain me why the zigzag indicator behave like this?


The red line is the zigzag, and the blue line should be the zigzag movement in my opinion, or m i wrong?


The same happens in MT4 with small depth periods.
olzonpon
305
olzonpon 2013.09.02 07:39  
angevoyageur:
Can you post details to reproduce your problem, which version of the indicator ? Which symbol, period ?

Version of indicator:

  Zigzag.mq4 |
//|                 Copyright © 2005-2007, MetaQuotes Software Corp. |
//|                                       http://www.metaquotes.net/ |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2007, MetaQuotes Software Corp."

#property link      "http://www.metaquotes.net/"


Zigzag inputs:

depth 98

dev 5

back 3



Backtesting period: 2013.08.29 - 2013.09.03 Period: H1 Symbol: EURUSD

z


MetaTrader 5 Trading Platform / MetaQuotes Software Corp.
  • www.metaquotes.net
MetaTrader 5 trading platform designed to arrange brokerage services in Forex, CFD, Futures, as well as equity markets
Alain Verleyen
Moderator
31134
Alain Verleyen 2013.09.02 07:51  
olzonpon:

Version of indicator:

  Zigzag.mq4 |
//|                 Copyright © 2005-2007, MetaQuotes Software Corp. |
//|                                       http://www.metaquotes.net/ |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2007, MetaQuotes Software Corp."

#property link      "http://www.metaquotes.net/"

...
This forum is about MT5/mql5, please post your question about MT4/mql4 on mql4.com forum.
MQL4: automated trading forum
  • www.mql5.com
MQL4: automated trading forum
To add comments, please log in or register