Navigation: Realtest Script Language > Syntax Element Details > Trough Category Multi-Bar Functions Description Value of the nth most recent trough of a series of prices or other values Syntax Trough(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. Copyright © 2020-2025 Systematic Solutions, LLC