Basic price pattern detection
|SYNTAX||zig(ARRAY, change )|
|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.|
The ZIG function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.