1. Risk
Start with position sizing, stop loss, and exposure. If drawdowns are unacceptable, no entry logic will save the strategy.2. Exits
Exits define how trades resolve. If exits are vague or inconsistent, optimization only amplifies noise.3. Frequency & exposure
Too many trades or too much time in the market can distort results. Control the behavior before fine-tuning entries.4. Entries
Only once behavior is sane should you refine entry logic.5. Parameters
Parameter tweaks are last. They are least meaningful without a stable base.