Navigation: Realtest Script Language > Syntax Element Details > MinN Category General-Purpose Functions Description Nth Smallest of a group of values Syntax MinN(N, value1, value2, ...) Parameters N - number from 1 to count of values value1 - any formula value2 - any formula ... - any number of additional comma-separated formulas Notes This function evaluates each of the formulas passed to it and returns the Nth smallest value found. MinN(1, value1, value2) is the same as Min(value1, value2). Example SecondLow: MinN(2, O, H, L, C) The second-lowest of today's OHLC values. Copyright © 2020-2026 Systematic Solutions, LLC