Home | Trading Alchemy Manual | Alchemy Functions IndexAlchemyZigZagPnts (Function)AlchemyZigZagPnts function returns the values for the Alchemy TrendVolumeZigZagPnts indicator. AlchemyZigZagPnts (Price,RetracePnts,LineColor,LineWidth,LineStyle,oNum) Parameters
|
Price(numericseries) | Specifies the price to be used for determining the zig zag points swing lines. |
RetracePnts(numeric) |
Specifies the maximum retracement points in order for the swing to change directions. A negative value uses the alternative trend calculation method that determines the trend by highest or lowest closes over a specified period, which also disables the Zig Zag Points swing lines. |
LineColor(numeric) | Specifies the color of the Zig Zag Points swing lines. A negative value disables the Zig Zag Points swing lines. |
LineWidth(numeric) | Specifies the width of the Zig Zag Points swing lines. A negative value disables the Zig Zag Points swing lines. |
LineStyle(numeric) | Specifies the style of the Zig Zag Points swing lines. A negative value disables the Zig Zag Points swing lines. |
oNum(numericarrayref) |
A one dimensional numeric array reference that receives the following values: 1: Swing status, whereas a value of -2 signifies a new low, a value of -2 signifies a new down swing, a value of 0 signifies no new swings being made, a value of 1 signifies a new up swing and a value of 2 signifies a new high. 11: Swing start price. 12: Swing start bar. 21: Swing end price. 22: Swing end bar. |
ReturnsThe AlchemyZigZagPnts function returns 1 for an up trend and it returns -1 for a down trend. Home | Trading Alchemy Manual | Alchemy Functions Index |