|
Description |
|
|
|
Formula |
VHFStudy(Series, Periods=200)=begin val2 = RMin($1,periods) val3 = RSum(Abs(Diff($1.last, $1.last[1])), Periods) retval = NONUM
if val1 != NONUM AND val2 != NONUM AND val3 != NONUM then begin retval = Divide(Diff(val1, val2), val3) end retval end |
|
|
Parameters |
SERIES The SERIES directive makes this formula available as a Formula Study. SERIES refers to the instrument in a chart. SERIES does not become a study parameter.
Periods The Periods parameter specifies the length, or number of periods, to evaluate. The default is 200 bars. |
|
|
Return Value |
|
|
|
Examples |
NA |
|
|
Comments |
NA |
©2008 Aspen Research Group, Ltd. All rights reserved. Terms of Use.