Navigation: Realtest Script Language > Syntax Element Details > CorrelMin Category Multi-Bar Functions Description Lowest correlation of a stock to a group of stocks Syntax CorrelMin(filter, expr, count, spearman {0}, log {0}) Parameters filter - stock filter formula expr - value to correlate count - lookback period spearman {0} - use Spearman's Rank Correlation method (default is to use Pearson's Correlation) log {0} - log the individual correlations when the formula is evaluated Notes CorrelMin(InDJI, ROC(C,1), 20) would return the lowest 20-bar correlation of any DJIA constituent to the current stock. See also Correl, Spearman, CorrelAvg, CorrelMed, CorrelMinSym, CorrelMax, CorrelMaxSym Copyright © 2020-2025 Systematic Solutions, LLC