Home | Trading Alchemy Manual | Alchemy Functions IndexAlchemyHookPivot (Function)AlchemyHookPivot is a multiple-output function that returns the values of a pivot point that is associated with a hook. AlchemyHookPivot(HiLo, HiPrice, LoPrice, MinHook, oHiPivot, oPivotHi, oPivotHiBar, oDownHookHi, oDownHookBar, oDownHookSlope, oLoPivot, oPivotLo, oPivotLoBar, oUpHookLo, oUpHookBar, oUpHookSlope) Parameters
|
HiLo |
A positive value looks for pivot highs only. A negative value looks for pivot lows only. 0 looks for both pivot highs and pivot lows. |
HiPrice |
Specifies the value to use for pivot highs. |
LoPrice |
Specifies the value to use for pivot lows. |
MinHook |
Specifies the minimum slope to qualify for a hook. |
oHiPivot |
Variable that receives 1 if a pivot high is made. |
oPivotHi |
Variable that receives the value of the pivot high. |
oPivotHiBar |
Variable that receives the bar number of the pivot high. |
oDownHookHi |
Variable that receives the value of the high of the down hook |
oDownHookBar |
Variable that receives the bar number of the down hook |
oDownHookSlope |
Variable that receives the slope of the down hook. |
oLoPivot |
Variable that receives 1 if a pivot low is made. |
oPivotLo | Variable that receives the value of the pivot low. |
oPivotLoBar | Variable that receives the bar number of the pivot low. |
oUpHookLo | Variable that receives the value of the low of the up hook |
oUpHookBar | Variable that receives the bar number of the up hook |
oUpHookSlope | Variable that receives the slope of the up hook. |
ReturnsAlchemyHookPivot returns 1 when a pivot high associated with a down hook is made and returns -1 when a pivot low associated with an up hook is made. The values of oHiPivot, oPivotHi, oPivotHiBar, oDownHookHi, oDownHookBar, oDownHookSlope, oLoPivot, oPivotLo, oPivotLoBar, oUpHookLo, oUpHookBar, oUpHookSlope are passed by reference back to the calling function or technique. UsageThis function is used to find pivot points that are associated with hooks and all of their associated values. |