Navigation: Realtest Script Language > Syntax Element Details > MaxSetups Category Strategy Elements Description Caps the number of entry setups per day when a strategy has more setups than can be entered Input Any formula that returns a count Notes MaxSetups is applied before any other capacity constraints. After building the list of symbols that meet the EntrySetup conditions, the list is sorted by SetupScore. The setup list is then truncated at MaxSetups. The only common use case for this constraint is to make tests run faster by trimming the setup list before processing the setups. See Also: Backtest Engine Details and Capacity Constraints Copyright © 2020-2025 Systematic Solutions, LLC