MetaStock Highest Bars Ago Function

by David Jenyns on June 1, 2007

MetaStock Highest Bars Ago Function
The Highest Bars Ago function returns the number of periods that have passed since the highest value within the selected `data array.’ It’s important to note that this includes the entire data loaded into the chart. For example, assume you have six years of history loaded in your chart. If you were to code the highest bars ago function with the data array set to the close, Metastock will search through the whole six years for the highest closing value. It will then count the number of periods since this occurred and return this value.


Previous post:

Next post: