Navigation: Realtest Script Language > Syntax Element Details > TradeStatMax Category Trade Statistics Functions Description The largest of trade record values for the most recent N trades or for all trades Syntax TradeStatMax(value, count, symbol) Parameters value - trade value formula count - number of recent trades to include, or all trades if omitted symbol - specific symbol to include, or all symbols if omitted Notes See the link above for important information about this function category. Copyright © 2020-2025 Systematic Solutions, LLC