Rule grid
Updated 2026-09-20
Definition
The set of all combinations of the values chosen for the parameters of a rule, tried one by one on the same data.
Why it matters
The number of rules is the product of the values of each parameter: every added value multiplies it. It must be fixed and written before looking at the results, and all the results must be saved, not just the best.
Practical example
5 lengths × 4 stops × 4 targets × 3 durations × 2 directions = 480 rules and 108,309 trades in all.
Learn more
Course lesson: What a backtest isRelated entries
Want to compare notes with other traders?
Join the community to share ideas and questions, or the free signal room on Telegram.
Educational content, not financial advice. Trading involves risk.