Category
MultiBar Functions
Description
Count of bars since the nth most recent trough of a series of prices or other values
Syntax
TroughBars(expr, pctChg, nth {1})
Parameters
expr  data series formula
pctChg  percent change required to delimit peaks and troughs
nth  which trough to locate (1, i.e., most recent if omitted)
Notes
The definition of a Trough is the lowest value which is then followed by one or more values that are at least n% above that most recent low.
See Peak for important additional information about how these functions work in RealTest.
