• 概述
  • 评论
  • 评论 (1)
  • 新特性

ZigZag Global

Description

A colored universal multicurrency/multi-symbol indicator ZigZag to be drawn in a separate window below the main financial instrument.

The indicator may be used with any broker, irrespective of the name of the financial instrument since it is necessary to manually enter the name as an input parameter. If you enter a non-existent or incorrect name of a financial instrument, you will receive an error message that this financial instrument is unknown (does not exist). 

The indicator can be calculated based on one of the thirteen basic indicators included in the standard package of the MetaTrader 4 terminal:

  1. AD - an indicator of accumulation and distribution of volume.
  2. OBV - On Balance Volume.
  3. Volume - tick volume indicator.
  4. Force - Force Index indicator.
  5. MFI - Money Flow Index.
  6. ATR - Average True Range.
  7. Momentum.
  8. Moving Average.
  9. CCI - Commodity Channel Index.
  10. RSI - Relative Strength Index.
  11. ADX - Average Directional Movement indicator.
  12. DeMarker.
  13. Standard Deviation.
  14. WPR - Bill Williams oscillator.

The default indicator is AD - an indicator of accumulation and distribution of volume.

The ZigZag line and the rising and falling lines of the basic indicator can be colored.


Purpose

The indicator can be used for manual or automated trading in an Expert Advisor. Values of indicator buffer of the double type can be used for automated trading: 

  1. The line of the ZigZag indicator - buffer 0.
  2. The bullish line of the basic indicator - buffer 1, must not be equal to zero.
  3. The bearish line of the basic indicator - buffer 2, must not be equal to zero.
  4. The main line of the basic indicator - buffer 3.

For a more in-depth analysis the indicator can be used in combination with the ZigZag indicator of the main chart.


Inputs

  1. Currency_Name - the name of the financial instrument.
  2. Calc_Method - the index of the indicator, based on which the ZigZag indicator will be calculated (0 to 13). By default, i.e. more than 13 - based on the AD indicator.
  3. Periods - the period for calculating the basic indicator, based on which the ZigZag indicator will be calculated.
  4. MA_Method - averaging method for the MA of the basic indicator:
    1. MODE_SMA - 0.
    2. MODE_EMA - 1.
    3. MODE_SMMA - 2.
    4. MODE_LWMA - 3.
  5. Applied_Price - the used price of the basic indicator:
    1. PRICE_CLOSE - 0.
    2. PRICE_OPEN - 1.
    3. PRICE_HIGH - 2.
    4. PRICE_LOW - 3.
    5. PRICE_MEDIAN - 4.
    6. PRICE_TYPICAL - 5.
    7. PRICE_WEIGHTED - 6.
  6. Mode - the index of the line (MAIN - 0 or SIGNAL - 1) of the basic indicator, based on which ZigZag will be calculated.
  7. Shift - the sift of the basic and calculation indicator relative to the price chart.
  8. ExtDepth - the minimum bars, for which the second minimum or maximum will not be constructed, if the last one is ExtDeviation greater than or less than the previous one by.
  9. ExtDeviation - the minimum number of points as a percentage between the maximum and minimum of two neighboring bars to form a local maximum or minimum.
  10. ExtBackstep - the minimum number of bars between the local maximal or minimal values.


Plotting

For some basic indicators, internal horizontal lines are constructed between the maximum and minimum. The lines of the maximum and minimum must be set manually. For example, for RSI - 0 and 100, for DeMark - 0 and 1.  

When you change, that is recalculate indicators,maximum and minimum lines of the previous indicator should be changed or disabled, internal lines should be deleted.

The simple procedure is shown in the video. To simplify the procedure, remove the previous indicator from the window and attach the new one.

无评论
版本 1.23 - 2014.10.24
User's interface has been improved.
版本 1.22 - 2014.09.08
Changed the way the lines are colored.