MQL4 - automated forex trading   /  

Code Base

Code Base  Indicators  ZigZag To post a new code, please log in or register

Download MetaTrader 5 and visit MQL5.community Code Base
and Trade on the Go!
Prepare for the Championship
Couldn't find the right code? Order it in the Jobs section

This library is for
MetaTrader 4
Download MT 4 - 455 Kb

and Trade on the Go!

Name:
ZigZag
Author: MetaQuotes (2005.11.29 12:56)
Downloaded: 6416
Download:
 zigzag.gif (10.0 Kb)
 ZigZag.mq4 (4.0 Kb) View

    ZigZag Indicator tracks and connects extreme points of the chart, the distance between these points being equal or higher than the percentage specified for the price scale.

    Depth is the minimal amount of bars where there will not be the second maximum (minimum) Deviation pips higher or lower than the previous one. I.e., ZigZag can always diverge, but it can converge (or completely draw together) more than at the Deviation value only after Depth bars. Backstep is the minimal amount of bars between maximums/minimums.

    After the ZigZag has captured the lowest point, it starts to search for the turn point until the rollback down from the maximum value exceeds the parameter. As soon as rollover down exceeds the parameter, the second (in this case, the upper) point is considered for captured, and ZigZag starts to search for the third one (in this case, for the lower one), etc.


Technical Indicator Description

Full description of ZigZag is available in the Technical analysis: ZigZag

1 comment  To post a new comment, please log in or register

I want to know how to use zigzag pointer

13.04.2010 20:06 678910