ZIG
- zig-zag indicator

Basic price pattern detection
(AmiBroker 3.10)


SYNTAX zig(ARRAY, change )
RETURNS ARRAY
FUNCTION Calculates the minimum % change Zig Zag indicator. Caveat: this function is based on Zig-Zag indicator and may look into the future - this means that you can get unrealistic results when back testing trading system using this indicator. This function is provided rather for pattern and trend recognition formulas.
EXAMPLE zig(close,5)
SEE ALSO

References:

The ZIG function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.